diff --git a/Notebook1/MRS_Notebook1.ipynb b/Notebook1/MRS_Notebook1.ipynb index b5d6079..bc5c0bc 100644 --- a/Notebook1/MRS_Notebook1.ipynb +++ b/Notebook1/MRS_Notebook1.ipynb @@ -24,7 +24,7 @@ "source": [ "**Author**: David Law, AURA Associate Astronomer, MIRI branch\n", "
\n", - "**Last Updated**: June 18, 2021\n", + "**Last Updated**: July 1, 2021\n", "
\n", "**Pipeline Version**: 1.1.0" ] @@ -177,7 +177,7 @@ }, { "cell_type": "markdown", - "id": "71b7a7e2", + "id": "aac19e99", "metadata": {}, "source": [ "Set our CRDS context for reference files (see https://jwst-crds.stsci.edu/)\n", @@ -241,7 +241,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "db56d20d", + "id": "6d678f54", "metadata": {}, "outputs": [], "source": [ @@ -265,16 +265,26 @@ { "cell_type": "code", "execution_count": 4, - "id": "6a17ab4e", + "id": "c400627e", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "JWST pipeline version 1.1.0\n" + ] + } + ], "source": [ "# Import the base JWST package and warn if not the expected version\n", "import jwst\n", "\n", "if jwst.__version__ != '1.1.0':\n", " warnings.warn(f\"You are running version {jwst.__version__} of the jwst \"\n", - " \"module instead of the intended 1.1.0.\")" + " \"module instead of the intended 1.1.0.\")\n", + "else:\n", + " print('JWST pipeline version',jwst.__version__)" ] }, { @@ -289,7 +299,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:04:07,928 - stpipe - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/photutils/detection/findstars.py:33: AstropyDeprecationWarning: _StarFinderKernel was moved to the photutils.detection._utils module. Please update your import statement.\n", + "2021-07-01 16:35:01,761 - stpipe - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/photutils/detection/findstars.py:33: AstropyDeprecationWarning: _StarFinderKernel was moved to the photutils.detection._utils module. Please update your import statement.\n", " warnings.warn(f'{name} was moved to the {deprecated[name]} module. '\n", "\n" ] @@ -328,25 +338,6 @@ "from jwst.datamodels import dqflags" ] }, - { - "cell_type": "code", - "execution_count": 6, - "id": "40857f4d", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "JWST pipeline version 1.1.0\n" - ] - } - ], - "source": [ - "# Print out what pipeline version we're using\n", - "print('JWST pipeline version',jwst.__version__)" - ] - }, { "cell_type": "markdown", "id": "5554a507", @@ -357,10 +348,12 @@ }, { "cell_type": "markdown", - "id": "b37eb3b6", + "id": "ef60f437", "metadata": {}, "source": [ - "Data can be obtained from https://stsci.app.box.com/s/ejgvgnycjm43f62i98gbymmfu2lknhyf
\n", + "Input data for this notebook MUST be downloaded from Box prior to running the rest of this notebook!\n", + "\n", + "Data can be obtained from https://stsci.box.com/s/ejgvgnycjm43f62i98gbymmfu2lknhyf
\n", "Since the contents of this Box directory are quite large (roughly 3 GB, including multiple inputs, outputs, and intermediate products), downloading the data for home use is left to the user in whichever means they determine to be best.\n", " \n", "By default, the contents of this Box directory are assumed to be in the same directory as this notebook. However, it is also possible to install them in another location and use this as a cache of pre-reduced results against which new reductions can be compared." @@ -368,8 +361,8 @@ }, { "cell_type": "code", - "execution_count": 7, - "id": "70a53b19", + "execution_count": 6, + "id": "b6a21667", "metadata": {}, "outputs": [], "source": [ @@ -382,8 +375,8 @@ }, { "cell_type": "code", - "execution_count": 8, - "id": "c894ac49", + "execution_count": 7, + "id": "9c7df8b4", "metadata": {}, "outputs": [], "source": [ @@ -412,7 +405,7 @@ }, { "cell_type": "markdown", - "id": "ef2f50f1", + "id": "3f0cb282", "metadata": {}, "source": [ "Since some parts of the pipeline take a long time to run, for a first use of this notebook we will disable those steps and simply copy results out of the cache for informational purposes. In order to run the full pipeline on the data, or to run this notebook on your own simulated data not downloaded from the Box link above, this reprocessing flag will need to be enabled." @@ -420,7 +413,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 8, "id": "c11cf5e9", "metadata": {}, "outputs": [], @@ -457,7 +450,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 9, "id": "fc1a4bff", "metadata": {}, "outputs": [], @@ -468,7 +461,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 10, "id": "c16999b9", "metadata": { "scrolled": false @@ -486,7 +479,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 11, "id": "a3aa2e10", "metadata": { "scrolled": false @@ -509,7 +502,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 12, "id": "c5b7b621", "metadata": { "scrolled": true @@ -541,7 +534,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 13, "id": "a721fd11", "metadata": {}, "outputs": [ @@ -554,7 +547,7 @@ " 'stage1/det_image_seq4_MIRIFUSHORT_12LONGexp1_rate.fits']" ] }, - "execution_count": 14, + "execution_count": 13, "metadata": {}, "output_type": "execute_result" } @@ -569,7 +562,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 14, "id": "c9ed84ea", "metadata": {}, "outputs": [ @@ -597,7 +590,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 15, "id": "e55fe9ee", "metadata": {}, "outputs": [ @@ -607,7 +600,7 @@ "Text(0.5, 0, 'X pixel')" ] }, - "execution_count": 16, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" }, @@ -657,7 +650,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 16, "id": "e74d641c", "metadata": {}, "outputs": [], @@ -669,7 +662,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 17, "id": "6718a236", "metadata": {}, "outputs": [ @@ -677,7 +670,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Runtime so far: 0.6310 seconds\n" + "Runtime so far: 1.0147 seconds\n" ] } ], @@ -736,7 +729,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 18, "id": "c3210f76", "metadata": { "scrolled": true @@ -746,56 +739,56 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:04:09,809 - stpipe.AssignWcsStep - INFO - AssignWcsStep instance created.\n", - "2021-06-18 13:04:09,898 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep running with args ('stage1/det_image_seq1_MIRIFUSHORT_12LONGexp1_rate.fits',).\n", - "2021-06-18 13:04:09,900 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sip_approx': True, 'sip_max_pix_error': 0.25, 'sip_degree': None, 'sip_max_inv_pix_error': 0.25, 'sip_inv_degree': None, 'sip_npoints': 32, 'slit_y_low': -0.55, 'slit_y_high': 0.55}\n", - "2021-06-18 13:04:13,212 - stpipe.AssignWcsStep - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_distortion_0029.asdf', 'filteroffset': None, 'specwcs': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_specwcs_0022.asdf', 'regions': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf', 'wavelengthrange': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_wavelengthrange_0005.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}\n", - "2021-06-18 13:04:14,463 - stpipe.AssignWcsStep - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/gwcs/geometry.py:203: RuntimeWarning: invalid value encountered in remainder\n", + "2021-07-01 16:35:04,124 - stpipe.AssignWcsStep - INFO - AssignWcsStep instance created.\n", + "2021-07-01 16:35:04,196 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep running with args ('stage1/det_image_seq1_MIRIFUSHORT_12LONGexp1_rate.fits',).\n", + "2021-07-01 16:35:04,198 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sip_approx': True, 'sip_max_pix_error': 0.25, 'sip_degree': None, 'sip_max_inv_pix_error': 0.25, 'sip_inv_degree': None, 'sip_npoints': 32, 'slit_y_low': -0.55, 'slit_y_high': 0.55}\n", + "2021-07-01 16:35:08,639 - stpipe.AssignWcsStep - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_distortion_0029.asdf', 'filteroffset': None, 'specwcs': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_specwcs_0022.asdf', 'regions': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf', 'wavelengthrange': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_wavelengthrange_0005.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}\n", + "2021-07-01 16:35:10,326 - stpipe.AssignWcsStep - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/gwcs/geometry.py:203: RuntimeWarning: invalid value encountered in remainder\n", " lon = np.mod(lon, 360.0 * u.deg if nquant else 360.0)\n", "\n", - "2021-06-18 13:04:14,524 - stpipe.AssignWcsStep - INFO - Update S_REGION to POLYGON ICRS 0.000000001 -0.000731840 359.999999999 -0.000731840 359.999999999 0.000693132 0.000000001 0.000693132\n", - "2021-06-18 13:04:14,524 - stpipe.AssignWcsStep - INFO - COMPLETED assign_wcs\n", - "2021-06-18 13:04:15,457 - stpipe.AssignWcsStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits\n", - "2021-06-18 13:04:15,457 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep done\n", - "2021-06-18 13:04:15,512 - stpipe.AssignWcsStep - INFO - AssignWcsStep instance created.\n", - "2021-06-18 13:04:15,665 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep running with args ('stage1/det_image_seq2_MIRIFUSHORT_12LONGexp1_rate.fits',).\n", - "2021-06-18 13:04:15,667 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sip_approx': True, 'sip_max_pix_error': 0.25, 'sip_degree': None, 'sip_max_inv_pix_error': 0.25, 'sip_inv_degree': None, 'sip_npoints': 32, 'slit_y_low': -0.55, 'slit_y_high': 0.55}\n", - "2021-06-18 13:04:18,873 - stpipe.AssignWcsStep - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_distortion_0029.asdf', 'filteroffset': None, 'specwcs': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_specwcs_0022.asdf', 'regions': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf', 'wavelengthrange': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_wavelengthrange_0005.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}\n", - "2021-06-18 13:04:20,141 - stpipe.AssignWcsStep - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/gwcs/geometry.py:203: RuntimeWarning: invalid value encountered in remainder\n", + "2021-07-01 16:35:10,433 - stpipe.AssignWcsStep - INFO - Update S_REGION to POLYGON ICRS 0.000000001 -0.000731840 359.999999999 -0.000731840 359.999999999 0.000693132 0.000000001 0.000693132\n", + "2021-07-01 16:35:10,434 - stpipe.AssignWcsStep - INFO - COMPLETED assign_wcs\n", + "2021-07-01 16:35:12,179 - stpipe.AssignWcsStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits\n", + "2021-07-01 16:35:12,180 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep done\n", + "2021-07-01 16:35:12,286 - stpipe.AssignWcsStep - INFO - AssignWcsStep instance created.\n", + "2021-07-01 16:35:12,523 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep running with args ('stage1/det_image_seq2_MIRIFUSHORT_12LONGexp1_rate.fits',).\n", + "2021-07-01 16:35:12,525 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sip_approx': True, 'sip_max_pix_error': 0.25, 'sip_degree': None, 'sip_max_inv_pix_error': 0.25, 'sip_inv_degree': None, 'sip_npoints': 32, 'slit_y_low': -0.55, 'slit_y_high': 0.55}\n", + "2021-07-01 16:35:19,411 - stpipe.AssignWcsStep - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_distortion_0029.asdf', 'filteroffset': None, 'specwcs': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_specwcs_0022.asdf', 'regions': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf', 'wavelengthrange': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_wavelengthrange_0005.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}\n", + "2021-07-01 16:35:20,563 - stpipe.AssignWcsStep - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/gwcs/geometry.py:203: RuntimeWarning: invalid value encountered in remainder\n", " lon = np.mod(lon, 360.0 * u.deg if nquant else 360.0)\n", "\n", - "2021-06-18 13:04:20,200 - stpipe.AssignWcsStep - INFO - Update S_REGION to POLYGON ICRS 0.000000001 -0.000921354 359.999999997 -0.000921354 359.999999997 0.000503617 0.000000001 0.000503617\n", - "2021-06-18 13:04:20,200 - stpipe.AssignWcsStep - INFO - COMPLETED assign_wcs\n", - "2021-06-18 13:04:21,129 - stpipe.AssignWcsStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits\n", - "2021-06-18 13:04:21,129 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep done\n", - "2021-06-18 13:04:21,184 - stpipe.AssignWcsStep - INFO - AssignWcsStep instance created.\n", - "2021-06-18 13:04:21,337 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep running with args ('stage1/det_image_seq3_MIRIFUSHORT_12LONGexp1_rate.fits',).\n", - "2021-06-18 13:04:21,340 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sip_approx': True, 'sip_max_pix_error': 0.25, 'sip_degree': None, 'sip_max_inv_pix_error': 0.25, 'sip_inv_degree': None, 'sip_npoints': 32, 'slit_y_low': -0.55, 'slit_y_high': 0.55}\n", - "2021-06-18 13:04:24,465 - stpipe.AssignWcsStep - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_distortion_0029.asdf', 'filteroffset': None, 'specwcs': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_specwcs_0022.asdf', 'regions': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf', 'wavelengthrange': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_wavelengthrange_0005.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}\n", - "2021-06-18 13:04:25,710 - stpipe.AssignWcsStep - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/gwcs/geometry.py:203: RuntimeWarning: invalid value encountered in remainder\n", + "2021-07-01 16:35:20,617 - stpipe.AssignWcsStep - INFO - Update S_REGION to POLYGON ICRS 0.000000001 -0.000921354 359.999999997 -0.000921354 359.999999997 0.000503617 0.000000001 0.000503617\n", + "2021-07-01 16:35:20,618 - stpipe.AssignWcsStep - INFO - COMPLETED assign_wcs\n", + "2021-07-01 16:35:21,468 - stpipe.AssignWcsStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits\n", + "2021-07-01 16:35:21,469 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep done\n", + "2021-07-01 16:35:21,524 - stpipe.AssignWcsStep - INFO - AssignWcsStep instance created.\n", + "2021-07-01 16:35:21,646 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep running with args ('stage1/det_image_seq3_MIRIFUSHORT_12LONGexp1_rate.fits',).\n", + "2021-07-01 16:35:21,648 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sip_approx': True, 'sip_max_pix_error': 0.25, 'sip_degree': None, 'sip_max_inv_pix_error': 0.25, 'sip_inv_degree': None, 'sip_npoints': 32, 'slit_y_low': -0.55, 'slit_y_high': 0.55}\n", + "2021-07-01 16:35:24,346 - stpipe.AssignWcsStep - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_distortion_0029.asdf', 'filteroffset': None, 'specwcs': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_specwcs_0022.asdf', 'regions': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf', 'wavelengthrange': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_wavelengthrange_0005.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}\n", + "2021-07-01 16:35:25,524 - stpipe.AssignWcsStep - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/gwcs/geometry.py:203: RuntimeWarning: invalid value encountered in remainder\n", " lon = np.mod(lon, 360.0 * u.deg if nquant else 360.0)\n", "\n", - "2021-06-18 13:04:25,768 - stpipe.AssignWcsStep - INFO - Update S_REGION to POLYGON ICRS 0.000000001 -0.000752386 359.999999998 -0.000752386 359.999999998 0.000672586 0.000000001 0.000672586\n", - "2021-06-18 13:04:25,769 - stpipe.AssignWcsStep - INFO - COMPLETED assign_wcs\n", - "2021-06-18 13:04:26,673 - stpipe.AssignWcsStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits\n", - "2021-06-18 13:04:26,674 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep done\n", - "2021-06-18 13:04:26,742 - stpipe.AssignWcsStep - INFO - AssignWcsStep instance created.\n", - "2021-06-18 13:04:26,889 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep running with args ('stage1/det_image_seq4_MIRIFUSHORT_12LONGexp1_rate.fits',).\n", - "2021-06-18 13:04:26,891 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sip_approx': True, 'sip_max_pix_error': 0.25, 'sip_degree': None, 'sip_max_inv_pix_error': 0.25, 'sip_inv_degree': None, 'sip_npoints': 32, 'slit_y_low': -0.55, 'slit_y_high': 0.55}\n", - "2021-06-18 13:04:30,041 - stpipe.AssignWcsStep - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_distortion_0029.asdf', 'filteroffset': None, 'specwcs': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_specwcs_0022.asdf', 'regions': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf', 'wavelengthrange': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_wavelengthrange_0005.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}\n", - "2021-06-18 13:04:31,218 - stpipe.AssignWcsStep - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/gwcs/geometry.py:203: RuntimeWarning: invalid value encountered in remainder\n", + "2021-07-01 16:35:25,585 - stpipe.AssignWcsStep - INFO - Update S_REGION to POLYGON ICRS 0.000000001 -0.000752386 359.999999998 -0.000752386 359.999999998 0.000672586 0.000000001 0.000672586\n", + "2021-07-01 16:35:25,586 - stpipe.AssignWcsStep - INFO - COMPLETED assign_wcs\n", + "2021-07-01 16:35:26,536 - stpipe.AssignWcsStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits\n", + "2021-07-01 16:35:26,537 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep done\n", + "2021-07-01 16:35:26,591 - stpipe.AssignWcsStep - INFO - AssignWcsStep instance created.\n", + "2021-07-01 16:35:26,753 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep running with args ('stage1/det_image_seq4_MIRIFUSHORT_12LONGexp1_rate.fits',).\n", + "2021-07-01 16:35:26,754 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sip_approx': True, 'sip_max_pix_error': 0.25, 'sip_degree': None, 'sip_max_inv_pix_error': 0.25, 'sip_inv_degree': None, 'sip_npoints': 32, 'slit_y_low': -0.55, 'slit_y_high': 0.55}\n", + "2021-07-01 16:35:29,406 - stpipe.AssignWcsStep - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_distortion_0029.asdf', 'filteroffset': None, 'specwcs': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_specwcs_0022.asdf', 'regions': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf', 'wavelengthrange': '/Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_wavelengthrange_0005.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}\n", + "2021-07-01 16:35:30,565 - stpipe.AssignWcsStep - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/gwcs/geometry.py:203: RuntimeWarning: invalid value encountered in remainder\n", " lon = np.mod(lon, 360.0 * u.deg if nquant else 360.0)\n", "\n", - "2021-06-18 13:04:31,279 - stpipe.AssignWcsStep - INFO - Update S_REGION to POLYGON ICRS 0.000000000 -0.000942272 359.999999999 -0.000942272 359.999999999 0.000482700 0.000000000 0.000482700\n" + "2021-07-01 16:35:30,628 - stpipe.AssignWcsStep - INFO - Update S_REGION to POLYGON ICRS 0.000000000 -0.000942272 359.999999999 -0.000942272 359.999999999 0.000482700 0.000000000 0.000482700\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:04:31,279 - stpipe.AssignWcsStep - INFO - COMPLETED assign_wcs\n", - "2021-06-18 13:04:32,209 - stpipe.AssignWcsStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits\n", - "2021-06-18 13:04:32,210 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep done\n" + "2021-07-01 16:35:30,629 - stpipe.AssignWcsStep - INFO - COMPLETED assign_wcs\n", + "2021-07-01 16:35:31,471 - stpipe.AssignWcsStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits\n", + "2021-07-01 16:35:31,472 - stpipe.AssignWcsStep - INFO - Step AssignWcsStep done\n" ] } ], @@ -807,7 +800,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 19, "id": "16dcc213", "metadata": { "scrolled": false @@ -822,7 +815,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits']" ] }, - "execution_count": 20, + "execution_count": 19, "metadata": {}, "output_type": "execute_result" } @@ -845,7 +838,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 20, "id": "ed937258", "metadata": { "scrolled": false @@ -875,7 +868,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 21, "id": "1b6ec05a", "metadata": { "scrolled": false @@ -918,7 +911,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 22, "id": "2b37fe07", "metadata": {}, "outputs": [ @@ -931,7 +924,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits']" ] }, - "execution_count": 23, + "execution_count": 22, "metadata": {}, "output_type": "execute_result" } @@ -954,7 +947,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 23, "id": "b20006a4", "metadata": {}, "outputs": [], @@ -969,7 +962,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 24, "id": "62cd0f9b", "metadata": { "scrolled": true @@ -979,26 +972,26 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:04:35,022 - stpipe.BackgroundStep - INFO - BackgroundStep instance created.\n", - "2021-06-18 13:04:35,155 - stpipe.BackgroundStep - INFO - Step BackgroundStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits', ['stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits']).\n", - "2021-06-18 13:04:35,157 - stpipe.BackgroundStep - INFO - Step BackgroundStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sigma': 3.0, 'maxiters': None}\n", - "2021-06-18 13:04:40,690 - stpipe.BackgroundStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_backgroundstep.fits\n", - "2021-06-18 13:04:40,690 - stpipe.BackgroundStep - INFO - Step BackgroundStep done\n", - "2021-06-18 13:04:42,033 - stpipe.BackgroundStep - INFO - BackgroundStep instance created.\n", - "2021-06-18 13:04:42,160 - stpipe.BackgroundStep - INFO - Step BackgroundStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits', ['stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits']).\n", - "2021-06-18 13:04:42,162 - stpipe.BackgroundStep - INFO - Step BackgroundStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sigma': 3.0, 'maxiters': None}\n", - "2021-06-18 13:04:47,621 - stpipe.BackgroundStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_backgroundstep.fits\n", - "2021-06-18 13:04:47,622 - stpipe.BackgroundStep - INFO - Step BackgroundStep done\n", - "2021-06-18 13:04:49,059 - stpipe.BackgroundStep - INFO - BackgroundStep instance created.\n", - "2021-06-18 13:04:49,186 - stpipe.BackgroundStep - INFO - Step BackgroundStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits', ['stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits']).\n", - "2021-06-18 13:04:49,188 - stpipe.BackgroundStep - INFO - Step BackgroundStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sigma': 3.0, 'maxiters': None}\n", - "2021-06-18 13:04:54,270 - stpipe.BackgroundStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_backgroundstep.fits\n", - "2021-06-18 13:04:54,270 - stpipe.BackgroundStep - INFO - Step BackgroundStep done\n", - "2021-06-18 13:04:55,581 - stpipe.BackgroundStep - INFO - BackgroundStep instance created.\n", - "2021-06-18 13:04:55,709 - stpipe.BackgroundStep - INFO - Step BackgroundStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits', ['stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits']).\n", - "2021-06-18 13:04:55,711 - stpipe.BackgroundStep - INFO - Step BackgroundStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sigma': 3.0, 'maxiters': None}\n", - "2021-06-18 13:05:01,047 - stpipe.BackgroundStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_backgroundstep.fits\n", - "2021-06-18 13:05:01,047 - stpipe.BackgroundStep - INFO - Step BackgroundStep done\n" + "2021-07-01 16:35:34,022 - stpipe.BackgroundStep - INFO - BackgroundStep instance created.\n", + "2021-07-01 16:35:34,143 - stpipe.BackgroundStep - INFO - Step BackgroundStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits', ['stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits']).\n", + "2021-07-01 16:35:34,145 - stpipe.BackgroundStep - INFO - Step BackgroundStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sigma': 3.0, 'maxiters': None}\n", + "2021-07-01 16:35:39,296 - stpipe.BackgroundStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_backgroundstep.fits\n", + "2021-07-01 16:35:39,296 - stpipe.BackgroundStep - INFO - Step BackgroundStep done\n", + "2021-07-01 16:35:40,644 - stpipe.BackgroundStep - INFO - BackgroundStep instance created.\n", + "2021-07-01 16:35:40,781 - stpipe.BackgroundStep - INFO - Step BackgroundStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits', ['stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits']).\n", + "2021-07-01 16:35:40,783 - stpipe.BackgroundStep - INFO - Step BackgroundStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sigma': 3.0, 'maxiters': None}\n", + "2021-07-01 16:35:45,788 - stpipe.BackgroundStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_backgroundstep.fits\n", + "2021-07-01 16:35:45,788 - stpipe.BackgroundStep - INFO - Step BackgroundStep done\n", + "2021-07-01 16:35:47,064 - stpipe.BackgroundStep - INFO - BackgroundStep instance created.\n", + "2021-07-01 16:35:47,197 - stpipe.BackgroundStep - INFO - Step BackgroundStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits', ['stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits']).\n", + "2021-07-01 16:35:47,199 - stpipe.BackgroundStep - INFO - Step BackgroundStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sigma': 3.0, 'maxiters': None}\n", + "2021-07-01 16:35:52,179 - stpipe.BackgroundStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_backgroundstep.fits\n", + "2021-07-01 16:35:52,180 - stpipe.BackgroundStep - INFO - Step BackgroundStep done\n", + "2021-07-01 16:35:53,455 - stpipe.BackgroundStep - INFO - BackgroundStep instance created.\n", + "2021-07-01 16:35:53,565 - stpipe.BackgroundStep - INFO - Step BackgroundStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits', ['stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits']).\n", + "2021-07-01 16:35:53,566 - stpipe.BackgroundStep - INFO - Step BackgroundStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'sigma': 3.0, 'maxiters': None}\n", + "2021-07-01 16:35:58,464 - stpipe.BackgroundStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_backgroundstep.fits\n", + "2021-07-01 16:35:58,465 - stpipe.BackgroundStep - INFO - Step BackgroundStep done\n" ] } ], @@ -1010,7 +1003,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 25, "id": "db31b7dd", "metadata": {}, "outputs": [ @@ -1023,7 +1016,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_backgroundstep.fits']" ] }, - "execution_count": 26, + "execution_count": 25, "metadata": {}, "output_type": "execute_result" } @@ -1039,7 +1032,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 26, "id": "0bbe6896", "metadata": {}, "outputs": [ @@ -1049,7 +1042,7 @@ "Text(0.5, 0, 'X pixel')" ] }, - "execution_count": 27, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" }, @@ -1107,7 +1100,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 27, "id": "7f5932e1", "metadata": {}, "outputs": [], @@ -1150,7 +1143,7 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 28, "id": "4a4e3eed", "metadata": {}, "outputs": [ @@ -1163,7 +1156,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits']" ] }, - "execution_count": 29, + "execution_count": 28, "metadata": {}, "output_type": "execute_result" } @@ -1180,7 +1173,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 29, "id": "598a7cb4", "metadata": { "scrolled": true @@ -1190,30 +1183,30 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:05:02,857 - stpipe.FlatFieldStep - INFO - FlatFieldStep instance created.\n", - "2021-06-18 13:05:02,975 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits',).\n", - "2021-06-18 13:05:02,977 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'save_interpolated_flat': False, 'user_supplied_flat': None, 'inverse': False}\n", - "2021-06-18 13:05:04,365 - stpipe.FlatFieldStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:05:06,864 - stpipe.FlatFieldStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits\n", - "2021-06-18 13:05:06,865 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep done\n", - "2021-06-18 13:05:08,155 - stpipe.FlatFieldStep - INFO - FlatFieldStep instance created.\n", - "2021-06-18 13:05:08,308 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits',).\n", - "2021-06-18 13:05:08,310 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'save_interpolated_flat': False, 'user_supplied_flat': None, 'inverse': False}\n", - "2021-06-18 13:05:09,696 - stpipe.FlatFieldStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:05:12,261 - stpipe.FlatFieldStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits\n", - "2021-06-18 13:05:12,262 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep done\n", - "2021-06-18 13:05:13,639 - stpipe.FlatFieldStep - INFO - FlatFieldStep instance created.\n", - "2021-06-18 13:05:13,780 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits',).\n", - "2021-06-18 13:05:13,781 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'save_interpolated_flat': False, 'user_supplied_flat': None, 'inverse': False}\n", - "2021-06-18 13:05:15,189 - stpipe.FlatFieldStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:05:17,757 - stpipe.FlatFieldStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits\n", - "2021-06-18 13:05:17,758 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep done\n", - "2021-06-18 13:05:19,206 - stpipe.FlatFieldStep - INFO - FlatFieldStep instance created.\n", - "2021-06-18 13:05:19,380 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits',).\n", - "2021-06-18 13:05:19,382 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'save_interpolated_flat': False, 'user_supplied_flat': None, 'inverse': False}\n", - "2021-06-18 13:05:20,772 - stpipe.FlatFieldStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:05:23,421 - stpipe.FlatFieldStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits\n", - "2021-06-18 13:05:23,422 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep done\n" + "2021-07-01 16:36:00,200 - stpipe.FlatFieldStep - INFO - FlatFieldStep instance created.\n", + "2021-07-01 16:36:00,306 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits',).\n", + "2021-07-01 16:36:00,308 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'save_interpolated_flat': False, 'user_supplied_flat': None, 'inverse': False}\n", + "2021-07-01 16:36:01,561 - stpipe.FlatFieldStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:36:03,820 - stpipe.FlatFieldStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits\n", + "2021-07-01 16:36:03,821 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep done\n", + "2021-07-01 16:36:04,974 - stpipe.FlatFieldStep - INFO - FlatFieldStep instance created.\n", + "2021-07-01 16:36:05,108 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits',).\n", + "2021-07-01 16:36:05,109 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'save_interpolated_flat': False, 'user_supplied_flat': None, 'inverse': False}\n", + "2021-07-01 16:36:06,257 - stpipe.FlatFieldStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:36:08,633 - stpipe.FlatFieldStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits\n", + "2021-07-01 16:36:08,633 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep done\n", + "2021-07-01 16:36:09,943 - stpipe.FlatFieldStep - INFO - FlatFieldStep instance created.\n", + "2021-07-01 16:36:10,093 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits',).\n", + "2021-07-01 16:36:10,095 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'save_interpolated_flat': False, 'user_supplied_flat': None, 'inverse': False}\n", + "2021-07-01 16:36:11,257 - stpipe.FlatFieldStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:36:13,668 - stpipe.FlatFieldStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits\n", + "2021-07-01 16:36:13,668 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep done\n", + "2021-07-01 16:36:14,859 - stpipe.FlatFieldStep - INFO - FlatFieldStep instance created.\n", + "2021-07-01 16:36:15,013 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_assignwcsstep.fits',).\n", + "2021-07-01 16:36:15,016 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'save_interpolated_flat': False, 'user_supplied_flat': None, 'inverse': False}\n", + "2021-07-01 16:36:16,277 - stpipe.FlatFieldStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:36:18,638 - stpipe.FlatFieldStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits\n", + "2021-07-01 16:36:18,639 - stpipe.FlatFieldStep - INFO - Step FlatFieldStep done\n" ] } ], @@ -1246,7 +1239,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 30, "id": "af198fa1", "metadata": {}, "outputs": [ @@ -1259,7 +1252,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits']" ] }, - "execution_count": 31, + "execution_count": 30, "metadata": {}, "output_type": "execute_result" } @@ -1274,7 +1267,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 31, "id": "6bba18e1", "metadata": { "scrolled": true @@ -1284,42 +1277,42 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:05:24,794 - stpipe.SourceTypeStep - INFO - SourceTypeStep instance created.\n", - "2021-06-18 13:05:24,916 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits',).\n", - "2021-06-18 13:05:24,917 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", - "2021-06-18 13:05:26,238 - stpipe.SourceTypeStep - INFO - Input EXP_TYPE is MIR_MRS\n", - "2021-06-18 13:05:26,239 - stpipe.SourceTypeStep - INFO - Input SRCTYAPT = None\n", - "2021-06-18 13:05:26,239 - stpipe.SourceTypeStep - WARNING - SRCTYAPT keyword not found in input; using SRCTYPE instead\n", - "2021-06-18 13:05:26,240 - stpipe.SourceTypeStep - INFO - Input source type is unknown; setting default SRCTYPE = EXTENDED\n", - "2021-06-18 13:05:27,542 - stpipe.SourceTypeStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits\n", - "2021-06-18 13:05:27,543 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep done\n", - "2021-06-18 13:05:28,982 - stpipe.SourceTypeStep - INFO - SourceTypeStep instance created.\n", - "2021-06-18 13:05:29,257 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits',).\n", - "2021-06-18 13:05:29,258 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", - "2021-06-18 13:05:30,642 - stpipe.SourceTypeStep - INFO - Input EXP_TYPE is MIR_MRS\n", - "2021-06-18 13:05:30,642 - stpipe.SourceTypeStep - INFO - Input SRCTYAPT = None\n", - "2021-06-18 13:05:30,643 - stpipe.SourceTypeStep - WARNING - SRCTYAPT keyword not found in input; using SRCTYPE instead\n", - "2021-06-18 13:05:30,643 - stpipe.SourceTypeStep - INFO - Input source type is unknown; setting default SRCTYPE = EXTENDED\n", - "2021-06-18 13:05:32,131 - stpipe.SourceTypeStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits\n", - "2021-06-18 13:05:32,132 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep done\n", - "2021-06-18 13:05:33,434 - stpipe.SourceTypeStep - INFO - SourceTypeStep instance created.\n", - "2021-06-18 13:05:33,650 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits',).\n", - "2021-06-18 13:05:33,652 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", - "2021-06-18 13:05:34,939 - stpipe.SourceTypeStep - INFO - Input EXP_TYPE is MIR_MRS\n", - "2021-06-18 13:05:34,940 - stpipe.SourceTypeStep - INFO - Input SRCTYAPT = None\n", - "2021-06-18 13:05:34,941 - stpipe.SourceTypeStep - WARNING - SRCTYAPT keyword not found in input; using SRCTYPE instead\n", - "2021-06-18 13:05:34,941 - stpipe.SourceTypeStep - INFO - Input source type is unknown; setting default SRCTYPE = EXTENDED\n", - "2021-06-18 13:05:36,172 - stpipe.SourceTypeStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits\n", - "2021-06-18 13:05:36,173 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep done\n", - "2021-06-18 13:05:37,457 - stpipe.SourceTypeStep - INFO - SourceTypeStep instance created.\n", - "2021-06-18 13:05:37,640 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits',).\n", - "2021-06-18 13:05:37,642 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", - "2021-06-18 13:05:38,892 - stpipe.SourceTypeStep - INFO - Input EXP_TYPE is MIR_MRS\n", - "2021-06-18 13:05:38,892 - stpipe.SourceTypeStep - INFO - Input SRCTYAPT = None\n", - "2021-06-18 13:05:38,893 - stpipe.SourceTypeStep - WARNING - SRCTYAPT keyword not found in input; using SRCTYPE instead\n", - "2021-06-18 13:05:38,893 - stpipe.SourceTypeStep - INFO - Input source type is unknown; setting default SRCTYPE = EXTENDED\n", - "2021-06-18 13:05:40,109 - stpipe.SourceTypeStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits\n", - "2021-06-18 13:05:40,109 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep done\n" + "2021-07-01 16:36:19,867 - stpipe.SourceTypeStep - INFO - SourceTypeStep instance created.\n", + "2021-07-01 16:36:19,991 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits',).\n", + "2021-07-01 16:36:19,992 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", + "2021-07-01 16:36:21,090 - stpipe.SourceTypeStep - INFO - Input EXP_TYPE is MIR_MRS\n", + "2021-07-01 16:36:21,091 - stpipe.SourceTypeStep - INFO - Input SRCTYAPT = None\n", + "2021-07-01 16:36:21,091 - stpipe.SourceTypeStep - WARNING - SRCTYAPT keyword not found in input; using SRCTYPE instead\n", + "2021-07-01 16:36:21,092 - stpipe.SourceTypeStep - INFO - Input source type is unknown; setting default SRCTYPE = EXTENDED\n", + "2021-07-01 16:36:22,304 - stpipe.SourceTypeStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits\n", + "2021-07-01 16:36:22,305 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep done\n", + "2021-07-01 16:36:23,463 - stpipe.SourceTypeStep - INFO - SourceTypeStep instance created.\n", + "2021-07-01 16:36:23,678 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits',).\n", + "2021-07-01 16:36:23,680 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", + "2021-07-01 16:36:24,846 - stpipe.SourceTypeStep - INFO - Input EXP_TYPE is MIR_MRS\n", + "2021-07-01 16:36:24,847 - stpipe.SourceTypeStep - INFO - Input SRCTYAPT = None\n", + "2021-07-01 16:36:24,848 - stpipe.SourceTypeStep - WARNING - SRCTYAPT keyword not found in input; using SRCTYPE instead\n", + "2021-07-01 16:36:24,848 - stpipe.SourceTypeStep - INFO - Input source type is unknown; setting default SRCTYPE = EXTENDED\n", + "2021-07-01 16:36:26,019 - stpipe.SourceTypeStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits\n", + "2021-07-01 16:36:26,020 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep done\n", + "2021-07-01 16:36:27,191 - stpipe.SourceTypeStep - INFO - SourceTypeStep instance created.\n", + "2021-07-01 16:36:27,414 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits',).\n", + "2021-07-01 16:36:27,416 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", + "2021-07-01 16:36:28,579 - stpipe.SourceTypeStep - INFO - Input EXP_TYPE is MIR_MRS\n", + "2021-07-01 16:36:28,580 - stpipe.SourceTypeStep - INFO - Input SRCTYAPT = None\n", + "2021-07-01 16:36:28,580 - stpipe.SourceTypeStep - WARNING - SRCTYAPT keyword not found in input; using SRCTYPE instead\n", + "2021-07-01 16:36:28,581 - stpipe.SourceTypeStep - INFO - Input source type is unknown; setting default SRCTYPE = EXTENDED\n", + "2021-07-01 16:36:29,716 - stpipe.SourceTypeStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits\n", + "2021-07-01 16:36:29,717 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep done\n", + "2021-07-01 16:36:30,907 - stpipe.SourceTypeStep - INFO - SourceTypeStep instance created.\n", + "2021-07-01 16:36:31,127 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_flatfieldstep.fits',).\n", + "2021-07-01 16:36:31,129 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", + "2021-07-01 16:36:32,315 - stpipe.SourceTypeStep - INFO - Input EXP_TYPE is MIR_MRS\n", + "2021-07-01 16:36:32,315 - stpipe.SourceTypeStep - INFO - Input SRCTYAPT = None\n", + "2021-07-01 16:36:32,316 - stpipe.SourceTypeStep - WARNING - SRCTYAPT keyword not found in input; using SRCTYPE instead\n", + "2021-07-01 16:36:32,316 - stpipe.SourceTypeStep - INFO - Input source type is unknown; setting default SRCTYPE = EXTENDED\n", + "2021-07-01 16:36:33,512 - stpipe.SourceTypeStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits\n", + "2021-07-01 16:36:33,513 - stpipe.SourceTypeStep - INFO - Step SourceTypeStep done\n" ] } ], @@ -1331,7 +1324,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 32, "id": "56c640c9", "metadata": {}, "outputs": [ @@ -1344,7 +1337,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits']" ] }, - "execution_count": 33, + "execution_count": 32, "metadata": {}, "output_type": "execute_result" } @@ -1359,7 +1352,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 33, "id": "c8741222", "metadata": {}, "outputs": [ @@ -1388,7 +1381,7 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 34, "id": "8e39ee3b", "metadata": {}, "outputs": [], @@ -1403,7 +1396,7 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 35, "id": "f5bf7cb8", "metadata": {}, "outputs": [ @@ -1440,7 +1433,7 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 36, "id": "6b3aea51", "metadata": { "scrolled": true @@ -1450,42 +1443,42 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:05:43,152 - stpipe.StraylightStep - INFO - StraylightStep instance created.\n", - "2021-06-18 13:05:43,340 - stpipe.StraylightStep - INFO - Step StraylightStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits',).\n", - "2021-06-18 13:05:43,342 - stpipe.StraylightStep - INFO - Step StraylightStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'method': 'ModShepard', 'roi': 50, 'power': 1.0}\n", - "2021-06-18 13:05:44,688 - stpipe.StraylightStep - INFO - Using regions reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf\n", - "2021-06-18 13:05:44,713 - stpipe.StraylightStep - INFO - Using 20% throughput threshhold.\n", - "2021-06-18 13:05:44,714 - stpipe.StraylightStep - INFO - Modified Shepard weighting power 1.00\n", - "2021-06-18 13:05:44,714 - stpipe.StraylightStep - INFO - Region of influence radius (pixels) 50.00\n", - "2021-06-18 13:05:53,263 - stpipe.StraylightStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_straylightstep.fits\n", - "2021-06-18 13:05:53,264 - stpipe.StraylightStep - INFO - Step StraylightStep done\n", - "2021-06-18 13:05:54,681 - stpipe.StraylightStep - INFO - StraylightStep instance created.\n", - "2021-06-18 13:05:54,797 - stpipe.StraylightStep - INFO - Step StraylightStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits',).\n", - "2021-06-18 13:05:54,799 - stpipe.StraylightStep - INFO - Step StraylightStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'method': 'ModShepard', 'roi': 50, 'power': 1.0}\n", - "2021-06-18 13:05:56,092 - stpipe.StraylightStep - INFO - Using regions reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf\n", - "2021-06-18 13:05:56,117 - stpipe.StraylightStep - INFO - Using 20% throughput threshhold.\n", - "2021-06-18 13:05:56,119 - stpipe.StraylightStep - INFO - Modified Shepard weighting power 1.00\n", - "2021-06-18 13:05:56,119 - stpipe.StraylightStep - INFO - Region of influence radius (pixels) 50.00\n", - "2021-06-18 13:06:04,633 - stpipe.StraylightStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_straylightstep.fits\n", - "2021-06-18 13:06:04,634 - stpipe.StraylightStep - INFO - Step StraylightStep done\n", - "2021-06-18 13:06:06,090 - stpipe.StraylightStep - INFO - StraylightStep instance created.\n", - "2021-06-18 13:06:06,217 - stpipe.StraylightStep - INFO - Step StraylightStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits',).\n", - "2021-06-18 13:06:06,219 - stpipe.StraylightStep - INFO - Step StraylightStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'method': 'ModShepard', 'roi': 50, 'power': 1.0}\n", - "2021-06-18 13:06:07,516 - stpipe.StraylightStep - INFO - Using regions reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf\n", - "2021-06-18 13:06:07,541 - stpipe.StraylightStep - INFO - Using 20% throughput threshhold.\n", - "2021-06-18 13:06:07,542 - stpipe.StraylightStep - INFO - Modified Shepard weighting power 1.00\n", - "2021-06-18 13:06:07,542 - stpipe.StraylightStep - INFO - Region of influence radius (pixels) 50.00\n", - "2021-06-18 13:06:16,041 - stpipe.StraylightStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_straylightstep.fits\n", - "2021-06-18 13:06:16,042 - stpipe.StraylightStep - INFO - Step StraylightStep done\n", - "2021-06-18 13:06:17,501 - stpipe.StraylightStep - INFO - StraylightStep instance created.\n", - "2021-06-18 13:06:17,614 - stpipe.StraylightStep - INFO - Step StraylightStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits',).\n", - "2021-06-18 13:06:17,615 - stpipe.StraylightStep - INFO - Step StraylightStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'method': 'ModShepard', 'roi': 50, 'power': 1.0}\n", - "2021-06-18 13:06:18,916 - stpipe.StraylightStep - INFO - Using regions reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf\n", - "2021-06-18 13:06:18,942 - stpipe.StraylightStep - INFO - Using 20% throughput threshhold.\n", - "2021-06-18 13:06:18,943 - stpipe.StraylightStep - INFO - Modified Shepard weighting power 1.00\n", - "2021-06-18 13:06:18,943 - stpipe.StraylightStep - INFO - Region of influence radius (pixels) 50.00\n", - "2021-06-18 13:06:27,525 - stpipe.StraylightStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_straylightstep.fits\n", - "2021-06-18 13:06:27,526 - stpipe.StraylightStep - INFO - Step StraylightStep done\n" + "2021-07-01 16:36:35,853 - stpipe.StraylightStep - INFO - StraylightStep instance created.\n", + "2021-07-01 16:36:36,085 - stpipe.StraylightStep - INFO - Step StraylightStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits',).\n", + "2021-07-01 16:36:36,087 - stpipe.StraylightStep - INFO - Step StraylightStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'method': 'ModShepard', 'roi': 50, 'power': 1.0}\n", + "2021-07-01 16:36:37,325 - stpipe.StraylightStep - INFO - Using regions reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf\n", + "2021-07-01 16:36:37,358 - stpipe.StraylightStep - INFO - Using 20% throughput threshhold.\n", + "2021-07-01 16:36:37,359 - stpipe.StraylightStep - INFO - Modified Shepard weighting power 1.00\n", + "2021-07-01 16:36:37,359 - stpipe.StraylightStep - INFO - Region of influence radius (pixels) 50.00\n", + "2021-07-01 16:36:45,488 - stpipe.StraylightStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_straylightstep.fits\n", + "2021-07-01 16:36:45,489 - stpipe.StraylightStep - INFO - Step StraylightStep done\n", + "2021-07-01 16:36:46,889 - stpipe.StraylightStep - INFO - StraylightStep instance created.\n", + "2021-07-01 16:36:47,012 - stpipe.StraylightStep - INFO - Step StraylightStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits',).\n", + "2021-07-01 16:36:47,013 - stpipe.StraylightStep - INFO - Step StraylightStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'method': 'ModShepard', 'roi': 50, 'power': 1.0}\n", + "2021-07-01 16:36:48,264 - stpipe.StraylightStep - INFO - Using regions reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf\n", + "2021-07-01 16:36:48,291 - stpipe.StraylightStep - INFO - Using 20% throughput threshhold.\n", + "2021-07-01 16:36:48,292 - stpipe.StraylightStep - INFO - Modified Shepard weighting power 1.00\n", + "2021-07-01 16:36:48,293 - stpipe.StraylightStep - INFO - Region of influence radius (pixels) 50.00\n", + "2021-07-01 16:36:56,405 - stpipe.StraylightStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_straylightstep.fits\n", + "2021-07-01 16:36:56,406 - stpipe.StraylightStep - INFO - Step StraylightStep done\n", + "2021-07-01 16:36:57,815 - stpipe.StraylightStep - INFO - StraylightStep instance created.\n", + "2021-07-01 16:36:57,930 - stpipe.StraylightStep - INFO - Step StraylightStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits',).\n", + "2021-07-01 16:36:57,932 - stpipe.StraylightStep - INFO - Step StraylightStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'method': 'ModShepard', 'roi': 50, 'power': 1.0}\n", + "2021-07-01 16:36:59,194 - stpipe.StraylightStep - INFO - Using regions reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf\n", + "2021-07-01 16:36:59,226 - stpipe.StraylightStep - INFO - Using 20% throughput threshhold.\n", + "2021-07-01 16:36:59,228 - stpipe.StraylightStep - INFO - Modified Shepard weighting power 1.00\n", + "2021-07-01 16:36:59,228 - stpipe.StraylightStep - INFO - Region of influence radius (pixels) 50.00\n", + "2021-07-01 16:37:07,302 - stpipe.StraylightStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_straylightstep.fits\n", + "2021-07-01 16:37:07,303 - stpipe.StraylightStep - INFO - Step StraylightStep done\n", + "2021-07-01 16:37:08,625 - stpipe.StraylightStep - INFO - StraylightStep instance created.\n", + "2021-07-01 16:37:08,745 - stpipe.StraylightStep - INFO - Step StraylightStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_sourcetypestep.fits',).\n", + "2021-07-01 16:37:08,746 - stpipe.StraylightStep - INFO - Step StraylightStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'method': 'ModShepard', 'roi': 50, 'power': 1.0}\n", + "2021-07-01 16:37:09,936 - stpipe.StraylightStep - INFO - Using regions reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_regions_0028.asdf\n", + "2021-07-01 16:37:09,967 - stpipe.StraylightStep - INFO - Using 20% throughput threshhold.\n", + "2021-07-01 16:37:09,969 - stpipe.StraylightStep - INFO - Modified Shepard weighting power 1.00\n", + "2021-07-01 16:37:09,969 - stpipe.StraylightStep - INFO - Region of influence radius (pixels) 50.00\n", + "2021-07-01 16:37:18,096 - stpipe.StraylightStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_straylightstep.fits\n", + "2021-07-01 16:37:18,097 - stpipe.StraylightStep - INFO - Step StraylightStep done\n" ] } ], @@ -1497,7 +1490,7 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 37, "id": "f0ad753e", "metadata": {}, "outputs": [ @@ -1510,7 +1503,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_straylightstep.fits']" ] }, - "execution_count": 38, + "execution_count": 37, "metadata": {}, "output_type": "execute_result" } @@ -1525,7 +1518,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 38, "id": "39adbeed", "metadata": {}, "outputs": [ @@ -1535,7 +1528,7 @@ "Text(0.5, 0, 'X pixel')" ] }, - "execution_count": 39, + "execution_count": 38, "metadata": {}, "output_type": "execute_result" }, @@ -1586,17 +1579,17 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 39, "id": "172385ff", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 40, + "execution_count": 39, "metadata": {}, "output_type": "execute_result" }, @@ -1634,7 +1627,7 @@ }, { "cell_type": "code", - "execution_count": 41, + "execution_count": 40, "id": "f755d719", "metadata": {}, "outputs": [], @@ -1660,7 +1653,7 @@ }, { "cell_type": "code", - "execution_count": 42, + "execution_count": 41, "id": "b5bc8393", "metadata": { "scrolled": true @@ -1670,46 +1663,46 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:06:30,061 - stpipe.FringeStep - INFO - FringeStep instance created.\n", - "2021-06-18 13:06:30,184 - stpipe.FringeStep - INFO - Step FringeStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_straylightstep.fits',).\n", - "2021-06-18 13:06:30,186 - stpipe.FringeStep - INFO - Step FringeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", - "2021-06-18 13:06:31,435 - stpipe.FringeStep - INFO - Using FRINGE reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_fringe_0049.fits\n", - "2021-06-18 13:06:31,492 - stpipe.FringeStep - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:31,493 - stpipe.FringeStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:31,493 - stpipe.FringeStep - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:32,803 - stpipe.FringeStep - INFO - DQ values in the reference file NOT used to update the output DQ.\n", - "2021-06-18 13:06:34,028 - stpipe.FringeStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_fringestep.fits\n", - "2021-06-18 13:06:34,029 - stpipe.FringeStep - INFO - Step FringeStep done\n", - "2021-06-18 13:06:35,316 - stpipe.FringeStep - INFO - FringeStep instance created.\n", - "2021-06-18 13:06:35,442 - stpipe.FringeStep - INFO - Step FringeStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_straylightstep.fits',).\n", - "2021-06-18 13:06:35,444 - stpipe.FringeStep - INFO - Step FringeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", - "2021-06-18 13:06:36,776 - stpipe.FringeStep - INFO - Using FRINGE reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_fringe_0049.fits\n", - "2021-06-18 13:06:36,823 - stpipe.FringeStep - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:36,824 - stpipe.FringeStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:36,825 - stpipe.FringeStep - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:38,167 - stpipe.FringeStep - INFO - DQ values in the reference file NOT used to update the output DQ.\n", - "2021-06-18 13:06:39,423 - stpipe.FringeStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_fringestep.fits\n", - "2021-06-18 13:06:39,424 - stpipe.FringeStep - INFO - Step FringeStep done\n", - "2021-06-18 13:06:40,707 - stpipe.FringeStep - INFO - FringeStep instance created.\n", - "2021-06-18 13:06:40,832 - stpipe.FringeStep - INFO - Step FringeStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_straylightstep.fits',).\n", - "2021-06-18 13:06:40,833 - stpipe.FringeStep - INFO - Step FringeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", - "2021-06-18 13:06:42,094 - stpipe.FringeStep - INFO - Using FRINGE reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_fringe_0049.fits\n", - "2021-06-18 13:06:42,141 - stpipe.FringeStep - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:42,142 - stpipe.FringeStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:42,142 - stpipe.FringeStep - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:43,419 - stpipe.FringeStep - INFO - DQ values in the reference file NOT used to update the output DQ.\n", - "2021-06-18 13:06:44,611 - stpipe.FringeStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_fringestep.fits\n", - "2021-06-18 13:06:44,612 - stpipe.FringeStep - INFO - Step FringeStep done\n", - "2021-06-18 13:06:45,870 - stpipe.FringeStep - INFO - FringeStep instance created.\n", - "2021-06-18 13:06:45,996 - stpipe.FringeStep - INFO - Step FringeStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_straylightstep.fits',).\n", - "2021-06-18 13:06:45,998 - stpipe.FringeStep - INFO - Step FringeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", - "2021-06-18 13:06:47,242 - stpipe.FringeStep - INFO - Using FRINGE reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_fringe_0049.fits\n", - "2021-06-18 13:06:47,290 - stpipe.FringeStep - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:47,291 - stpipe.FringeStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:47,291 - stpipe.FringeStep - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:48,574 - stpipe.FringeStep - INFO - DQ values in the reference file NOT used to update the output DQ.\n", - "2021-06-18 13:06:49,732 - stpipe.FringeStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_fringestep.fits\n", - "2021-06-18 13:06:49,733 - stpipe.FringeStep - INFO - Step FringeStep done\n" + "2021-07-01 16:37:20,613 - stpipe.FringeStep - INFO - FringeStep instance created.\n", + "2021-07-01 16:37:20,732 - stpipe.FringeStep - INFO - Step FringeStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_straylightstep.fits',).\n", + "2021-07-01 16:37:20,733 - stpipe.FringeStep - INFO - Step FringeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", + "2021-07-01 16:37:21,924 - stpipe.FringeStep - INFO - Using FRINGE reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_fringe_0049.fits\n", + "2021-07-01 16:37:21,990 - stpipe.FringeStep - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:21,991 - stpipe.FringeStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:21,992 - stpipe.FringeStep - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:23,227 - stpipe.FringeStep - INFO - DQ values in the reference file NOT used to update the output DQ.\n", + "2021-07-01 16:37:24,376 - stpipe.FringeStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_fringestep.fits\n", + "2021-07-01 16:37:24,376 - stpipe.FringeStep - INFO - Step FringeStep done\n", + "2021-07-01 16:37:25,513 - stpipe.FringeStep - INFO - FringeStep instance created.\n", + "2021-07-01 16:37:25,638 - stpipe.FringeStep - INFO - Step FringeStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_straylightstep.fits',).\n", + "2021-07-01 16:37:25,640 - stpipe.FringeStep - INFO - Step FringeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", + "2021-07-01 16:37:26,833 - stpipe.FringeStep - INFO - Using FRINGE reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_fringe_0049.fits\n", + "2021-07-01 16:37:26,880 - stpipe.FringeStep - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:26,881 - stpipe.FringeStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:26,882 - stpipe.FringeStep - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:28,124 - stpipe.FringeStep - INFO - DQ values in the reference file NOT used to update the output DQ.\n", + "2021-07-01 16:37:29,277 - stpipe.FringeStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_fringestep.fits\n", + "2021-07-01 16:37:29,278 - stpipe.FringeStep - INFO - Step FringeStep done\n", + "2021-07-01 16:37:30,404 - stpipe.FringeStep - INFO - FringeStep instance created.\n", + "2021-07-01 16:37:30,534 - stpipe.FringeStep - INFO - Step FringeStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_straylightstep.fits',).\n", + "2021-07-01 16:37:30,535 - stpipe.FringeStep - INFO - Step FringeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", + "2021-07-01 16:37:31,643 - stpipe.FringeStep - INFO - Using FRINGE reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_fringe_0049.fits\n", + "2021-07-01 16:37:31,691 - stpipe.FringeStep - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:31,692 - stpipe.FringeStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:31,693 - stpipe.FringeStep - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:32,910 - stpipe.FringeStep - INFO - DQ values in the reference file NOT used to update the output DQ.\n", + "2021-07-01 16:37:33,983 - stpipe.FringeStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_fringestep.fits\n", + "2021-07-01 16:37:33,984 - stpipe.FringeStep - INFO - Step FringeStep done\n", + "2021-07-01 16:37:35,188 - stpipe.FringeStep - INFO - FringeStep instance created.\n", + "2021-07-01 16:37:35,315 - stpipe.FringeStep - INFO - Step FringeStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_straylightstep.fits',).\n", + "2021-07-01 16:37:35,316 - stpipe.FringeStep - INFO - Step FringeStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': ''}\n", + "2021-07-01 16:37:36,517 - stpipe.FringeStep - INFO - Using FRINGE reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_fringe_0049.fits\n", + "2021-07-01 16:37:36,565 - stpipe.FringeStep - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:36,566 - stpipe.FringeStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:36,566 - stpipe.FringeStep - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:37,802 - stpipe.FringeStep - INFO - DQ values in the reference file NOT used to update the output DQ.\n", + "2021-07-01 16:37:38,960 - stpipe.FringeStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_fringestep.fits\n", + "2021-07-01 16:37:38,961 - stpipe.FringeStep - INFO - Step FringeStep done\n" ] } ], @@ -1721,7 +1714,7 @@ }, { "cell_type": "code", - "execution_count": 43, + "execution_count": 42, "id": "b6649a6d", "metadata": {}, "outputs": [ @@ -1734,7 +1727,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_fringestep.fits']" ] }, - "execution_count": 43, + "execution_count": 42, "metadata": {}, "output_type": "execute_result" } @@ -1749,7 +1742,7 @@ }, { "cell_type": "code", - "execution_count": 44, + "execution_count": 43, "id": "42f22fc7", "metadata": {}, "outputs": [ @@ -1759,7 +1752,7 @@ "(0.0, 250.0)" ] }, - "execution_count": 44, + "execution_count": 43, "metadata": {}, "output_type": "execute_result" }, @@ -1815,7 +1808,7 @@ }, { "cell_type": "code", - "execution_count": 45, + "execution_count": 44, "id": "d3dcf2ff", "metadata": {}, "outputs": [], @@ -1857,7 +1850,7 @@ }, { "cell_type": "code", - "execution_count": 46, + "execution_count": 45, "id": "d6b57571", "metadata": { "scrolled": true @@ -1867,54 +1860,54 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:06:51,310 - stpipe.PhotomStep - INFO - PhotomStep instance created.\n", - "2021-06-18 13:06:51,450 - stpipe.PhotomStep - INFO - Step PhotomStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_fringestep.fits',).\n", - "2021-06-18 13:06:51,452 - stpipe.PhotomStep - INFO - Step PhotomStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'inverse': False, 'source_type': None}\n", - "2021-06-18 13:06:52,720 - stpipe.PhotomStep - INFO - Using photom reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_photom_0060.fits\n", - "2021-06-18 13:06:52,721 - stpipe.PhotomStep - INFO - Using area reference file: N/A\n", - "2021-06-18 13:06:54,009 - stpipe.PhotomStep - INFO - Using instrument: MIRI\n", - "2021-06-18 13:06:54,010 - stpipe.PhotomStep - INFO - detector: MIRIFUSHORT\n", - "2021-06-18 13:06:54,011 - stpipe.PhotomStep - INFO - exp_type: MIR_MRS\n", - "2021-06-18 13:06:54,011 - stpipe.PhotomStep - INFO - band: LONG\n", - "2021-06-18 13:06:54,101 - stpipe.PhotomStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:06:55,250 - stpipe.PhotomStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_photomstep.fits\n", - "2021-06-18 13:06:55,251 - stpipe.PhotomStep - INFO - Step PhotomStep done\n", - "2021-06-18 13:06:56,615 - stpipe.PhotomStep - INFO - PhotomStep instance created.\n", - "2021-06-18 13:06:56,746 - stpipe.PhotomStep - INFO - Step PhotomStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_fringestep.fits',).\n", - "2021-06-18 13:06:56,747 - stpipe.PhotomStep - INFO - Step PhotomStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'inverse': False, 'source_type': None}\n", - "2021-06-18 13:06:58,069 - stpipe.PhotomStep - INFO - Using photom reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_photom_0060.fits\n", - "2021-06-18 13:06:58,070 - stpipe.PhotomStep - INFO - Using area reference file: N/A\n", - "2021-06-18 13:06:59,386 - stpipe.PhotomStep - INFO - Using instrument: MIRI\n", - "2021-06-18 13:06:59,387 - stpipe.PhotomStep - INFO - detector: MIRIFUSHORT\n", - "2021-06-18 13:06:59,388 - stpipe.PhotomStep - INFO - exp_type: MIR_MRS\n", - "2021-06-18 13:06:59,388 - stpipe.PhotomStep - INFO - band: LONG\n", - "2021-06-18 13:06:59,455 - stpipe.PhotomStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:07:00,650 - stpipe.PhotomStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_photomstep.fits\n", - "2021-06-18 13:07:00,651 - stpipe.PhotomStep - INFO - Step PhotomStep done\n", - "2021-06-18 13:07:02,097 - stpipe.PhotomStep - INFO - PhotomStep instance created.\n", - "2021-06-18 13:07:02,234 - stpipe.PhotomStep - INFO - Step PhotomStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_fringestep.fits',).\n", - "2021-06-18 13:07:02,236 - stpipe.PhotomStep - INFO - Step PhotomStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'inverse': False, 'source_type': None}\n", - "2021-06-18 13:07:03,448 - stpipe.PhotomStep - INFO - Using photom reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_photom_0060.fits\n", - "2021-06-18 13:07:03,448 - stpipe.PhotomStep - INFO - Using area reference file: N/A\n", - "2021-06-18 13:07:04,799 - stpipe.PhotomStep - INFO - Using instrument: MIRI\n", - "2021-06-18 13:07:04,800 - stpipe.PhotomStep - INFO - detector: MIRIFUSHORT\n", - "2021-06-18 13:07:04,800 - stpipe.PhotomStep - INFO - exp_type: MIR_MRS\n", - "2021-06-18 13:07:04,801 - stpipe.PhotomStep - INFO - band: LONG\n", - "2021-06-18 13:07:04,867 - stpipe.PhotomStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:07:06,170 - stpipe.PhotomStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_photomstep.fits\n", - "2021-06-18 13:07:06,170 - stpipe.PhotomStep - INFO - Step PhotomStep done\n", - "2021-06-18 13:07:07,761 - stpipe.PhotomStep - INFO - PhotomStep instance created.\n", - "2021-06-18 13:07:07,889 - stpipe.PhotomStep - INFO - Step PhotomStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_fringestep.fits',).\n", - "2021-06-18 13:07:07,890 - stpipe.PhotomStep - INFO - Step PhotomStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'inverse': False, 'source_type': None}\n", - "2021-06-18 13:07:09,359 - stpipe.PhotomStep - INFO - Using photom reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_photom_0060.fits\n", - "2021-06-18 13:07:09,359 - stpipe.PhotomStep - INFO - Using area reference file: N/A\n", - "2021-06-18 13:07:10,664 - stpipe.PhotomStep - INFO - Using instrument: MIRI\n", - "2021-06-18 13:07:10,665 - stpipe.PhotomStep - INFO - detector: MIRIFUSHORT\n", - "2021-06-18 13:07:10,666 - stpipe.PhotomStep - INFO - exp_type: MIR_MRS\n", - "2021-06-18 13:07:10,666 - stpipe.PhotomStep - INFO - band: LONG\n", - "2021-06-18 13:07:10,733 - stpipe.PhotomStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", - "2021-06-18 13:07:11,913 - stpipe.PhotomStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_photomstep.fits\n", - "2021-06-18 13:07:11,914 - stpipe.PhotomStep - INFO - Step PhotomStep done\n" + "2021-07-01 16:37:40,494 - stpipe.PhotomStep - INFO - PhotomStep instance created.\n", + "2021-07-01 16:37:40,619 - stpipe.PhotomStep - INFO - Step PhotomStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_fringestep.fits',).\n", + "2021-07-01 16:37:40,621 - stpipe.PhotomStep - INFO - Step PhotomStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'inverse': False, 'source_type': None}\n", + "2021-07-01 16:37:41,814 - stpipe.PhotomStep - INFO - Using photom reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_photom_0060.fits\n", + "2021-07-01 16:37:41,814 - stpipe.PhotomStep - INFO - Using area reference file: N/A\n", + "2021-07-01 16:37:43,077 - stpipe.PhotomStep - INFO - Using instrument: MIRI\n", + "2021-07-01 16:37:43,078 - stpipe.PhotomStep - INFO - detector: MIRIFUSHORT\n", + "2021-07-01 16:37:43,078 - stpipe.PhotomStep - INFO - exp_type: MIR_MRS\n", + "2021-07-01 16:37:43,079 - stpipe.PhotomStep - INFO - band: LONG\n", + "2021-07-01 16:37:43,165 - stpipe.PhotomStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:44,256 - stpipe.PhotomStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_photomstep.fits\n", + "2021-07-01 16:37:44,257 - stpipe.PhotomStep - INFO - Step PhotomStep done\n", + "2021-07-01 16:37:45,448 - stpipe.PhotomStep - INFO - PhotomStep instance created.\n", + "2021-07-01 16:37:45,570 - stpipe.PhotomStep - INFO - Step PhotomStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_fringestep.fits',).\n", + "2021-07-01 16:37:45,572 - stpipe.PhotomStep - INFO - Step PhotomStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'inverse': False, 'source_type': None}\n", + "2021-07-01 16:37:46,776 - stpipe.PhotomStep - INFO - Using photom reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_photom_0060.fits\n", + "2021-07-01 16:37:46,777 - stpipe.PhotomStep - INFO - Using area reference file: N/A\n", + "2021-07-01 16:37:48,038 - stpipe.PhotomStep - INFO - Using instrument: MIRI\n", + "2021-07-01 16:37:48,039 - stpipe.PhotomStep - INFO - detector: MIRIFUSHORT\n", + "2021-07-01 16:37:48,040 - stpipe.PhotomStep - INFO - exp_type: MIR_MRS\n", + "2021-07-01 16:37:48,040 - stpipe.PhotomStep - INFO - band: LONG\n", + "2021-07-01 16:37:48,107 - stpipe.PhotomStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:49,275 - stpipe.PhotomStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_photomstep.fits\n", + "2021-07-01 16:37:49,275 - stpipe.PhotomStep - INFO - Step PhotomStep done\n", + "2021-07-01 16:37:50,535 - stpipe.PhotomStep - INFO - PhotomStep instance created.\n", + "2021-07-01 16:37:50,657 - stpipe.PhotomStep - INFO - Step PhotomStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_fringestep.fits',).\n", + "2021-07-01 16:37:50,659 - stpipe.PhotomStep - INFO - Step PhotomStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'inverse': False, 'source_type': None}\n", + "2021-07-01 16:37:51,884 - stpipe.PhotomStep - INFO - Using photom reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_photom_0060.fits\n", + "2021-07-01 16:37:51,885 - stpipe.PhotomStep - INFO - Using area reference file: N/A\n", + "2021-07-01 16:37:53,137 - stpipe.PhotomStep - INFO - Using instrument: MIRI\n", + "2021-07-01 16:37:53,137 - stpipe.PhotomStep - INFO - detector: MIRIFUSHORT\n", + "2021-07-01 16:37:53,138 - stpipe.PhotomStep - INFO - exp_type: MIR_MRS\n", + "2021-07-01 16:37:53,138 - stpipe.PhotomStep - INFO - band: LONG\n", + "2021-07-01 16:37:53,203 - stpipe.PhotomStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:54,403 - stpipe.PhotomStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_photomstep.fits\n", + "2021-07-01 16:37:54,403 - stpipe.PhotomStep - INFO - Step PhotomStep done\n", + "2021-07-01 16:37:55,829 - stpipe.PhotomStep - INFO - PhotomStep instance created.\n", + "2021-07-01 16:37:55,978 - stpipe.PhotomStep - INFO - Step PhotomStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_fringestep.fits',).\n", + "2021-07-01 16:37:55,980 - stpipe.PhotomStep - INFO - Step PhotomStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'inverse': False, 'source_type': None}\n", + "2021-07-01 16:37:57,275 - stpipe.PhotomStep - INFO - Using photom reference file: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_photom_0060.fits\n", + "2021-07-01 16:37:57,276 - stpipe.PhotomStep - INFO - Using area reference file: N/A\n", + "2021-07-01 16:37:58,654 - stpipe.PhotomStep - INFO - Using instrument: MIRI\n", + "2021-07-01 16:37:58,655 - stpipe.PhotomStep - INFO - detector: MIRIFUSHORT\n", + "2021-07-01 16:37:58,656 - stpipe.PhotomStep - INFO - exp_type: MIR_MRS\n", + "2021-07-01 16:37:58,656 - stpipe.PhotomStep - INFO - band: LONG\n", + "2021-07-01 16:37:58,722 - stpipe.PhotomStep - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored\n", + "2021-07-01 16:37:59,990 - stpipe.PhotomStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_photomstep.fits\n", + "2021-07-01 16:37:59,991 - stpipe.PhotomStep - INFO - Step PhotomStep done\n" ] } ], @@ -1926,7 +1919,7 @@ }, { "cell_type": "code", - "execution_count": 47, + "execution_count": 46, "id": "dbaf3d6e", "metadata": {}, "outputs": [ @@ -1939,7 +1932,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_photomstep.fits']" ] }, - "execution_count": 47, + "execution_count": 46, "metadata": {}, "output_type": "execute_result" } @@ -1954,7 +1947,7 @@ }, { "cell_type": "markdown", - "id": "cc03b8d5", + "id": "b4951c99", "metadata": {}, "source": [ "Ordinarily we'd run the Spec2 pipeline as a pipeline rather than individual steps though, in which\n", @@ -1964,7 +1957,7 @@ }, { "cell_type": "code", - "execution_count": 48, + "execution_count": 47, "id": "9a74228f", "metadata": {}, "outputs": [], @@ -1980,7 +1973,7 @@ }, { "cell_type": "code", - "execution_count": 49, + "execution_count": 48, "id": "4cd046f2", "metadata": {}, "outputs": [ @@ -1990,7 +1983,7 @@ "(0.0, 250.0)" ] }, - "execution_count": 49, + "execution_count": 48, "metadata": {}, "output_type": "execute_result" }, @@ -2047,7 +2040,7 @@ }, { "cell_type": "code", - "execution_count": 50, + "execution_count": 49, "id": "8fefec72", "metadata": {}, "outputs": [], @@ -2075,7 +2068,7 @@ }, { "cell_type": "code", - "execution_count": 51, + "execution_count": 50, "id": "47ee4362", "metadata": {}, "outputs": [ @@ -2088,7 +2081,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_cal.fits']" ] }, - "execution_count": 51, + "execution_count": 50, "metadata": {}, "output_type": "execute_result" } @@ -2103,7 +2096,7 @@ }, { "cell_type": "code", - "execution_count": 52, + "execution_count": 51, "id": "a9c051d1", "metadata": { "scrolled": true @@ -2129,7 +2122,7 @@ }, { "cell_type": "code", - "execution_count": 53, + "execution_count": 52, "id": "6d53f0be", "metadata": { "scrolled": true @@ -2144,7 +2137,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_s3d.fits']" ] }, - "execution_count": 53, + "execution_count": 52, "metadata": {}, "output_type": "execute_result" } @@ -2159,7 +2152,7 @@ }, { "cell_type": "code", - "execution_count": 54, + "execution_count": 53, "id": "ddd593ed", "metadata": {}, "outputs": [ @@ -2169,7 +2162,7 @@ "Text(0.5, 0, 'X pixel')" ] }, - "execution_count": 54, + "execution_count": 53, "metadata": {}, "output_type": "execute_result" }, @@ -2234,7 +2227,7 @@ }, { "cell_type": "code", - "execution_count": 55, + "execution_count": 54, "id": "9908af74", "metadata": {}, "outputs": [ @@ -2244,7 +2237,7 @@ "'\\n smoothing_length = integer(default=None) # background smoothing size\\n bkg_fit = option(\"poly\", \"mean\", \"median\", default=\"poly\") # background fitting type\\n bkg_order = integer(default=None, min=0) # order of background polynomial fit\\n bkg_sigma_clip = float(default=3.0) # background sigma clipping threshold\\n log_increment = integer(default=50) # increment for multi-integration log messages\\n subtract_background = boolean(default=None) # subtract background?\\n use_source_posn = boolean(default=None) # use source coords to center extractions?\\n apply_apcorr = boolean(default=True) # apply aperture corrections?\\n '" ] }, - "execution_count": 55, + "execution_count": 54, "metadata": {}, "output_type": "execute_result" } @@ -2255,7 +2248,7 @@ }, { "cell_type": "code", - "execution_count": 56, + "execution_count": 55, "id": "1370c72e", "metadata": { "scrolled": true @@ -2265,50 +2258,50 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:07:13,794 - stpipe.Extract1dStep - INFO - Extract1dStep instance created.\n", - "2021-06-18 13:07:14,114 - stpipe.Extract1dStep - INFO - Step Extract1dStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_s3d.fits',).\n", - "2021-06-18 13:07:14,116 - stpipe.Extract1dStep - INFO - Step Extract1dStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'smoothing_length': None, 'bkg_fit': 'poly', 'bkg_order': None, 'bkg_sigma_clip': 3.0, 'log_increment': 50, 'subtract_background': None, 'use_source_posn': None, 'apply_apcorr': True}\n", - "2021-06-18 13:07:14,291 - stpipe.Extract1dStep - INFO - Using EXTRACT1D reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_extract1d_0002.asdf\n", - "2021-06-18 13:07:14,305 - stpipe.Extract1dStep - INFO - Using APCORR file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_apcorr_0001.asdf\n", - "2021-06-18 13:07:15,872 - stpipe.Extract1dStep - INFO - Turning on source position correction for exp_type = MIR_MRS\n", - "2021-06-18 13:07:15,873 - stpipe.Extract1dStep - INFO - Source type = POINT\n", - "2021-06-18 13:07:15,891 - stpipe.Extract1dStep - INFO - Using x_center = 29, y_center = 22, based on TARG_RA and TARG_DEC.\n", - "2021-06-18 13:07:26,458 - stpipe.Extract1dStep - INFO - Applying Aperture correction.\n", - "2021-06-18 13:07:28,058 - stpipe.Extract1dStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_extract1dstep.fits\n", - "2021-06-18 13:07:28,059 - stpipe.Extract1dStep - INFO - Step Extract1dStep done\n", - "2021-06-18 13:07:28,284 - stpipe.Extract1dStep - INFO - Extract1dStep instance created.\n", - "2021-06-18 13:07:28,421 - stpipe.Extract1dStep - INFO - Step Extract1dStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_s3d.fits',).\n", - "2021-06-18 13:07:28,424 - stpipe.Extract1dStep - INFO - Step Extract1dStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'smoothing_length': None, 'bkg_fit': 'poly', 'bkg_order': None, 'bkg_sigma_clip': 3.0, 'log_increment': 50, 'subtract_background': None, 'use_source_posn': None, 'apply_apcorr': True}\n", - "2021-06-18 13:07:28,577 - stpipe.Extract1dStep - INFO - Using EXTRACT1D reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_extract1d_0002.asdf\n", - "2021-06-18 13:07:28,592 - stpipe.Extract1dStep - INFO - Using APCORR file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_apcorr_0001.asdf\n", - "2021-06-18 13:07:30,513 - stpipe.Extract1dStep - INFO - Turning on source position correction for exp_type = MIR_MRS\n", - "2021-06-18 13:07:30,514 - stpipe.Extract1dStep - INFO - Source type = POINT\n", - "2021-06-18 13:07:30,532 - stpipe.Extract1dStep - INFO - Using x_center = 13, y_center = 27, based on TARG_RA and TARG_DEC.\n", - "2021-06-18 13:07:41,393 - stpipe.Extract1dStep - INFO - Applying Aperture correction.\n", - "2021-06-18 13:07:42,713 - stpipe.Extract1dStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_extract1dstep.fits\n", - "2021-06-18 13:07:42,714 - stpipe.Extract1dStep - INFO - Step Extract1dStep done\n", - "2021-06-18 13:07:42,863 - stpipe.Extract1dStep - INFO - Extract1dStep instance created.\n", - "2021-06-18 13:07:42,974 - stpipe.Extract1dStep - INFO - Step Extract1dStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_s3d.fits',).\n", - "2021-06-18 13:07:42,976 - stpipe.Extract1dStep - INFO - Step Extract1dStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'smoothing_length': None, 'bkg_fit': 'poly', 'bkg_order': None, 'bkg_sigma_clip': 3.0, 'log_increment': 50, 'subtract_background': None, 'use_source_posn': None, 'apply_apcorr': True}\n", - "2021-06-18 13:07:43,111 - stpipe.Extract1dStep - INFO - Using EXTRACT1D reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_extract1d_0002.asdf\n", - "2021-06-18 13:07:43,123 - stpipe.Extract1dStep - INFO - Using APCORR file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_apcorr_0001.asdf\n", - "2021-06-18 13:07:44,700 - stpipe.Extract1dStep - INFO - Turning on source position correction for exp_type = MIR_MRS\n", - "2021-06-18 13:07:44,700 - stpipe.Extract1dStep - INFO - Source type = POINT\n", - "2021-06-18 13:07:44,717 - stpipe.Extract1dStep - INFO - Using x_center = 28, y_center = 22, based on TARG_RA and TARG_DEC.\n", - "2021-06-18 13:07:55,075 - stpipe.Extract1dStep - INFO - Applying Aperture correction.\n", - "2021-06-18 13:07:56,348 - stpipe.Extract1dStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_extract1dstep.fits\n", - "2021-06-18 13:07:56,348 - stpipe.Extract1dStep - INFO - Step Extract1dStep done\n", - "2021-06-18 13:07:56,496 - stpipe.Extract1dStep - INFO - Extract1dStep instance created.\n", - "2021-06-18 13:07:56,616 - stpipe.Extract1dStep - INFO - Step Extract1dStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_s3d.fits',).\n", - "2021-06-18 13:07:56,619 - stpipe.Extract1dStep - INFO - Step Extract1dStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'smoothing_length': None, 'bkg_fit': 'poly', 'bkg_order': None, 'bkg_sigma_clip': 3.0, 'log_increment': 50, 'subtract_background': None, 'use_source_posn': None, 'apply_apcorr': True}\n", - "2021-06-18 13:07:56,751 - stpipe.Extract1dStep - INFO - Using EXTRACT1D reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_extract1d_0002.asdf\n", - "2021-06-18 13:07:56,762 - stpipe.Extract1dStep - INFO - Using APCORR file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_apcorr_0001.asdf\n", - "2021-06-18 13:07:58,300 - stpipe.Extract1dStep - INFO - Turning on source position correction for exp_type = MIR_MRS\n", - "2021-06-18 13:07:58,301 - stpipe.Extract1dStep - INFO - Source type = POINT\n", - "2021-06-18 13:07:58,317 - stpipe.Extract1dStep - INFO - Using x_center = 12, y_center = 27, based on TARG_RA and TARG_DEC.\n", - "2021-06-18 13:08:08,717 - stpipe.Extract1dStep - INFO - Applying Aperture correction.\n", - "2021-06-18 13:08:10,024 - stpipe.Extract1dStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_extract1dstep.fits\n", - "2021-06-18 13:08:10,024 - stpipe.Extract1dStep - INFO - Step Extract1dStep done\n" + "2021-07-01 16:38:01,956 - stpipe.Extract1dStep - INFO - Extract1dStep instance created.\n", + "2021-07-01 16:38:02,246 - stpipe.Extract1dStep - INFO - Step Extract1dStep running with args ('stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_s3d.fits',).\n", + "2021-07-01 16:38:02,247 - stpipe.Extract1dStep - INFO - Step Extract1dStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'smoothing_length': None, 'bkg_fit': 'poly', 'bkg_order': None, 'bkg_sigma_clip': 3.0, 'log_increment': 50, 'subtract_background': None, 'use_source_posn': None, 'apply_apcorr': True}\n", + "2021-07-01 16:38:02,395 - stpipe.Extract1dStep - INFO - Using EXTRACT1D reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_extract1d_0002.asdf\n", + "2021-07-01 16:38:02,406 - stpipe.Extract1dStep - INFO - Using APCORR file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_apcorr_0001.asdf\n", + "2021-07-01 16:38:04,077 - stpipe.Extract1dStep - INFO - Turning on source position correction for exp_type = MIR_MRS\n", + "2021-07-01 16:38:04,078 - stpipe.Extract1dStep - INFO - Source type = POINT\n", + "2021-07-01 16:38:04,095 - stpipe.Extract1dStep - INFO - Using x_center = 29, y_center = 22, based on TARG_RA and TARG_DEC.\n", + "2021-07-01 16:38:14,363 - stpipe.Extract1dStep - INFO - Applying Aperture correction.\n", + "2021-07-01 16:38:15,668 - stpipe.Extract1dStep - INFO - Saved model in stage2/det_image_seq1_MIRIFUSHORT_12LONGexp1_extract1dstep.fits\n", + "2021-07-01 16:38:15,668 - stpipe.Extract1dStep - INFO - Step Extract1dStep done\n", + "2021-07-01 16:38:15,792 - stpipe.Extract1dStep - INFO - Extract1dStep instance created.\n", + "2021-07-01 16:38:15,938 - stpipe.Extract1dStep - INFO - Step Extract1dStep running with args ('stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_s3d.fits',).\n", + "2021-07-01 16:38:15,941 - stpipe.Extract1dStep - INFO - Step Extract1dStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'smoothing_length': None, 'bkg_fit': 'poly', 'bkg_order': None, 'bkg_sigma_clip': 3.0, 'log_increment': 50, 'subtract_background': None, 'use_source_posn': None, 'apply_apcorr': True}\n", + "2021-07-01 16:38:16,073 - stpipe.Extract1dStep - INFO - Using EXTRACT1D reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_extract1d_0002.asdf\n", + "2021-07-01 16:38:16,085 - stpipe.Extract1dStep - INFO - Using APCORR file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_apcorr_0001.asdf\n", + "2021-07-01 16:38:17,641 - stpipe.Extract1dStep - INFO - Turning on source position correction for exp_type = MIR_MRS\n", + "2021-07-01 16:38:17,642 - stpipe.Extract1dStep - INFO - Source type = POINT\n", + "2021-07-01 16:38:17,658 - stpipe.Extract1dStep - INFO - Using x_center = 13, y_center = 27, based on TARG_RA and TARG_DEC.\n", + "2021-07-01 16:38:27,982 - stpipe.Extract1dStep - INFO - Applying Aperture correction.\n", + "2021-07-01 16:38:29,268 - stpipe.Extract1dStep - INFO - Saved model in stage2/det_image_seq2_MIRIFUSHORT_12LONGexp1_extract1dstep.fits\n", + "2021-07-01 16:38:29,269 - stpipe.Extract1dStep - INFO - Step Extract1dStep done\n", + "2021-07-01 16:38:29,411 - stpipe.Extract1dStep - INFO - Extract1dStep instance created.\n", + "2021-07-01 16:38:29,523 - stpipe.Extract1dStep - INFO - Step Extract1dStep running with args ('stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_s3d.fits',).\n", + "2021-07-01 16:38:29,525 - stpipe.Extract1dStep - INFO - Step Extract1dStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'smoothing_length': None, 'bkg_fit': 'poly', 'bkg_order': None, 'bkg_sigma_clip': 3.0, 'log_increment': 50, 'subtract_background': None, 'use_source_posn': None, 'apply_apcorr': True}\n", + "2021-07-01 16:38:29,652 - stpipe.Extract1dStep - INFO - Using EXTRACT1D reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_extract1d_0002.asdf\n", + "2021-07-01 16:38:29,663 - stpipe.Extract1dStep - INFO - Using APCORR file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_apcorr_0001.asdf\n", + "2021-07-01 16:38:31,107 - stpipe.Extract1dStep - INFO - Turning on source position correction for exp_type = MIR_MRS\n", + "2021-07-01 16:38:31,108 - stpipe.Extract1dStep - INFO - Source type = POINT\n", + "2021-07-01 16:38:31,125 - stpipe.Extract1dStep - INFO - Using x_center = 28, y_center = 22, based on TARG_RA and TARG_DEC.\n", + "2021-07-01 16:38:40,612 - stpipe.Extract1dStep - INFO - Applying Aperture correction.\n", + "2021-07-01 16:38:41,883 - stpipe.Extract1dStep - INFO - Saved model in stage2/det_image_seq3_MIRIFUSHORT_12LONGexp1_extract1dstep.fits\n", + "2021-07-01 16:38:41,884 - stpipe.Extract1dStep - INFO - Step Extract1dStep done\n", + "2021-07-01 16:38:42,037 - stpipe.Extract1dStep - INFO - Extract1dStep instance created.\n", + "2021-07-01 16:38:42,172 - stpipe.Extract1dStep - INFO - Step Extract1dStep running with args ('stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_s3d.fits',).\n", + "2021-07-01 16:38:42,175 - stpipe.Extract1dStep - INFO - Step Extract1dStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage2/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'smoothing_length': None, 'bkg_fit': 'poly', 'bkg_order': None, 'bkg_sigma_clip': 3.0, 'log_increment': 50, 'subtract_background': None, 'use_source_posn': None, 'apply_apcorr': True}\n", + "2021-07-01 16:38:42,309 - stpipe.Extract1dStep - INFO - Using EXTRACT1D reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_extract1d_0002.asdf\n", + "2021-07-01 16:38:42,321 - stpipe.Extract1dStep - INFO - Using APCORR file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_apcorr_0001.asdf\n", + "2021-07-01 16:38:43,812 - stpipe.Extract1dStep - INFO - Turning on source position correction for exp_type = MIR_MRS\n", + "2021-07-01 16:38:43,812 - stpipe.Extract1dStep - INFO - Source type = POINT\n", + "2021-07-01 16:38:43,830 - stpipe.Extract1dStep - INFO - Using x_center = 12, y_center = 27, based on TARG_RA and TARG_DEC.\n", + "2021-07-01 16:38:53,185 - stpipe.Extract1dStep - INFO - Applying Aperture correction.\n", + "2021-07-01 16:38:54,397 - stpipe.Extract1dStep - INFO - Saved model in stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_extract1dstep.fits\n", + "2021-07-01 16:38:54,397 - stpipe.Extract1dStep - INFO - Step Extract1dStep done\n" ] } ], @@ -2320,7 +2313,7 @@ }, { "cell_type": "code", - "execution_count": 57, + "execution_count": 56, "id": "9aaf5b53", "metadata": {}, "outputs": [ @@ -2333,7 +2326,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_extract1dstep.fits']" ] }, - "execution_count": 57, + "execution_count": 56, "metadata": {}, "output_type": "execute_result" } @@ -2348,7 +2341,7 @@ }, { "cell_type": "code", - "execution_count": 58, + "execution_count": 57, "id": "d74a7f58", "metadata": {}, "outputs": [ @@ -2358,7 +2351,7 @@ "Text(0, 0.5, 'Flux (Jy)')" ] }, - "execution_count": 58, + "execution_count": 57, "metadata": {}, "output_type": "execute_result" }, @@ -2395,7 +2388,7 @@ }, { "cell_type": "code", - "execution_count": 59, + "execution_count": 58, "id": "4f675706", "metadata": {}, "outputs": [ @@ -2416,7 +2409,7 @@ }, { "cell_type": "code", - "execution_count": 60, + "execution_count": 59, "id": "0c239073", "metadata": {}, "outputs": [], @@ -2427,7 +2420,7 @@ }, { "cell_type": "code", - "execution_count": 61, + "execution_count": 60, "id": "96692bb8", "metadata": {}, "outputs": [ @@ -2435,7 +2428,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Runtime so far: 242.1992 seconds\n" + "Runtime so far: 232.7118 seconds\n" ] } ], @@ -2496,7 +2489,7 @@ }, { "cell_type": "code", - "execution_count": 62, + "execution_count": 61, "id": "5e920cc6", "metadata": { "scrolled": false @@ -2565,7 +2558,7 @@ }, { "cell_type": "code", - "execution_count": 63, + "execution_count": 62, "id": "4afb67ac", "metadata": { "scrolled": false @@ -2580,7 +2573,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_cal.fits']" ] }, - "execution_count": 63, + "execution_count": 62, "metadata": {}, "output_type": "execute_result" } @@ -2595,7 +2588,7 @@ }, { "cell_type": "markdown", - "id": "52b0667f", + "id": "8f4c44e7", "metadata": {}, "source": [ "In these simulations the background doesn't vary, but let's pretend that it did.\n", @@ -2604,7 +2597,7 @@ }, { "cell_type": "code", - "execution_count": 64, + "execution_count": 63, "id": "85a98b54", "metadata": { "scrolled": false @@ -2619,7 +2612,7 @@ }, { "cell_type": "code", - "execution_count": 65, + "execution_count": 64, "id": "2a5a50bd", "metadata": { "scrolled": true @@ -2629,7 +2622,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:08:10,512 - stpipe.CubeBuildStep - INFO - CubeBuildStep instance created.\n" + "2021-07-01 16:38:54,945 - stpipe.CubeBuildStep - INFO - CubeBuildStep instance created.\n" ] } ], @@ -2657,7 +2650,7 @@ }, { "cell_type": "code", - "execution_count": 66, + "execution_count": 65, "id": "f31bf638", "metadata": { "scrolled": true @@ -2667,15 +2660,15 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:08:10,564 - stpipe.Spec3Pipeline - INFO - Spec3Pipeline instance created.\n", - "2021-06-18 13:08:10,566 - stpipe.Spec3Pipeline.assign_mtwcs - INFO - AssignMTWcsStep instance created.\n", - "2021-06-18 13:08:10,567 - stpipe.Spec3Pipeline.master_background - INFO - MasterBackgroundStep instance created.\n", - "2021-06-18 13:08:10,569 - stpipe.Spec3Pipeline.mrs_imatch - INFO - MRSIMatchStep instance created.\n", - "2021-06-18 13:08:10,571 - stpipe.Spec3Pipeline.outlier_detection - INFO - OutlierDetectionStep instance created.\n", - "2021-06-18 13:08:10,573 - stpipe.Spec3Pipeline.resample_spec - INFO - ResampleSpecStep instance created.\n", - "2021-06-18 13:08:10,575 - stpipe.Spec3Pipeline.cube_build - INFO - CubeBuildStep instance created.\n", - "2021-06-18 13:08:10,577 - stpipe.Spec3Pipeline.extract_1d - INFO - Extract1dStep instance created.\n", - "2021-06-18 13:08:10,579 - stpipe.Spec3Pipeline.combine_1d - INFO - Combine1dStep instance created.\n" + "2021-07-01 16:38:55,190 - stpipe.Spec3Pipeline - INFO - Spec3Pipeline instance created.\n", + "2021-07-01 16:38:55,192 - stpipe.Spec3Pipeline.assign_mtwcs - INFO - AssignMTWcsStep instance created.\n", + "2021-07-01 16:38:55,194 - stpipe.Spec3Pipeline.master_background - INFO - MasterBackgroundStep instance created.\n", + "2021-07-01 16:38:55,196 - stpipe.Spec3Pipeline.mrs_imatch - INFO - MRSIMatchStep instance created.\n", + "2021-07-01 16:38:55,198 - stpipe.Spec3Pipeline.outlier_detection - INFO - OutlierDetectionStep instance created.\n", + "2021-07-01 16:38:55,200 - stpipe.Spec3Pipeline.resample_spec - INFO - ResampleSpecStep instance created.\n", + "2021-07-01 16:38:55,203 - stpipe.Spec3Pipeline.cube_build - INFO - CubeBuildStep instance created.\n", + "2021-07-01 16:38:55,205 - stpipe.Spec3Pipeline.extract_1d - INFO - Extract1dStep instance created.\n", + "2021-07-01 16:38:55,207 - stpipe.Spec3Pipeline.combine_1d - INFO - Combine1dStep instance created.\n" ] } ], @@ -2705,7 +2698,7 @@ }, { "cell_type": "code", - "execution_count": 67, + "execution_count": 66, "id": "ed3e5121", "metadata": { "scrolled": false @@ -2717,7 +2710,7 @@ "Text(0.5, 0, 'X pixel')" ] }, - "execution_count": 67, + "execution_count": 66, "metadata": {}, "output_type": "execute_result" }, @@ -2768,7 +2761,7 @@ }, { "cell_type": "code", - "execution_count": 68, + "execution_count": 67, "id": "b2d1c313", "metadata": {}, "outputs": [], @@ -2798,7 +2791,7 @@ }, { "cell_type": "markdown", - "id": "edffe69f", + "id": "afce5ced", "metadata": {}, "source": [ "As for residual background matching, there aren't generally many outliers in mirisim simulated data for us to demonstrate this algorithm on.\n", @@ -2807,7 +2800,7 @@ }, { "cell_type": "code", - "execution_count": 69, + "execution_count": 68, "id": "01d49bad", "metadata": {}, "outputs": [ @@ -2820,7 +2813,7 @@ " 'stage2/det_image_seq4_MIRIFUSHORT_12LONGexp1_cal.fits']" ] }, - "execution_count": 69, + "execution_count": 68, "metadata": {}, "output_type": "execute_result" } @@ -2836,7 +2829,7 @@ }, { "cell_type": "code", - "execution_count": 70, + "execution_count": 69, "id": "69f274f6", "metadata": {}, "outputs": [], @@ -2852,7 +2845,7 @@ }, { "cell_type": "code", - "execution_count": 71, + "execution_count": 70, "id": "b4d6453c", "metadata": {}, "outputs": [ @@ -2860,7 +2853,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:08:11,019 - stpipe.CubeBuildStep - INFO - CubeBuildStep instance created.\n" + "2021-07-01 16:38:55,850 - stpipe.CubeBuildStep - INFO - CubeBuildStep instance created.\n" ] } ], @@ -2888,7 +2881,7 @@ }, { "cell_type": "code", - "execution_count": 72, + "execution_count": 71, "id": "b4fd582b", "metadata": {}, "outputs": [ @@ -2896,17 +2889,17 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:08:17,828 - stpipe - INFO - PARS-OUTLIERDETECTIONSTEP parameters found: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_pars-outlierdetectionstep_0050.asdf\n", - "2021-06-18 13:08:17,838 - stpipe - INFO - PARS-OUTLIERDETECTIONSTEP parameters are {'scale': '7.5 7.5'}\n", - "2021-06-18 13:08:24,667 - stpipe.Spec3Pipeline - INFO - Spec3Pipeline instance created.\n", - "2021-06-18 13:08:24,668 - stpipe.Spec3Pipeline.assign_mtwcs - INFO - AssignMTWcsStep instance created.\n", - "2021-06-18 13:08:24,670 - stpipe.Spec3Pipeline.master_background - INFO - MasterBackgroundStep instance created.\n", - "2021-06-18 13:08:24,672 - stpipe.Spec3Pipeline.mrs_imatch - INFO - MRSIMatchStep instance created.\n", - "2021-06-18 13:08:24,674 - stpipe.Spec3Pipeline.outlier_detection - INFO - OutlierDetectionStep instance created.\n", - "2021-06-18 13:08:24,676 - stpipe.Spec3Pipeline.resample_spec - INFO - ResampleSpecStep instance created.\n", - "2021-06-18 13:08:24,678 - stpipe.Spec3Pipeline.cube_build - INFO - CubeBuildStep instance created.\n", - "2021-06-18 13:08:24,680 - stpipe.Spec3Pipeline.extract_1d - INFO - Extract1dStep instance created.\n", - "2021-06-18 13:08:24,682 - stpipe.Spec3Pipeline.combine_1d - INFO - Combine1dStep instance created.\n" + "2021-07-01 16:39:02,156 - stpipe - INFO - PARS-OUTLIERDETECTIONSTEP parameters found: /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_pars-outlierdetectionstep_0050.asdf\n", + "2021-07-01 16:39:02,170 - stpipe - INFO - PARS-OUTLIERDETECTIONSTEP parameters are {'scale': '7.5 7.5'}\n", + "2021-07-01 16:39:08,435 - stpipe.Spec3Pipeline - INFO - Spec3Pipeline instance created.\n", + "2021-07-01 16:39:08,436 - stpipe.Spec3Pipeline.assign_mtwcs - INFO - AssignMTWcsStep instance created.\n", + "2021-07-01 16:39:08,438 - stpipe.Spec3Pipeline.master_background - INFO - MasterBackgroundStep instance created.\n", + "2021-07-01 16:39:08,439 - stpipe.Spec3Pipeline.mrs_imatch - INFO - MRSIMatchStep instance created.\n", + "2021-07-01 16:39:08,442 - stpipe.Spec3Pipeline.outlier_detection - INFO - OutlierDetectionStep instance created.\n", + "2021-07-01 16:39:08,445 - stpipe.Spec3Pipeline.resample_spec - INFO - ResampleSpecStep instance created.\n", + "2021-07-01 16:39:08,448 - stpipe.Spec3Pipeline.cube_build - INFO - CubeBuildStep instance created.\n", + "2021-07-01 16:39:08,450 - stpipe.Spec3Pipeline.extract_1d - INFO - Extract1dStep instance created.\n", + "2021-07-01 16:39:08,452 - stpipe.Spec3Pipeline.combine_1d - INFO - Combine1dStep instance created.\n" ] } ], @@ -2949,17 +2942,17 @@ }, { "cell_type": "code", - "execution_count": 73, + "execution_count": 72, "id": "31e36b94", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "[]" + "[]" ] }, - "execution_count": 73, + "execution_count": 72, "metadata": {}, "output_type": "execute_result" }, @@ -3015,7 +3008,7 @@ }, { "cell_type": "markdown", - "id": "e0df9f20", + "id": "20a49175", "metadata": {}, "source": [ "That DQ array is pretty messy! What is it telling us?\n", @@ -3024,7 +3017,7 @@ }, { "cell_type": "code", - "execution_count": 74, + "execution_count": 73, "id": "140630f7", "metadata": {}, "outputs": [ @@ -3042,7 +3035,7 @@ }, { "cell_type": "markdown", - "id": "a16977d9", + "id": "c02430b7", "metadata": {}, "source": [ "That's not very useful on its own, but we can ask the pipeline to tell us what this DQ flag value actually means:" @@ -3050,7 +3043,7 @@ }, { "cell_type": "code", - "execution_count": 75, + "execution_count": 74, "id": "39af431d", "metadata": {}, "outputs": [ @@ -3060,7 +3053,7 @@ "{'DO_NOT_USE', 'OUTLIER'}" ] }, - "execution_count": 75, + "execution_count": 74, "metadata": {}, "output_type": "execute_result" } @@ -3079,7 +3072,7 @@ }, { "cell_type": "code", - "execution_count": 76, + "execution_count": 75, "id": "7371ba15", "metadata": {}, "outputs": [], @@ -3090,17 +3083,17 @@ }, { "cell_type": "code", - "execution_count": 77, + "execution_count": 76, "id": "2af46a2b", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 77, + "execution_count": 76, "metadata": {}, "output_type": "execute_result" }, @@ -3152,7 +3145,7 @@ }, { "cell_type": "code", - "execution_count": 78, + "execution_count": 77, "id": "d342b7d3", "metadata": {}, "outputs": [], @@ -3182,7 +3175,7 @@ }, { "cell_type": "code", - "execution_count": 79, + "execution_count": 78, "id": "99456897", "metadata": { "scrolled": true @@ -3192,7 +3185,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:08:25,491 - stpipe.CubeBuildStep - INFO - CubeBuildStep instance created.\n" + "2021-07-01 16:39:09,657 - stpipe.CubeBuildStep - INFO - CubeBuildStep instance created.\n" ] } ], @@ -3225,7 +3218,7 @@ }, { "cell_type": "code", - "execution_count": 80, + "execution_count": 79, "id": "788c63af", "metadata": { "scrolled": true @@ -3235,7 +3228,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:08:25,536 - stpipe.CubeBuildStep - INFO - CubeBuildStep instance created.\n" + "2021-07-01 16:39:09,850 - stpipe.CubeBuildStep - INFO - CubeBuildStep instance created.\n" ] } ], @@ -3258,7 +3251,7 @@ }, { "cell_type": "code", - "execution_count": 81, + "execution_count": 80, "id": "1052a894", "metadata": {}, "outputs": [ @@ -3268,7 +3261,7 @@ "Text(0.5, 1.0, 'IFUALIGN')" ] }, - "execution_count": 81, + "execution_count": 80, "metadata": {}, "output_type": "execute_result" }, @@ -3320,7 +3313,7 @@ }, { "cell_type": "code", - "execution_count": 82, + "execution_count": 81, "id": "295feb99", "metadata": {}, "outputs": [], @@ -3348,7 +3341,7 @@ }, { "cell_type": "code", - "execution_count": 83, + "execution_count": 82, "id": "971d1cfd", "metadata": {}, "outputs": [ @@ -3356,17 +3349,17 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:08:26,035 - stpipe.Extract1dStep - INFO - Extract1dStep instance created.\n", - "2021-06-18 13:08:26,326 - stpipe.Extract1dStep - INFO - Step Extract1dStep running with args ('stage3/l3_ch2-long_s3d.fits',).\n", - "2021-06-18 13:08:26,329 - stpipe.Extract1dStep - INFO - Step Extract1dStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage3/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'smoothing_length': None, 'bkg_fit': 'poly', 'bkg_order': None, 'bkg_sigma_clip': 3.0, 'log_increment': 50, 'subtract_background': None, 'use_source_posn': None, 'apply_apcorr': True}\n", - "2021-06-18 13:08:26,548 - stpipe.Extract1dStep - INFO - Using EXTRACT1D reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_extract1d_0002.asdf\n", - "2021-06-18 13:08:26,561 - stpipe.Extract1dStep - INFO - Using APCORR file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_apcorr_0001.asdf\n", - "2021-06-18 13:08:28,169 - stpipe.Extract1dStep - INFO - Turning on source position correction for exp_type = MIR_MRS\n", - "2021-06-18 13:08:28,170 - stpipe.Extract1dStep - INFO - Source type = POINT\n", - "2021-06-18 13:08:28,188 - stpipe.Extract1dStep - INFO - Using x_center = 22, y_center = 21, based on TARG_RA and TARG_DEC.\n", - "2021-06-18 13:08:30,428 - stpipe.Extract1dStep - INFO - Applying Aperture correction.\n", - "2021-06-18 13:08:30,781 - stpipe.Extract1dStep - INFO - Saved model in stage3/l3_ch2-long_extract1dstep.fits\n", - "2021-06-18 13:08:30,781 - stpipe.Extract1dStep - INFO - Step Extract1dStep done\n" + "2021-07-01 16:39:10,493 - stpipe.Extract1dStep - INFO - Extract1dStep instance created.\n", + "2021-07-01 16:39:10,798 - stpipe.Extract1dStep - INFO - Step Extract1dStep running with args ('stage3/l3_ch2-long_s3d.fits',).\n", + "2021-07-01 16:39:10,800 - stpipe.Extract1dStep - INFO - Step Extract1dStep parameters are: {'pre_hooks': [], 'post_hooks': [], 'output_file': None, 'output_dir': 'stage3/', 'output_ext': '.fits', 'output_use_model': False, 'output_use_index': True, 'save_results': True, 'skip': False, 'suffix': None, 'search_output_file': True, 'input_dir': '', 'smoothing_length': None, 'bkg_fit': 'poly', 'bkg_order': None, 'bkg_sigma_clip': 3.0, 'log_increment': 50, 'subtract_background': None, 'use_source_posn': None, 'apply_apcorr': True}\n", + "2021-07-01 16:39:11,021 - stpipe.Extract1dStep - INFO - Using EXTRACT1D reference file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_extract1d_0002.asdf\n", + "2021-07-01 16:39:11,032 - stpipe.Extract1dStep - INFO - Using APCORR file /Users/dlaw/crds_cache/references/jwst/miri/jwst_miri_apcorr_0001.asdf\n", + "2021-07-01 16:39:12,534 - stpipe.Extract1dStep - INFO - Turning on source position correction for exp_type = MIR_MRS\n", + "2021-07-01 16:39:12,535 - stpipe.Extract1dStep - INFO - Source type = POINT\n", + "2021-07-01 16:39:12,553 - stpipe.Extract1dStep - INFO - Using x_center = 22, y_center = 21, based on TARG_RA and TARG_DEC.\n", + "2021-07-01 16:39:14,604 - stpipe.Extract1dStep - INFO - Applying Aperture correction.\n", + "2021-07-01 16:39:14,946 - stpipe.Extract1dStep - INFO - Saved model in stage3/l3_ch2-long_extract1dstep.fits\n", + "2021-07-01 16:39:14,947 - stpipe.Extract1dStep - INFO - Step Extract1dStep done\n" ] }, { @@ -3375,7 +3368,7 @@ "" ] }, - "execution_count": 83, + "execution_count": 82, "metadata": {}, "output_type": "execute_result" } @@ -3388,7 +3381,7 @@ }, { "cell_type": "code", - "execution_count": 84, + "execution_count": 83, "id": "24ed3779", "metadata": {}, "outputs": [ @@ -3398,7 +3391,7 @@ "Text(0, 0.5, 'Flux (Jy)')" ] }, - "execution_count": 84, + "execution_count": 83, "metadata": {}, "output_type": "execute_result" }, @@ -3438,7 +3431,7 @@ }, { "cell_type": "code", - "execution_count": 85, + "execution_count": 84, "id": "d320dee1", "metadata": {}, "outputs": [], @@ -3449,7 +3442,7 @@ }, { "cell_type": "code", - "execution_count": 86, + "execution_count": 85, "id": "942a9026", "metadata": {}, "outputs": [ @@ -3457,7 +3450,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Runtime so far: 262.9359 seconds\n" + "Runtime so far: 253.2552 seconds\n" ] } ], diff --git a/Notebook2/MRS_Notebook2.ipynb b/Notebook2/MRS_Notebook2.ipynb index 65d13e9..26646e6 100644 --- a/Notebook2/MRS_Notebook2.ipynb +++ b/Notebook2/MRS_Notebook2.ipynb @@ -24,7 +24,7 @@ "source": [ "**Author**: David Law, AURA Associate Astronomer, MIRI branch\n", "
\n", - "**Last Updated**: June 18, 2021\n", + "**Last Updated**: July 1, 2021\n", "
\n", "**Pipeline Version**: 1.1.0" ] @@ -163,7 +163,7 @@ }, { "cell_type": "markdown", - "id": "4a5224f8", + "id": "acc46ca5", "metadata": {}, "source": [ "Set our CRDS context for reference files (see https://jwst-crds.stsci.edu/)\n", @@ -297,7 +297,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "1b0a5224", + "id": "a5a835ac", "metadata": {}, "outputs": [], "source": [ @@ -321,7 +321,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "4f3e7fbd", + "id": "8fb78d51", "metadata": {}, "outputs": [], "source": [ @@ -343,7 +343,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:03:50,080 - stpipe - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/photutils/detection/findstars.py:33: AstropyDeprecationWarning: _StarFinderKernel was moved to the photutils.detection._utils module. Please update your import statement.\n", + "2021-07-01 16:35:01,761 - stpipe - WARNING - /Users/dlaw/anaconda3/envs/jwst1.1.0/lib/python3.9/site-packages/photutils/detection/findstars.py:33: AstropyDeprecationWarning: _StarFinderKernel was moved to the photutils.detection._utils module. Please update your import statement.\n", " warnings.warn(f'{name} was moved to the {deprecated[name]} module. '\n", "\n" ] @@ -374,25 +374,6 @@ "import jwst.ramp_fitting.utils as utils # Utilities for handling multiprocessing" ] }, - { - "cell_type": "code", - "execution_count": 9, - "id": "b9d8b1ba", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "JWST pipeline version 1.1.0\n" - ] - } - ], - "source": [ - "# Print out what pipeline version we're using\n", - "print('JWST pipeline version', jwst.__version__)" - ] - }, { "cell_type": "markdown", "id": "f6c32ec1", @@ -403,19 +384,21 @@ }, { "cell_type": "markdown", - "id": "ae643839", + "id": "d941c6a8", "metadata": {}, "source": [ + "Input data for this notebook MUST be downloaded from Box prior to running the rest of this notebook!\n", + "\n", "Data can be obtained from https://stsci.box.com/s/kdzsylowpp5q6herx4hc23noc9z71z0f
\n", - "Since the contents of this Box directory are quite large (roughly 9 GB, including multiple inputs, outputs, and intermediate products), downloading the data for home use is left to the user in whichever means they determine to be best.\n", + "Since the contents of this Box directory are quite large (roughly 9 GB, including multiple inputs, outputs, and intermediate products), downloading the data for home use is left to the user in whichever means they determine to be best. If you just want the input simulations, you just need to download the 'stage0' directory. If you do not download the cached results in the 'stage1', 'stage2', and 'stage3' directories though you will need to make sure to set 'redolong'=True in Section 2.4\n", " \n", "By default, the contents of this Box directory are assumed to be in the same directory as this notebook. However, it is also possible to install them in another location and use this as a cache of pre-reduced results against which new reductions can be compared." ] }, { "cell_type": "code", - "execution_count": 10, - "id": "8d37e3cc", + "execution_count": 42, + "id": "679156f1", "metadata": {}, "outputs": [], "source": [ @@ -428,7 +411,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 10, "id": "a43f30d5", "metadata": {}, "outputs": [], @@ -458,7 +441,7 @@ }, { "cell_type": "markdown", - "id": "2d5801f6", + "id": "ad7ff1e3", "metadata": {}, "source": [ "Since some parts of the pipeline take a long time to run, for a first use of this notebook we will disable those steps and simply copy results out of the cache for informational purposes. In order to run the full pipeline on the data, or to run this notebook on your own simulated data not downloaded from the Box link above, this reprocessing flag will need to be enabled." @@ -466,7 +449,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 11, "id": "a9cddd63", "metadata": {}, "outputs": [], @@ -487,7 +470,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 12, "id": "51271da5", "metadata": {}, "outputs": [], @@ -528,7 +511,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 13, "id": "805cb62e", "metadata": {}, "outputs": [], @@ -539,7 +522,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 14, "id": "9f3660af", "metadata": {}, "outputs": [], @@ -556,7 +539,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 15, "id": "c1383d60", "metadata": {}, "outputs": [ @@ -577,7 +560,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 16, "id": "d44991e3", "metadata": {}, "outputs": [], @@ -599,7 +582,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 17, "id": "e3e79df2", "metadata": {}, "outputs": [ @@ -607,7 +590,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Runtime so far: 0.8857 seconds\n" + "Runtime so far: 1.1713 seconds\n" ] } ], @@ -638,7 +621,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 18, "id": "af61d821", "metadata": {}, "outputs": [], @@ -665,7 +648,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 19, "id": "10ff3a2a", "metadata": {}, "outputs": [ @@ -686,7 +669,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 20, "id": "e4ab8d2f", "metadata": {}, "outputs": [], @@ -702,7 +685,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 21, "id": "fa5fd149", "metadata": {}, "outputs": [], @@ -722,7 +705,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 22, "id": "ec795648", "metadata": {}, "outputs": [ @@ -730,7 +713,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Runtime so far: 6.8764 seconds\n" + "Runtime so far: 11.5620 seconds\n" ] } ], @@ -763,7 +746,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 23, "id": "127897fc", "metadata": {}, "outputs": [], @@ -784,7 +767,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 24, "id": "bcadac5d", "metadata": {}, "outputs": [ @@ -792,7 +775,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Runtime so far: 6.8876 seconds\n" + "Runtime so far: 11.5855 seconds\n" ] } ], @@ -804,7 +787,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 25, "id": "5bef9d09", "metadata": {}, "outputs": [], @@ -841,7 +824,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 26, "id": "6a9aa3d7", "metadata": {}, "outputs": [ @@ -863,7 +846,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 27, "id": "69e17a38", "metadata": {}, "outputs": [], @@ -886,7 +869,7 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 28, "id": "389cc285", "metadata": {}, "outputs": [], @@ -913,7 +896,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 29, "id": "5653e513", "metadata": {}, "outputs": [], @@ -933,7 +916,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 30, "id": "53f4efda", "metadata": {}, "outputs": [ @@ -941,7 +924,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Runtime so far: 7.3442 seconds\n" + "Runtime so far: 12.8390 seconds\n" ] } ], @@ -968,7 +951,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 31, "id": "fc2e9401", "metadata": {}, "outputs": [ @@ -990,7 +973,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 32, "id": "c75c7392", "metadata": {}, "outputs": [], @@ -1033,7 +1016,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 33, "id": "1b2ba992", "metadata": {}, "outputs": [], @@ -1068,7 +1051,7 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 34, "id": "8d035604", "metadata": {}, "outputs": [], @@ -1112,7 +1095,7 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 35, "id": "1608a4e6", "metadata": {}, "outputs": [], @@ -1147,7 +1130,7 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 36, "id": "fc9babac", "metadata": {}, "outputs": [ @@ -1157,7 +1140,7 @@ "Text(0.5, 1.0, 'ALL Cube')" ] }, - "execution_count": 37, + "execution_count": 36, "metadata": {}, "output_type": "execute_result" }, @@ -1232,7 +1215,7 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 37, "id": "01c914db", "metadata": {}, "outputs": [ @@ -1291,7 +1274,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 38, "id": "0979572c", "metadata": {}, "outputs": [], @@ -1307,7 +1290,7 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 39, "id": "e455243d", "metadata": {}, "outputs": [ @@ -1315,10 +1298,10 @@ "name": "stderr", "output_type": "stream", "text": [ - "2021-06-18 13:03:59,290 - stpipe - WARNING - :13: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.\n", + "2021-07-01 16:35:17,752 - stpipe - WARNING - :13: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.\n", " x1d_wave = np.array(x1d_wave)\n", "\n", - "2021-06-18 13:03:59,291 - stpipe - WARNING - :14: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.\n", + "2021-07-01 16:35:17,753 - stpipe - WARNING - :14: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.\n", " x1d_flux = np.array(x1d_flux)\n", "\n" ] @@ -1350,17 +1333,17 @@ }, { "cell_type": "code", - "execution_count": 41, + "execution_count": 40, "id": "99b9ebc5", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 41, + "execution_count": 40, "metadata": {}, "output_type": "execute_result" }, @@ -1406,7 +1389,7 @@ }, { "cell_type": "code", - "execution_count": 42, + "execution_count": 41, "id": "3cb79b54", "metadata": {}, "outputs": [ @@ -1414,7 +1397,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Runtime so far: 9.3713 seconds\n" + "Runtime so far: 16.1306 seconds\n" ] } ],