stsci_logo

MIRI MRS Pipeline Notebook#

Authors: David Law, Kirsten Larson; MIRI branch
Last Updated: April 17, 2026
Pipeline Version: 2.0.0 (Build 12.3)

Purpose:
This notebook provides a framework for processing generic Mid-Infrared Instrument (MIRI) Medium Resolution Spectroscopy (MRS) data through all three James Webb Space Telescope (JWST) pipeline stages. Data is assumed to be located in two observation folders (science and background) according to paths set up below. It should not be necessary to edit any cells other than in the Configuration section unless modifying the standard pipeline processing options.

Data:
This example is set up to use observations of the LMC planetary nebula SMP LMC 058 obtained by Proposal ID (PID) 1523 Observation 3. This is a point source that uses a standard 4-point dither in all three grating settings. It incorporates a dedicated background in observation 4. Example input data to use will be downloaded automatically unless disabled (i.e., to use local files instead).

JWST pipeline version and CRDS context:
This notebook was written for the calibration pipeline version given above. If you use it with a different pipeline version or specify a non-default reference file context please see the relevant release notes (here for pipeline, here for CRDS) for possibly relevant changes.

Updates:
This notebook is regularly updated as improvements are made to the pipeline. Find the most up to date version of this notebook at: https://github.com/spacetelescope/jwst-pipeline-notebooks/

Recent Changes:
Jan 16 2025: Update to Build 11.2 (jwst 1.17.1); no significant changes.
May 5 2025: Update to Build 11.3 (jwst 1.18.0); add optional command to remove residual showers, plot spectra from updated x1d.fits data model with rf-corrected columns.
May 22 2025: Update example plot use of regular and rf-corrected spectra.
July 16 2025: No significant updates.
Sep 03 2025: Minor update to remove mrs_imatch step
December 10 2025: No significant updates.
April 17, 2026: Updated to jwst 2.0.0; add Adaptive Trace Model option to spec3.


Table of Contents#

  1. Configuration

  2. Package Imports

  3. Demo Mode Setup

  4. Directory Setup

  5. Detector1 Pipeline

  6. Spec2 Pipeline

  7. Spec3 Pipeline

  8. Plot the spectra


1.-Configuration#

Set basic parameters to use with notebook. These will affect what data is used, where data is located (if already in disk), pipeline modules run in this data, and type of background subtraction (if any). The list of parameters are:

  • demo_mode

  • channel

  • band

  • directories with data

  • pipeline modules

  • Backgroud subtraction method

# Basic import necessary for configuration
import os
Note that demo_mode must be set appropriately below.

Set demo_mode = True to run in demonstration mode. In this mode this notebook will download example data from the Barbara A. Mikulski Archive for Space Telescopes (MAST) and process it through the pipeline. This will all happen in a local directory unless modified in Section 3 below.

Set demo_mode = False if you want to process your own data that has already been downloaded and provide the location of the data.

# Set parameters for demo_mode, channel, band, data mode directories, and 
# processing steps.

# -----------------------------Demo Mode---------------------------------
demo_mode = True

if demo_mode:
    print('Running in demonstration mode using online example data!')

# --------------------------User Mode Directories------------------------
# If demo_mode = False, look for user data in these paths
if not demo_mode:
    # Set directory paths for processing specific data; these will need
    # to be changed to your local directory setup (below are given as
    # examples)
    user_home_dir = os.path.expanduser('~')

    # Point to where science observation data are
    # Assumes uncalibrated data in sci_dir/uncal/ and results in stage1,
    # stage2, stage3 directories
    sci_dir = os.path.join(user_home_dir, 'FlightData/APT1523/data/Obs003/')

    # Point to where background observation data are
    # Assumes uncalibrated data in bg_dir/uncal/ and results in stage1,
    # stage2, stage3 directories
    bg_dir = os.path.join(user_home_dir, 'FlightData/APT1523/data/Obs004/')
    #bg_dir = '' # If no background observation, use an empty string

# --------------------------Set Processing Steps--------------------------
# Whether or not to process only data from a given MRS band/channel (useful
# if overriding reference files)
# Note that BOTH parameters must be set in order to work
use_ch = ''  # '12' or '34'
use_band = ''  # 'SHORT', 'MEDIUM', or 'LONG'

# Individual pipeline stages can be turned on/off here.  Note that a later
# stage won't be able to run unless data products have already been
# produced from the prior stage.

# Science processing
dodet1 = True  # calwebb_detector1
dospec2 = True  # calwebb_spec2
dospec3 = True  # calwebb_spec3
doviz = True # Visualize calwebb_spec3 results

# Background processing
dodet1bg = True  # calwebb_detector1
dospec2bg = True  # calwebb_spec2 (needed for Master Background subtraction)

# How should background subtraction using any dedicated backgrounds be done?
# If none are selected, cubes will not be background subtracted.  1d spectra
# will always use local annular background subtraction for point sources.
# Note that if using master-background subtraction, background observations
# must be selected above to process through spec2 (dospec2bg = True).
master_bg = True  # Master-background subtraction in spec3 (subtract spectrum generated from the backgrounds).  This is the default pipeline setting.
pixel_bg = False  # Pixel-based background subtraction in spec2 (direct pixel subtraction).
Running in demonstration mode using online example data!

Set CRDS context and server#

Before importing CRDS and JWST modules, we need to configure our environment. This includes defining a CRDS cache directory in which to keep the reference files that will be used by the calibration pipeline.

If the root directory for the local CRDS cache directory has not been set already, it will be set to create one in the home directory.

# ------------------------Set CRDS context and paths----------------------

# Set CRDS reference file context.  Leave commented-out to use the default context
# (latest reference files associated with the calibration pipeline version)
# or set a specific context here.
#%env CRDS_CONTEXT  jwst_1295.pmap

# Check whether the local CRDS cache directory has been set.
# If not, set it to the user home directory
if (os.getenv('CRDS_PATH') is None):
    os.environ['CRDS_PATH'] = os.path.join(os.path.expanduser('~'), 'crds')
# Check whether the CRDS server URL has been set.  If not, set it.
if (os.getenv('CRDS_SERVER_URL') is None):
    os.environ['CRDS_SERVER_URL'] = 'https://jwst-crds.stsci.edu'

# Echo CRDS path and context in use
print('CRDS local filepath:', os.environ['CRDS_PATH'])
print('CRDS file server:', os.environ['CRDS_SERVER_URL'])
CRDS local filepath: /home/runner/crds
CRDS file server: https://jwst-crds.stsci.edu

2.-Package Imports#


# Use the entire available screen width for this notebook
from IPython.display import display, HTML
display(HTML("<style>.container { width:95% !important; }</style>"))
# Basic system utilities for interacting with files
# ----------------------General Imports------------------------------------
import glob
import copy
import time
from pathlib import Path
from collections import defaultdict

# Numpy for doing calculations
import numpy as np

# -----------------------Astropy Imports-----------------------------------
# Astropy utilities for opening FITS and ASCII files, and downloading demo files
from astropy.io import fits
from astroquery.mast import Observations

# -----------------------Plotting Imports----------------------------------
# Matplotlib for making plots
import matplotlib.pyplot as plt
from matplotlib import rc
# --------------JWST Calibration Pipeline Imports---------------------------
# Import the base JWST and calibration reference data packages
import jwst
import crds

# JWST pipelines (each encompassing many steps)
from jwst.pipeline import Detector1Pipeline
from jwst.pipeline import Spec2Pipeline
from jwst.pipeline import Spec3Pipeline

# JWST pipeline utilities
from jwst import datamodels  # JWST datamodels
from jwst.associations import asn_from_list as afl  # Tools for creating association files
from jwst.associations.lib.rules_level2_base import DMSLevel2bBase  # Definition of a Lvl2 association file
from jwst.associations.lib.rules_level3_base import DMS_Level3_Base  # Definition of a Lvl3 association file

from jwst.stpipe import Step  # Import the wrapper class for pipeline steps

# Echo pipeline version and CRDS context in use
print("JWST Calibration Pipeline Version = {}".format(jwst.__version__))
print("Using CRDS Context = {}".format(crds.get_context_name('jwst')))
JWST Calibration Pipeline Version = 2.0.0
CRDS - INFO -  Calibration SW Found: jwst 2.0.0 (/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst-2.0.0.dist-info)
Using CRDS Context = jwst_1535.pmap

Define convenience functions#

# Define a convenience function to select only files of a given channel/band from an input set
def select_ch_band_files(files, use_ch, use_band):
    if ((use_ch != '') & (use_band != '')):
        keep = np.zeros(len(files))
        for ii in range(0, len(files)):
            with fits.open(files[ii]) as hdu:
                hdu.verify()
                hdr = hdu[0].header
                if ((hdr['CHANNEL'] == use_ch) & (hdr['BAND'] == use_band)):
                    keep[ii] = 1
        indx = np.where(keep == 1)
        files_culled = files[indx]
    else:
        files_culled = files
        
    return files_culled
# Start a timer to keep track of runtime
time0 = time.perf_counter()

3.-Demo Mode Setup (ignore if not using demo data)#

If running in demonstration mode, set up the program information to retrieve the uncalibrated data automatically from MAST using astroquery. MAST allows for flexibility of searching by the proposal ID and the observation ID instead of just filenames.

More information about the JWST file naming conventions can be found at: https://jwst-pipeline.readthedocs.io/en/latest/jwst/data_products/file_naming.html

# Set up the program information and paths for demo program
if demo_mode:
    print('Running in demonstration mode and will download example data from MAST!')
    program = "01523"
    sci_observtn = "003"
    back_observtn = "004"
    visit = "001"
    basedir = os.path.join('.', 'mrs_demo_data')
    download_dir = basedir
    sci_dir = os.path.join(basedir, 'Obs' + sci_observtn)
    bg_dir = os.path.join(basedir, 'Obs' + back_observtn)
    uncal_dir = os.path.join(sci_dir, 'uncal')
    uncal_bgdir = os.path.join(bg_dir, 'uncal')

    # Ensure filepaths for input data exist
    if not os.path.exists(uncal_dir):
        os.makedirs(uncal_dir)
    if not os.path.exists(uncal_bgdir):
        os.makedirs(uncal_bgdir)
Running in demonstration mode and will download example data from MAST!

Identify list of science (SCI) and background (BG) uncalibrated files associated with visits.

Selects only mirifu data (ignores MIRI imager).
# Obtain a list of observation IDs for the specified demo program
if demo_mode:
    # Science data
    sci_obs_id_table = Observations.query_criteria(instrument_name=["MIRI/IFU"],
                                                   provenance_name=["CALJWST"],  # Executed observations
                                                   obs_id=['jw' + program + '-o' + sci_observtn + '*']
                                                   )

    # Background data
    bg_obs_id_table = Observations.query_criteria(instrument_name=["MIRI/IFU"],
                                                  provenance_name=["CALJWST"],  # Executed observations
                                                  obs_id=['jw' + program + '-o' + back_observtn + '*']
                                                  )
# Turn the list of visits into a list of uncalibrated data files
if demo_mode:
    # Define types of files to select
    file_dict = {'uncal': {'product_type': 'SCIENCE', 'productSubGroupDescription': 'UNCAL', 'calib_level': [1]}}

    # Science files
    sci_files_to_download = []
    # Loop over visits identifying uncalibrated files that are associated with them
    for exposure in (sci_obs_id_table):
        products = Observations.get_product_list(exposure)
        for filetype, query_dict in file_dict.items():
            filtered_products = Observations.filter_products(products, productType=query_dict['product_type'],
                                                             productSubGroupDescription=query_dict['productSubGroupDescription'],
                                                             calib_level=query_dict['calib_level'])
            sci_files_to_download.extend(filtered_products['dataURI'])

    # Background files
    bg_files_to_download = []
    # Loop over visits identifying uncalibrated files that are associated with them
    for exposure in (bg_obs_id_table):
        products = Observations.get_product_list(exposure)
        for filetype, query_dict in file_dict.items():
            filtered_products = Observations.filter_products(products, productType=query_dict['product_type'],
                                                             productSubGroupDescription=query_dict['productSubGroupDescription'],
                                                             calib_level=query_dict['calib_level'])
            bg_files_to_download.extend(filtered_products['dataURI'])

    # Cull to a unique list of files that contain 'mirifu' in the filename
    # (i.e., not MIRI imager)
    sci_files_to_download = np.unique([i for i in sci_files_to_download if 'mirifu' in i])
    bg_files_to_download = np.unique([i for i in bg_files_to_download if 'mirifu' in i])

    print("Science files selected for downloading: ", len(sci_files_to_download))
    print("Background selected for downloading: ", len(bg_files_to_download))
Science files selected for downloading:  24
Background selected for downloading:  12

Download all the uncal files and place them into the appropriate directories.

Warning: If this notebook is halted during this step the downloaded file may be incomplete, and cause crashes later on!
if demo_mode:
    for filename in sci_files_to_download:
        sci_manifest = Observations.download_file(filename, local_path=os.path.join(uncal_dir, Path(filename).name))
    for filename in bg_files_to_download:
        bg_manifest = Observations.download_file(filename, local_path=os.path.join(uncal_bgdir, Path(filename).name))
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03102_00001_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00001_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03102_00001_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00001_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03102_00002_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00002_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03102_00002_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00002_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03102_00003_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00003_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03102_00003_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00003_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03102_00004_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00004_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03102_00004_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00004_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03104_00001_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00001_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03104_00001_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00001_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03104_00002_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00002_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03104_00002_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00002_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03104_00003_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00003_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03104_00003_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00003_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03104_00004_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00004_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03104_00004_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00004_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03106_00001_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00001_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03106_00001_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00001_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03106_00002_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00002_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03106_00002_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00002_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03106_00003_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00003_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03106_00003_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00003_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03106_00004_mirifulong_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00004_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523003001_03106_00004_mirifushort_uncal.fits to ./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00004_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02101_00001_mirifulong_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02101_00001_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02101_00001_mirifushort_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02101_00001_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02101_00002_mirifulong_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02101_00002_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02101_00002_mirifushort_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02101_00002_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02103_00001_mirifulong_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02103_00001_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02103_00001_mirifushort_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02103_00001_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02103_00002_mirifulong_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02103_00002_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02103_00002_mirifushort_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02103_00002_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02105_00001_mirifulong_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02105_00001_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02105_00001_mirifushort_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02105_00001_mirifushort_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02105_00002_mirifulong_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02105_00002_mirifulong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01523004001_02105_00002_mirifushort_uncal.fits to ./mrs_demo_data/Obs004/uncal/jw01523004001_02105_00002_mirifushort_uncal.fits ...
 [Done]

4.-Directory Setup#

Set up detailed paths to input/output stages here.

# Define output subdirectories to keep science data products organized
uncal_dir = os.path.join(sci_dir, 'uncal')  # Uncalibrated pipeline inputs should be here
det1_dir = os.path.join(sci_dir, 'stage1')  # calwebb_detector1 pipeline outputs will go here
spec2_dir = os.path.join(sci_dir, 'stage2')  # calwebb_spec2 pipeline outputs will go here
spec3_dir = os.path.join(sci_dir, 'stage3')  # calwebb_spec3 pipeline outputs will go here

# Output subdirectories to keep background data products organized
uncal_bgdir = os.path.join(bg_dir, 'uncal')  # Uncalibrated pipeline inputs should be here
det1_bgdir = os.path.join(bg_dir, 'stage1')  # calwebb_detector1 pipeline outputs will go here
spec2_bgdir = os.path.join(bg_dir, 'stage2')  # calwebb_spec2 pipeline outputs will go here

# We need to check that the desired output directories exist, and if not create them
if not os.path.exists(det1_dir):
    os.makedirs(det1_dir)
if not os.path.exists(spec2_dir):
    os.makedirs(spec2_dir)
if not os.path.exists(spec3_dir):
    os.makedirs(spec3_dir)
if (bg_dir != ''):
    if not os.path.exists(det1_bgdir):
        os.makedirs(det1_bgdir)
    if not os.path.exists(spec2_bgdir):
        os.makedirs(spec2_bgdir)
If there is no background folder, ensure we don't try to process it.
if (bg_dir == ''):
    dodet1bg = False
    dospec2bg = False
# Print out the time benchmark
time1 = time.perf_counter()
print(f"Runtime so far: {time1 - time0:0.4f} seconds")
Runtime so far: 73.2884 seconds

5.-Detector1 Pipeline#

In this section we process our data through the calwebb_detector1 pipeline to create Stage 1 data products (i.e., uncalibrated slope images of the form *rate.fits). These data products have units of DN/s.

See https://jwst-docs.stsci.edu/jwst-science-calibration-pipeline/stages-of-jwst-data-processing/calwebb_detector1

To override certain steps and reference files, use the examples provided below.
E.g., turn on detection of cosmic ray showers.
# Set up a dictionary to define how the Detector1 pipeline should be configured

# Boilerplate dictionary setup
det1dict = defaultdict(dict)

# Overrides for whether or not certain steps should be skipped (example)
#det1dict['emicorr']['skip'] = True

# Option to use the first frame for very bright MIRI data that otherwise saturates fast enough to provide no slope
#det1dict['firstframe']['bright_use_group1'] = True

# Overrides for various reference files
# Files should be in the base local directory or provide full path
#det1dict['dq_init']['override_mask'] = 'myfile.fits' # Bad pixel mask
#det1dict['saturation']['override_saturation'] = 'myfile.fits' # Saturation
#det1dict['reset']['override_reset'] = 'myfile.fits' # Reset
#det1dict['linearity']['override_linearity'] = 'myfile.fits' # Linearity
#det1dict['rscd']['override_rscd'] = 'myfile.fits' # RSCD
#det1dict['dark_current']['override_dark'] = 'myfile.fits' # Dark current subtraction
#det1dict['jump']['override_gain'] = 'myfile.fits' # Gain used by jump step
#det1dict['ramp_fit']['override_gain'] = 'myfile.fits' # Gain used by ramp fitting step
#det1dict['jump']['override_readnoise'] = 'myfile.fits' # Read noise used by jump step
#det1dict['ramp_fit']['override_readnoise'] = 'myfile.fits' # Read noise used by ramp fitting step

# Turn on multi-core processing for jump step (off by default).  Choose what fraction of cores to use (quarter, half, or all)
det1dict['jump']['maximum_cores'] = 'half'

# Toggle detection of cosmic ray showers if desired (on by default)
#det1dict['jump']['find_showers'] = True
Below an example of how to insert custom pipeline steps using the pre-hook/post-hook framework.

For more information see Tips and Trick for working with the JWST Pipeline

# Define a new step called XplyStep that multiplies everything by 1.0
# I.e., it does nothing, but could be changed to do something more interesting.
class XplyStep(Step):
    spec = '''
    '''
    class_alias = 'xply'

    def process(self, input_data):
        with datamodels.open(input_data) as model:
            result = model.copy()
        sci = result.data
        sci = sci * 1.0
        result.data = sci
        self.log.info('Multiplied everything by one in custom step!')
        return result


# And here we'll insert it into our pipeline dictionary to be run at the end right after the gain_scale step
det1dict['gain_scale']['post_hooks'] = [XplyStep]

Calibrating Science Files#

Look for input science files and run calwebb_detector1 pipeline using the call method.

# Look for input files of the form *uncal.fits from the science observation
sstring = os.path.join(uncal_dir, 'jw*mirifu*uncal.fits')
uncal_files = np.array(sorted(glob.glob(sstring)))
# Check that these are the band/channel to use
uncal_files = select_ch_band_files(uncal_files, use_ch, use_band)

print('Found ' + str(len(uncal_files)) + ' science input files')
Found 24 science input files
# Run the pipeline on these input files by a simple loop over files using
# our custom parameter dictionary
if dodet1:
    for file in uncal_files:
        Detector1Pipeline.call(file, steps=det1dict, save_results=True, output_dir=det1_dir)
else:
    print('Skipping Detector1 processing for SCI data')
2026-04-15 20:14:47,092 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_system_datalvl_0002.rmap      694 bytes  (1 / 224 files) (0 / 796.2 K bytes)
2026-04-15 20:14:47,157 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_system_calver_0069.rmap    5.8 K bytes  (2 / 224 files) (694 / 796.2 K bytes)
2026-04-15 20:14:47,209 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_system_0064.imap        385 bytes  (3 / 224 files) (6.5 K / 796.2 K bytes)
2026-04-15 20:14:47,293 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_wavelengthrange_0024.rmap    1.4 K bytes  (4 / 224 files) (6.9 K / 796.2 K bytes)
2026-04-15 20:14:47,375 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_wavecorr_0005.rmap      884 bytes  (5 / 224 files) (8.3 K / 796.2 K bytes)
2026-04-15 20:14:47,458 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_superbias_0089.rmap   39.4 K bytes  (6 / 224 files) (9.1 K / 796.2 K bytes)
2026-04-15 20:14:47,546 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_sirskernel_0002.rmap      704 bytes  (7 / 224 files) (48.5 K / 796.2 K bytes)
2026-04-15 20:14:47,631 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_sflat_0027.rmap   20.6 K bytes  (8 / 224 files) (49.2 K / 796.2 K bytes)
2026-04-15 20:14:47,688 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_saturation_0018.rmap    2.0 K bytes  (9 / 224 files) (69.8 K / 796.2 K bytes)
2026-04-15 20:14:47,744 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_refpix_0015.rmap    1.6 K bytes  (10 / 224 files) (71.9 K / 796.2 K bytes)
2026-04-15 20:14:47,789 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_readnoise_0025.rmap    2.6 K bytes  (11 / 224 files) (73.4 K / 796.2 K bytes)
2026-04-15 20:14:47,843 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_psf_0002.rmap      687 bytes  (12 / 224 files) (76.0 K / 796.2 K bytes)
2026-04-15 20:14:47,925 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pictureframe_0002.rmap      886 bytes  (13 / 224 files) (76.7 K / 796.2 K bytes)
2026-04-15 20:14:47,979 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_photom_0013.rmap      958 bytes  (14 / 224 files) (77.6 K / 796.2 K bytes)
2026-04-15 20:14:48,049 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pathloss_0011.rmap    1.2 K bytes  (15 / 224 files) (78.5 K / 796.2 K bytes)
2026-04-15 20:14:48,098 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-whitelightstep_0001.rmap      777 bytes  (16 / 224 files) (79.7 K / 796.2 K bytes)
2026-04-15 20:14:48,145 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-tso3pipeline_0001.rmap      786 bytes  (17 / 224 files) (80.5 K / 796.2 K bytes)
2026-04-15 20:14:48,204 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-spec2pipeline_0013.rmap    2.1 K bytes  (18 / 224 files) (81.3 K / 796.2 K bytes)
2026-04-15 20:14:48,249 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-resamplespecstep_0002.rmap      709 bytes  (19 / 224 files) (83.4 K / 796.2 K bytes)
2026-04-15 20:14:48,296 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-refpixstep_0003.rmap      910 bytes  (20 / 224 files) (84.1 K / 796.2 K bytes)
2026-04-15 20:14:48,343 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-pixelreplacestep_0001.rmap      818 bytes  (21 / 224 files) (85.0 K / 796.2 K bytes)
2026-04-15 20:14:48,398 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-pictureframestep_0001.rmap      818 bytes  (22 / 224 files) (85.8 K / 796.2 K bytes)
2026-04-15 20:14:48,487 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-outlierdetectionstep_0005.rmap    1.1 K bytes  (23 / 224 files) (86.7 K / 796.2 K bytes)
2026-04-15 20:14:48,569 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-jumpstep_0006.rmap      810 bytes  (24 / 224 files) (87.8 K / 796.2 K bytes)
2026-04-15 20:14:48,614 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-image2pipeline_0008.rmap    1.0 K bytes  (25 / 224 files) (88.6 K / 796.2 K bytes)
2026-04-15 20:14:48,663 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-extract1dstep_0001.rmap      794 bytes  (26 / 224 files) (89.6 K / 796.2 K bytes)
2026-04-15 20:14:48,708 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-detector1pipeline_0004.rmap    1.1 K bytes  (27 / 224 files) (90.4 K / 796.2 K bytes)
2026-04-15 20:14:48,790 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-darkpipeline_0003.rmap      872 bytes  (28 / 224 files) (91.5 K / 796.2 K bytes)
2026-04-15 20:14:48,844 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-darkcurrentstep_0003.rmap    1.8 K bytes  (29 / 224 files) (92.4 K / 796.2 K bytes)
2026-04-15 20:14:48,930 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-cubebuildstep_0001.rmap      862 bytes  (30 / 224 files) (94.2 K / 796.2 K bytes)
2026-04-15 20:14:48,973 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-cleanflickernoisestep_0002.rmap      983 bytes  (31 / 224 files) (95.1 K / 796.2 K bytes)
2026-04-15 20:14:49,021 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-adaptivetracemodelstep_0002.rmap      997 bytes  (32 / 224 files) (96.1 K / 796.2 K bytes)
2026-04-15 20:14:49,067 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_ote_0030.rmap    1.3 K bytes  (33 / 224 files) (97.1 K / 796.2 K bytes)
2026-04-15 20:14:49,115 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_msaoper_0018.rmap    1.6 K bytes  (34 / 224 files) (98.3 K / 796.2 K bytes)
2026-04-15 20:14:49,166 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_msa_0027.rmap    1.3 K bytes  (35 / 224 files) (100.0 K / 796.2 K bytes)
2026-04-15 20:14:49,247 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_mask_0045.rmap    4.9 K bytes  (36 / 224 files) (101.2 K / 796.2 K bytes)
2026-04-15 20:14:49,298 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_linearity_0017.rmap    1.6 K bytes  (37 / 224 files) (106.2 K / 796.2 K bytes)
2026-04-15 20:14:49,348 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_ipc_0006.rmap      876 bytes  (38 / 224 files) (107.7 K / 796.2 K bytes)
2026-04-15 20:14:49,392 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_ifuslicer_0018.rmap    1.5 K bytes  (39 / 224 files) (108.6 K / 796.2 K bytes)
2026-04-15 20:14:49,449 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_ifupost_0020.rmap    1.5 K bytes  (40 / 224 files) (110.1 K / 796.2 K bytes)
2026-04-15 20:14:49,494 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_ifufore_0017.rmap    1.5 K bytes  (41 / 224 files) (111.6 K / 796.2 K bytes)
2026-04-15 20:14:49,543 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_gain_0023.rmap    1.8 K bytes  (42 / 224 files) (113.1 K / 796.2 K bytes)
2026-04-15 20:14:49,592 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_fpa_0028.rmap    1.3 K bytes  (43 / 224 files) (114.9 K / 796.2 K bytes)
2026-04-15 20:14:49,641 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_fore_0026.rmap    5.0 K bytes  (44 / 224 files) (116.2 K / 796.2 K bytes)
2026-04-15 20:14:49,694 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_flat_0015.rmap    3.8 K bytes  (45 / 224 files) (121.1 K / 796.2 K bytes)
2026-04-15 20:14:49,744 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_fflat_0030.rmap    7.2 K bytes  (46 / 224 files) (124.9 K / 796.2 K bytes)
2026-04-15 20:14:49,815 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_extract1d_0018.rmap    2.3 K bytes  (47 / 224 files) (132.1 K / 796.2 K bytes)
2026-04-15 20:14:49,865 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_disperser_0028.rmap    5.7 K bytes  (48 / 224 files) (134.4 K / 796.2 K bytes)
2026-04-15 20:14:49,912 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_dflat_0007.rmap    1.1 K bytes  (49 / 224 files) (140.1 K / 796.2 K bytes)
2026-04-15 20:14:49,961 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_dark_0085.rmap   37.4 K bytes  (50 / 224 files) (141.3 K / 796.2 K bytes)
2026-04-15 20:14:50,021 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_cubepar_0015.rmap      966 bytes  (51 / 224 files) (178.7 K / 796.2 K bytes)
2026-04-15 20:14:50,072 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_collimator_0026.rmap    1.3 K bytes  (52 / 224 files) (179.6 K / 796.2 K bytes)
2026-04-15 20:14:50,190 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_camera_0026.rmap    1.3 K bytes  (53 / 224 files) (181.0 K / 796.2 K bytes)
2026-04-15 20:14:50,239 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_barshadow_0007.rmap    1.8 K bytes  (54 / 224 files) (182.3 K / 796.2 K bytes)
2026-04-15 20:14:50,291 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_area_0019.rmap    6.8 K bytes  (55 / 224 files) (184.1 K / 796.2 K bytes)
2026-04-15 20:14:50,347 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_apcorr_0009.rmap    5.6 K bytes  (56 / 224 files) (190.9 K / 796.2 K bytes)
2026-04-15 20:14:50,392 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_0432.imap     6.2 K bytes  (57 / 224 files) (196.5 K / 796.2 K bytes)
2026-04-15 20:14:50,440 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_wavelengthrange_0008.rmap      897 bytes  (58 / 224 files) (202.6 K / 796.2 K bytes)
2026-04-15 20:14:50,483 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_trappars_0004.rmap      753 bytes  (59 / 224 files) (203.5 K / 796.2 K bytes)
2026-04-15 20:14:50,535 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_trapdensity_0005.rmap      705 bytes  (60 / 224 files) (204.3 K / 796.2 K bytes)
2026-04-15 20:14:50,586 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_throughput_0005.rmap    1.3 K bytes  (61 / 224 files) (205.0 K / 796.2 K bytes)
2026-04-15 20:14:50,638 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_superbias_0035.rmap    8.3 K bytes  (62 / 224 files) (206.2 K / 796.2 K bytes)
2026-04-15 20:14:50,685 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_specwcs_0017.rmap    3.1 K bytes  (63 / 224 files) (214.5 K / 796.2 K bytes)
2026-04-15 20:14:50,734 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_specprofile_0010.rmap    2.5 K bytes  (64 / 224 files) (217.7 K / 796.2 K bytes)
2026-04-15 20:14:50,778 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_speckernel_0006.rmap    1.0 K bytes  (65 / 224 files) (220.2 K / 796.2 K bytes)
2026-04-15 20:14:50,829 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_sirskernel_0002.rmap      700 bytes  (66 / 224 files) (221.2 K / 796.2 K bytes)
2026-04-15 20:14:50,881 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_saturation_0015.rmap      829 bytes  (67 / 224 files) (221.9 K / 796.2 K bytes)
2026-04-15 20:14:50,934 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_readnoise_0011.rmap      987 bytes  (68 / 224 files) (222.7 K / 796.2 K bytes)
2026-04-15 20:14:50,979 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_photom_0041.rmap    1.3 K bytes  (69 / 224 files) (223.7 K / 796.2 K bytes)
2026-04-15 20:14:51,026 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_persat_0007.rmap      674 bytes  (70 / 224 files) (225.0 K / 796.2 K bytes)
2026-04-15 20:14:51,073 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pathloss_0003.rmap      758 bytes  (71 / 224 files) (225.6 K / 796.2 K bytes)
2026-04-15 20:14:51,124 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pastasoss_0006.rmap      818 bytes  (72 / 224 files) (226.4 K / 796.2 K bytes)
2026-04-15 20:14:51,172 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-wfsscontamstep_0001.rmap      797 bytes  (73 / 224 files) (227.2 K / 796.2 K bytes)
2026-04-15 20:14:51,222 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-undersamplecorrectionstep_0001.rmap      904 bytes  (74 / 224 files) (228.0 K / 796.2 K bytes)
2026-04-15 20:14:51,271 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-tweakregstep_0012.rmap    3.1 K bytes  (75 / 224 files) (228.9 K / 796.2 K bytes)
2026-04-15 20:14:51,323 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-spec2pipeline_0009.rmap    1.2 K bytes  (76 / 224 files) (232.0 K / 796.2 K bytes)
2026-04-15 20:14:51,380 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-sourcecatalogstep_0002.rmap    2.3 K bytes  (77 / 224 files) (233.3 K / 796.2 K bytes)
2026-04-15 20:14:51,425 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-resamplestep_0002.rmap      687 bytes  (78 / 224 files) (235.6 K / 796.2 K bytes)
2026-04-15 20:14:51,569 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-outlierdetectionstep_0004.rmap    2.7 K bytes  (79 / 224 files) (236.3 K / 796.2 K bytes)
2026-04-15 20:14:51,618 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-jumpstep_0007.rmap    6.4 K bytes  (80 / 224 files) (239.0 K / 796.2 K bytes)
2026-04-15 20:14:51,671 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-image2pipeline_0005.rmap    1.0 K bytes  (81 / 224 files) (245.3 K / 796.2 K bytes)
2026-04-15 20:14:51,719 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-detector1pipeline_0005.rmap    1.5 K bytes  (82 / 224 files) (246.3 K / 796.2 K bytes)
2026-04-15 20:14:51,765 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-darkpipeline_0002.rmap      868 bytes  (83 / 224 files) (247.9 K / 796.2 K bytes)
2026-04-15 20:14:51,810 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-darkcurrentstep_0001.rmap      591 bytes  (84 / 224 files) (248.8 K / 796.2 K bytes)
2026-04-15 20:14:51,860 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-cleanflickernoisestep_0003.rmap    1.2 K bytes  (85 / 224 files) (249.3 K / 796.2 K bytes)
2026-04-15 20:14:51,911 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-chargemigrationstep_0005.rmap    5.7 K bytes  (86 / 224 files) (250.6 K / 796.2 K bytes)
2026-04-15 20:14:51,955 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-backgroundstep_0003.rmap      822 bytes  (87 / 224 files) (256.2 K / 796.2 K bytes)
2026-04-15 20:14:52,006 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_nrm_0005.rmap      663 bytes  (88 / 224 files) (257.0 K / 796.2 K bytes)
2026-04-15 20:14:52,056 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_mask_0025.rmap    1.6 K bytes  (89 / 224 files) (257.7 K / 796.2 K bytes)
2026-04-15 20:14:52,101 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_linearity_0022.rmap      961 bytes  (90 / 224 files) (259.3 K / 796.2 K bytes)
2026-04-15 20:14:52,148 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_ipc_0007.rmap      651 bytes  (91 / 224 files) (260.3 K / 796.2 K bytes)
2026-04-15 20:14:52,197 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_gain_0011.rmap      797 bytes  (92 / 224 files) (260.9 K / 796.2 K bytes)
2026-04-15 20:14:52,246 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_flat_0023.rmap    5.9 K bytes  (93 / 224 files) (261.7 K / 796.2 K bytes)
2026-04-15 20:14:52,297 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_filteroffset_0010.rmap      853 bytes  (94 / 224 files) (267.6 K / 796.2 K bytes)
2026-04-15 20:14:52,345 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_extract1d_0007.rmap      905 bytes  (95 / 224 files) (268.4 K / 796.2 K bytes)
2026-04-15 20:14:52,392 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_drizpars_0004.rmap      519 bytes  (96 / 224 files) (269.3 K / 796.2 K bytes)
2026-04-15 20:14:52,444 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_distortion_0025.rmap    3.4 K bytes  (97 / 224 files) (269.9 K / 796.2 K bytes)
2026-04-15 20:14:52,488 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_dark_0039.rmap    8.3 K bytes  (98 / 224 files) (273.3 K / 796.2 K bytes)
2026-04-15 20:14:52,537 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_bkg_0005.rmap    3.1 K bytes  (99 / 224 files) (281.6 K / 796.2 K bytes)
2026-04-15 20:14:52,583 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_area_0014.rmap    2.7 K bytes  (100 / 224 files) (284.7 K / 796.2 K bytes)
2026-04-15 20:14:52,631 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_apcorr_0010.rmap    4.3 K bytes  (101 / 224 files) (287.4 K / 796.2 K bytes)
2026-04-15 20:14:52,703 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_abvegaoffset_0004.rmap    1.4 K bytes  (102 / 224 files) (291.7 K / 796.2 K bytes)
2026-04-15 20:14:52,756 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_0308.imap      5.9 K bytes  (103 / 224 files) (293.0 K / 796.2 K bytes)
2026-04-15 20:14:52,807 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_wavelengthrange_0012.rmap      996 bytes  (104 / 224 files) (299.0 K / 796.2 K bytes)
2026-04-15 20:14:52,855 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_tsophot_0003.rmap      896 bytes  (105 / 224 files) (300.0 K / 796.2 K bytes)
2026-04-15 20:14:52,897 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_trappars_0003.rmap    1.6 K bytes  (106 / 224 files) (300.9 K / 796.2 K bytes)
2026-04-15 20:14:52,948 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_trapdensity_0003.rmap    1.6 K bytes  (107 / 224 files) (302.5 K / 796.2 K bytes)
2026-04-15 20:14:52,994 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_superbias_0022.rmap   25.5 K bytes  (108 / 224 files) (304.1 K / 796.2 K bytes)
2026-04-15 20:14:53,051 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_specwcs_0027.rmap    8.0 K bytes  (109 / 224 files) (329.6 K / 796.2 K bytes)
2026-04-15 20:14:53,103 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_sirskernel_0003.rmap      671 bytes  (110 / 224 files) (337.6 K / 796.2 K bytes)
2026-04-15 20:14:53,148 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_saturation_0011.rmap    2.8 K bytes  (111 / 224 files) (338.3 K / 796.2 K bytes)
2026-04-15 20:14:53,193 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_regions_0003.rmap    3.4 K bytes  (112 / 224 files) (341.1 K / 796.2 K bytes)
2026-04-15 20:14:53,243 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_readnoise_0028.rmap   27.1 K bytes  (113 / 224 files) (344.5 K / 796.2 K bytes)
2026-04-15 20:14:53,301 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_psfmask_0008.rmap   28.4 K bytes  (114 / 224 files) (371.7 K / 796.2 K bytes)
2026-04-15 20:14:53,362 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_photom_0031.rmap    3.4 K bytes  (115 / 224 files) (400.0 K / 796.2 K bytes)
2026-04-15 20:14:53,410 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_persat_0005.rmap    1.6 K bytes  (116 / 224 files) (403.5 K / 796.2 K bytes)
2026-04-15 20:14:53,463 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-whitelightstep_0004.rmap    2.0 K bytes  (117 / 224 files) (405.0 K / 796.2 K bytes)
2026-04-15 20:14:53,517 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-wfsscontamstep_0001.rmap      797 bytes  (118 / 224 files) (407.0 K / 796.2 K bytes)
2026-04-15 20:14:53,564 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-tweakregstep_0003.rmap    4.5 K bytes  (119 / 224 files) (407.8 K / 796.2 K bytes)
2026-04-15 20:14:53,611 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-tsophotometrystep_0003.rmap    1.1 K bytes  (120 / 224 files) (412.3 K / 796.2 K bytes)
2026-04-15 20:14:53,663 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-spec2pipeline_0009.rmap      984 bytes  (121 / 224 files) (413.4 K / 796.2 K bytes)
2026-04-15 20:14:53,706 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-sourcecatalogstep_0002.rmap    4.6 K bytes  (122 / 224 files) (414.4 K / 796.2 K bytes)
2026-04-15 20:14:53,755 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-resamplestep_0002.rmap      687 bytes  (123 / 224 files) (419.0 K / 796.2 K bytes)
2026-04-15 20:14:53,802 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-outlierdetectionstep_0003.rmap      940 bytes  (124 / 224 files) (419.7 K / 796.2 K bytes)
2026-04-15 20:14:53,853 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-jumpstep_0005.rmap      806 bytes  (125 / 224 files) (420.6 K / 796.2 K bytes)
2026-04-15 20:14:53,900 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-image2pipeline_0004.rmap    1.1 K bytes  (126 / 224 files) (421.4 K / 796.2 K bytes)
2026-04-15 20:14:53,956 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-detector1pipeline_0007.rmap    1.7 K bytes  (127 / 224 files) (422.6 K / 796.2 K bytes)
2026-04-15 20:14:54,002 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-darkpipeline_0002.rmap      868 bytes  (128 / 224 files) (424.3 K / 796.2 K bytes)
2026-04-15 20:14:54,057 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-darkcurrentstep_0001.rmap      618 bytes  (129 / 224 files) (425.2 K / 796.2 K bytes)
2026-04-15 20:14:54,099 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-backgroundstep_0003.rmap      822 bytes  (130 / 224 files) (425.8 K / 796.2 K bytes)
2026-04-15 20:14:54,148 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_mask_0014.rmap    5.4 K bytes  (131 / 224 files) (426.6 K / 796.2 K bytes)
2026-04-15 20:14:54,197 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_linearity_0011.rmap    2.4 K bytes  (132 / 224 files) (432.0 K / 796.2 K bytes)
2026-04-15 20:14:54,248 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_ipc_0003.rmap    2.0 K bytes  (133 / 224 files) (434.4 K / 796.2 K bytes)
2026-04-15 20:14:54,295 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_gain_0016.rmap    2.1 K bytes  (134 / 224 files) (436.4 K / 796.2 K bytes)
2026-04-15 20:14:54,344 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_flat_0028.rmap   51.7 K bytes  (135 / 224 files) (438.5 K / 796.2 K bytes)
2026-04-15 20:14:54,415 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_filteroffset_0004.rmap    1.4 K bytes  (136 / 224 files) (490.2 K / 796.2 K bytes)
2026-04-15 20:14:54,461 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_extract1d_0007.rmap    2.2 K bytes  (137 / 224 files) (491.6 K / 796.2 K bytes)
2026-04-15 20:14:54,507 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_drizpars_0001.rmap      519 bytes  (138 / 224 files) (493.8 K / 796.2 K bytes)
2026-04-15 20:14:54,555 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_distortion_0034.rmap   53.4 K bytes  (139 / 224 files) (494.3 K / 796.2 K bytes)
2026-04-15 20:14:54,623 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_dark_0054.rmap   33.9 K bytes  (140 / 224 files) (547.6 K / 796.2 K bytes)
2026-04-15 20:14:54,676 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_bkg_0002.rmap    7.0 K bytes  (141 / 224 files) (581.5 K / 796.2 K bytes)
2026-04-15 20:14:54,724 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_area_0012.rmap   33.5 K bytes  (142 / 224 files) (588.5 K / 796.2 K bytes)
2026-04-15 20:14:54,787 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_apcorr_0009.rmap    4.3 K bytes  (143 / 224 files) (622.0 K / 796.2 K bytes)
2026-04-15 20:14:54,838 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_abvegaoffset_0004.rmap    1.3 K bytes  (144 / 224 files) (626.2 K / 796.2 K bytes)
2026-04-15 20:14:54,880 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_0354.imap      5.8 K bytes  (145 / 224 files) (627.5 K / 796.2 K bytes)
2026-04-15 20:14:54,931 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_wavelengthrange_0030.rmap    1.0 K bytes  (146 / 224 files) (633.3 K / 796.2 K bytes)
2026-04-15 20:14:54,981 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_tsophot_0004.rmap      882 bytes  (147 / 224 files) (634.3 K / 796.2 K bytes)
2026-04-15 20:14:55,033 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_straymask_0009.rmap      987 bytes  (148 / 224 files) (635.2 K / 796.2 K bytes)
2026-04-15 20:14:55,082 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_specwcs_0048.rmap    5.9 K bytes  (149 / 224 files) (636.2 K / 796.2 K bytes)
2026-04-15 20:14:55,143 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_saturation_0015.rmap    1.2 K bytes  (150 / 224 files) (642.1 K / 796.2 K bytes)
2026-04-15 20:14:55,195 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_rscd_0010.rmap    1.0 K bytes  (151 / 224 files) (643.3 K / 796.2 K bytes)
2026-04-15 20:14:55,246 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_resol_0006.rmap      790 bytes  (152 / 224 files) (644.3 K / 796.2 K bytes)
2026-04-15 20:14:55,299 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_reset_0026.rmap    3.9 K bytes  (153 / 224 files) (645.1 K / 796.2 K bytes)
2026-04-15 20:14:55,351 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_regions_0036.rmap    4.4 K bytes  (154 / 224 files) (649.0 K / 796.2 K bytes)
2026-04-15 20:14:55,399 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_readnoise_0023.rmap    1.6 K bytes  (155 / 224 files) (653.3 K / 796.2 K bytes)
2026-04-15 20:14:55,450 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_psfmask_0009.rmap    2.1 K bytes  (156 / 224 files) (655.0 K / 796.2 K bytes)
2026-04-15 20:14:55,501 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_psf_0008.rmap    2.6 K bytes  (157 / 224 files) (657.1 K / 796.2 K bytes)
2026-04-15 20:14:55,553 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_photom_0063.rmap    3.9 K bytes  (158 / 224 files) (659.7 K / 796.2 K bytes)
2026-04-15 20:14:55,610 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pathloss_0005.rmap      866 bytes  (159 / 224 files) (663.6 K / 796.2 K bytes)
2026-04-15 20:14:55,659 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-whitelightstep_0003.rmap      912 bytes  (160 / 224 files) (664.4 K / 796.2 K bytes)
2026-04-15 20:14:55,710 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-wfsscontamstep_0001.rmap      787 bytes  (161 / 224 files) (665.4 K / 796.2 K bytes)
2026-04-15 20:14:55,759 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-tweakregstep_0003.rmap    1.8 K bytes  (162 / 224 files) (666.1 K / 796.2 K bytes)
2026-04-15 20:14:55,804 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-tsophotometrystep_0003.rmap    2.7 K bytes  (163 / 224 files) (668.0 K / 796.2 K bytes)
2026-04-15 20:14:55,871 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-spec3pipeline_0011.rmap      886 bytes  (164 / 224 files) (670.6 K / 796.2 K bytes)
2026-04-15 20:14:55,921 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-spec2pipeline_0013.rmap    1.4 K bytes  (165 / 224 files) (671.5 K / 796.2 K bytes)
2026-04-15 20:14:55,978 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-sourcecatalogstep_0003.rmap    1.9 K bytes  (166 / 224 files) (672.9 K / 796.2 K bytes)
2026-04-15 20:14:56,031 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-resamplestep_0002.rmap      677 bytes  (167 / 224 files) (674.9 K / 796.2 K bytes)
2026-04-15 20:14:56,078 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-resamplespecstep_0002.rmap      706 bytes  (168 / 224 files) (675.5 K / 796.2 K bytes)
2026-04-15 20:14:56,129 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-outlierdetectionstep_0020.rmap    3.4 K bytes  (169 / 224 files) (676.2 K / 796.2 K bytes)
2026-04-15 20:14:56,173 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-jumpstep_0011.rmap    1.6 K bytes  (170 / 224 files) (679.6 K / 796.2 K bytes)
2026-04-15 20:14:56,224 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-image2pipeline_0010.rmap    1.1 K bytes  (171 / 224 files) (681.2 K / 796.2 K bytes)
2026-04-15 20:14:56,274 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-extract1dstep_0003.rmap      807 bytes  (172 / 224 files) (682.3 K / 796.2 K bytes)
2026-04-15 20:14:56,317 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-emicorrstep_0003.rmap      796 bytes  (173 / 224 files) (683.1 K / 796.2 K bytes)
2026-04-15 20:14:56,366 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-detector1pipeline_0010.rmap    1.6 K bytes  (174 / 224 files) (683.9 K / 796.2 K bytes)
2026-04-15 20:14:56,414 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-darkpipeline_0002.rmap      860 bytes  (175 / 224 files) (685.5 K / 796.2 K bytes)
2026-04-15 20:14:56,467 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-darkcurrentstep_0002.rmap      683 bytes  (176 / 224 files) (686.3 K / 796.2 K bytes)
2026-04-15 20:14:56,515 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-backgroundstep_0003.rmap      814 bytes  (177 / 224 files) (687.0 K / 796.2 K bytes)
2026-04-15 20:14:56,565 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-adaptivetracemodelstep_0002.rmap      979 bytes  (178 / 224 files) (687.8 K / 796.2 K bytes)
2026-04-15 20:14:56,609 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_mrsxartcorr_0002.rmap    2.2 K bytes  (179 / 224 files) (688.8 K / 796.2 K bytes)
2026-04-15 20:14:56,660 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_mrsptcorr_0005.rmap    2.0 K bytes  (180 / 224 files) (691.0 K / 796.2 K bytes)
2026-04-15 20:14:56,706 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_mask_0036.rmap    8.6 K bytes  (181 / 224 files) (692.9 K / 796.2 K bytes)
2026-04-15 20:14:56,761 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_linearity_0018.rmap    2.8 K bytes  (182 / 224 files) (701.6 K / 796.2 K bytes)
2026-04-15 20:14:56,810 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_ipc_0008.rmap      700 bytes  (183 / 224 files) (704.4 K / 796.2 K bytes)
2026-04-15 20:14:56,861 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_gain_0013.rmap    3.9 K bytes  (184 / 224 files) (705.1 K / 796.2 K bytes)
2026-04-15 20:14:56,907 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_fringefreq_0003.rmap    1.4 K bytes  (185 / 224 files) (709.0 K / 796.2 K bytes)
2026-04-15 20:14:56,960 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_fringe_0019.rmap    3.9 K bytes  (186 / 224 files) (710.5 K / 796.2 K bytes)
2026-04-15 20:14:57,012 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_flat_0073.rmap   16.5 K bytes  (187 / 224 files) (714.4 K / 796.2 K bytes)
2026-04-15 20:14:57,064 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_filteroffset_0029.rmap    2.4 K bytes  (188 / 224 files) (730.9 K / 796.2 K bytes)
2026-04-15 20:14:57,113 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_extract1d_0022.rmap    1.0 K bytes  (189 / 224 files) (733.3 K / 796.2 K bytes)
2026-04-15 20:14:57,158 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_emicorr_0004.rmap      663 bytes  (190 / 224 files) (734.3 K / 796.2 K bytes)
2026-04-15 20:14:57,205 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_drizpars_0002.rmap      511 bytes  (191 / 224 files) (735.0 K / 796.2 K bytes)
2026-04-15 20:14:57,252 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_distortion_0043.rmap    4.8 K bytes  (192 / 224 files) (735.5 K / 796.2 K bytes)
2026-04-15 20:14:57,298 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_dark_0039.rmap    4.3 K bytes  (193 / 224 files) (740.3 K / 796.2 K bytes)
2026-04-15 20:14:57,344 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_cubepar_0017.rmap      800 bytes  (194 / 224 files) (744.6 K / 796.2 K bytes)
2026-04-15 20:14:57,390 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_bkg_0004.rmap      712 bytes  (195 / 224 files) (745.4 K / 796.2 K bytes)
2026-04-15 20:14:57,434 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_area_0015.rmap      866 bytes  (196 / 224 files) (746.1 K / 796.2 K bytes)
2026-04-15 20:14:57,482 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_apcorr_0023.rmap    5.0 K bytes  (197 / 224 files) (746.9 K / 796.2 K bytes)
2026-04-15 20:14:57,535 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_abvegaoffset_0003.rmap    1.3 K bytes  (198 / 224 files) (752.0 K / 796.2 K bytes)
2026-04-15 20:14:57,576 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_0487.imap        6.0 K bytes  (199 / 224 files) (753.2 K / 796.2 K bytes)
2026-04-15 20:14:57,626 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_trappars_0004.rmap      903 bytes  (200 / 224 files) (759.3 K / 796.2 K bytes)
2026-04-15 20:14:57,673 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_trapdensity_0006.rmap      930 bytes  (201 / 224 files) (760.2 K / 796.2 K bytes)
2026-04-15 20:14:57,717 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_superbias_0017.rmap    3.8 K bytes  (202 / 224 files) (761.1 K / 796.2 K bytes)
2026-04-15 20:14:57,764 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_saturation_0009.rmap      779 bytes  (203 / 224 files) (764.9 K / 796.2 K bytes)
2026-04-15 20:14:57,810 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_readnoise_0014.rmap    1.3 K bytes  (204 / 224 files) (765.7 K / 796.2 K bytes)
2026-04-15 20:14:57,856 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_photom_0014.rmap    1.1 K bytes  (205 / 224 files) (766.9 K / 796.2 K bytes)
2026-04-15 20:14:57,906 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_persat_0006.rmap      884 bytes  (206 / 224 files) (768.1 K / 796.2 K bytes)
2026-04-15 20:14:57,949 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-tweakregstep_0002.rmap      850 bytes  (207 / 224 files) (769.0 K / 796.2 K bytes)
2026-04-15 20:14:58,002 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-sourcecatalogstep_0001.rmap      636 bytes  (208 / 224 files) (769.8 K / 796.2 K bytes)
2026-04-15 20:14:58,055 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-outlierdetectionstep_0001.rmap      654 bytes  (209 / 224 files) (770.4 K / 796.2 K bytes)
2026-04-15 20:14:58,103 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-image2pipeline_0005.rmap      974 bytes  (210 / 224 files) (771.1 K / 796.2 K bytes)
2026-04-15 20:14:58,151 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-detector1pipeline_0002.rmap    1.0 K bytes  (211 / 224 files) (772.1 K / 796.2 K bytes)
2026-04-15 20:14:58,209 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-darkpipeline_0002.rmap      856 bytes  (212 / 224 files) (773.1 K / 796.2 K bytes)
2026-04-15 20:14:58,256 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_mask_0023.rmap    1.1 K bytes  (213 / 224 files) (774.0 K / 796.2 K bytes)
2026-04-15 20:14:58,325 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_linearity_0015.rmap      925 bytes  (214 / 224 files) (775.0 K / 796.2 K bytes)
2026-04-15 20:14:58,373 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_ipc_0003.rmap       614 bytes  (215 / 224 files) (775.9 K / 796.2 K bytes)
2026-04-15 20:14:58,419 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_gain_0010.rmap      890 bytes  (216 / 224 files) (776.5 K / 796.2 K bytes)
2026-04-15 20:14:58,464 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_flat_0009.rmap    1.1 K bytes  (217 / 224 files) (777.4 K / 796.2 K bytes)
2026-04-15 20:14:58,509 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_distortion_0011.rmap    1.2 K bytes  (218 / 224 files) (778.6 K / 796.2 K bytes)
2026-04-15 20:14:58,553 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_dark_0017.rmap    4.3 K bytes  (219 / 224 files) (779.8 K / 796.2 K bytes)
2026-04-15 20:14:58,610 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_area_0010.rmap    1.2 K bytes  (220 / 224 files) (784.1 K / 796.2 K bytes)
2026-04-15 20:14:58,661 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_apcorr_0004.rmap    4.0 K bytes  (221 / 224 files) (785.2 K / 796.2 K bytes)
2026-04-15 20:14:58,704 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_abvegaoffset_0002.rmap    1.3 K bytes  (222 / 224 files) (789.2 K / 796.2 K bytes)
2026-04-15 20:14:58,752 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_0125.imap         5.1 K bytes  (223 / 224 files) (790.5 K / 796.2 K bytes)
2026-04-15 20:14:58,805 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_1535.pmap               580 bytes  (224 / 224 files) (795.6 K / 796.2 K bytes)
2026-04-15 20:14:59,465 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf    1.0 K bytes  (1 / 1 files) (0 / 1.0 K bytes)
2026-04-15 20:14:59,510 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:14:59,529 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf      936 bytes  (1 / 1 files) (0 / 936 bytes)
2026-04-15 20:14:59,584 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:14:59,596 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf    1.4 K bytes  (1 / 1 files) (0 / 1.4 K bytes)
2026-04-15 20:14:59,641 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:14:59,656 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf    1.8 K bytes  (1 / 1 files) (0 / 1.8 K bytes)
2026-04-15 20:14:59,704 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:14:59,722 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:14:59,723 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:14:59,724 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:14:59,725 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:14:59,726 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:14:59,726 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:14:59,727 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:14:59,728 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:14:59,729 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:14:59,730 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:14:59,731 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:14:59,732 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:14:59,733 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:14:59,734 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:14:59,735 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:14:59,736 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:14:59,738 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:14:59,738 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:14:59,740 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:14:59,741 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:14:59,742 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:14:59,744 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:14:59,903 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00001_mirifulong_uncal.fits'),).
2026-04-15 20:14:59,924 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:14:59,950 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03102_00001_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:14:59,954 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits    3.1 G bytes  (1 / 8 files) (0 / 3.3 G bytes)
2026-04-15 20:15:21,310 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits    8.5 M bytes  (2 / 8 files) (3.1 G / 3.3 G bytes)
2026-04-15 20:15:21,512 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits   21.2 M bytes  (3 / 8 files) (3.1 G / 3.3 G bytes)
2026-04-15 20:15:21,789 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits    4.2 M bytes  (4 / 8 files) (3.1 G / 3.3 G bytes)
2026-04-15 20:15:21,964 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits    4.2 M bytes  (5 / 8 files) (3.1 G / 3.3 G bytes)
2026-04-15 20:15:22,132 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits  173.3 M bytes  (6 / 8 files) (3.1 G / 3.3 G bytes)
2026-04-15 20:15:23,191 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits    8.6 K bytes  (7 / 8 files) (3.3 G / 3.3 G bytes)
2026-04-15 20:15:23,244 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits    8.5 M bytes  (8 / 8 files) (3.3 G / 3.3 G bytes)
2026-04-15 20:15:23,451 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:15:23,452 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits'.
2026-04-15 20:15:23,452 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits'.
2026-04-15 20:15:23,453 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:15:23,454 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:15:23,455 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:15:23,456 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:15:23,456 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:15:23,457 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:15:23,458 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:15:23,458 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:15:23,459 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:15:23,459 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:15:23,839 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:23,840 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:15:23,841 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:15:23,843 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:15:23,999 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:24,011 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:15:24,051 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:15:24,097 - CRDS - INFO -  Calibration SW Found: jwst 2.0.0 (/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst-2.0.0.dist-info)
2026-04-15 20:15:24,155 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:15:24,316 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:24,318 - stpipe.step - INFO - Step skipped.
2026-04-15 20:15:24,481 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:24,489 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:15:24,490 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:15:24,527 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:15:24,528 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:15:24,537 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:15:24,545 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:15:24,780 - stcal.saturation.saturation - INFO - Detected 373 saturated pixels
2026-04-15 20:15:24,800 - stcal.saturation.saturation - INFO - Detected 23 A/D floor pixels
2026-04-15 20:15:24,814 - stpipe.step - INFO - Step saturation done
2026-04-15 20:15:24,984 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:24,985 - stpipe.step - INFO - Step skipped.
2026-04-15 20:15:25,153 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:25,154 - stpipe.step - INFO - Step skipped.
2026-04-15 20:15:25,316 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:25,319 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:15:25,477 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:25,486 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:15:25,549 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:15:25,550 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:15:25,560 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:15:25,588 - stpipe.step - INFO - Step reset done
2026-04-15 20:15:25,751 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:25,757 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits
2026-04-15 20:15:25,795 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:15:25,796 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:15:25,805 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:15:25,972 - stpipe.step - INFO - Step linearity done
2026-04-15 20:15:26,133 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:26,139 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:15:26,156 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:15:26,157 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:15:26,159 - jwst.rscd.rscd_sub - INFO -  There are 24 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:15:26,164 - jwst.rscd.rscd_sub - INFO - Flagged 24 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:15:26,199 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 24
2026-04-15 20:15:26,202 - stpipe.step - INFO - Step rscd done
2026-04-15 20:15:26,367 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:26,374 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:15:27,370 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:15:27,402 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:15:27,403 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:15:27,404 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:15:28,285 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:15:28,459 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:28,460 - stpipe.step - INFO - Step skipped.
2026-04-15 20:15:28,622 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:28,623 - stpipe.step - INFO - Step skipped.
2026-04-15 20:15:28,784 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:28,786 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:15:28,786 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:15:28,794 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:15:28,797 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:15:28,870 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:15:28,871 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:15:30,726 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:15:36,904 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:15:36,905 - stcal.jump.jump - INFO - Total elapsed time = 8.03416 sec
2026-04-15 20:15:36,922 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.136637
2026-04-15 20:15:36,926 - stpipe.step - INFO - Step jump done
2026-04-15 20:15:37,086 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:37,087 - stpipe.step - INFO - Step skipped.
2026-04-15 20:15:37,249 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:37,250 - stpipe.step - INFO - Step skipped.
2026-04-15 20:15:37,413 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:37,426 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:15:37,426 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:15:37,458 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:15:37,459 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:15:37,550 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:15:37,551 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 0
2026-04-15 20:15:37,552 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:15:40,315 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.7609667778015137
2026-04-15 20:15:40,467 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:15:40,640 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:40,648 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:15:40,665 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:15:40,666 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:15:40,830 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:40,850 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:15:40,852 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:15:40,854 - stpipe.step - INFO - Step xply done
2026-04-15 20:15:40,857 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:15:41,029 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:41,032 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:15:41,050 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:15:41,051 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:15:41,220 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00001_mirifulong_uncal.fits>,).
2026-04-15 20:15:41,240 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:15:41,242 - stpipe.step - INFO - Step xply done
2026-04-15 20:15:41,245 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:15:41,310 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rateints.fits
2026-04-15 20:15:41,311 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:15:41,312 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:15:41,370 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits
2026-04-15 20:15:41,370 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:15:41,371 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:15:41,397 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:15:41,413 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:15:41,425 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:15:41,440 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:15:41,458 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:15:41,459 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:15:41,460 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:15:41,461 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:15:41,462 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:15:41,463 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:15:41,464 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:15:41,465 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:15:41,466 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:15:41,467 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:15:41,467 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:15:41,468 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:15:41,469 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:15:41,470 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:15:41,471 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:15:41,472 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:15:41,474 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:15:41,475 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:15:41,476 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:15:41,477 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:15:41,478 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:15:41,479 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:15:41,646 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00001_mirifushort_uncal.fits'),).
2026-04-15 20:15:41,667 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:15:41,695 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03102_00001_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:15:41,698 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits    3.1 G bytes  (1 / 8 files) (0 / 3.3 G bytes)
2026-04-15 20:16:07,522 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits    4.2 M bytes  (2 / 8 files) (3.1 G / 3.3 G bytes)
2026-04-15 20:16:07,699 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits   21.2 M bytes  (3 / 8 files) (3.1 G / 3.3 G bytes)
2026-04-15 20:16:08,008 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits    4.2 M bytes  (4 / 8 files) (3.1 G / 3.3 G bytes)
2026-04-15 20:16:08,190 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits    4.2 M bytes  (5 / 8 files) (3.1 G / 3.3 G bytes)
2026-04-15 20:16:08,374 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits  173.3 M bytes  (6 / 8 files) (3.1 G / 3.3 G bytes)
2026-04-15 20:16:09,704 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits    8.6 K bytes  (7 / 8 files) (3.3 G / 3.3 G bytes)
2026-04-15 20:16:09,756 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits    8.5 M bytes  (8 / 8 files) (3.3 G / 3.3 G bytes)
2026-04-15 20:16:09,979 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:16:09,979 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:16:09,980 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:16:09,981 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:16:09,982 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:16:09,982 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:16:09,983 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:16:09,983 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:16:09,984 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:16:09,984 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:16:09,985 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:16:09,985 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:16:09,987 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:16:10,376 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:10,377 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:16:10,378 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:16:10,380 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:16:10,552 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:10,556 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:16:10,589 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:10,634 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:16:10,803 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:10,804 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:10,981 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:10,985 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:16:10,986 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:16:11,023 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:11,024 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:11,033 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:11,041 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:16:11,283 - stcal.saturation.saturation - INFO - Detected 1739 saturated pixels
2026-04-15 20:16:11,302 - stcal.saturation.saturation - INFO - Detected 16 A/D floor pixels
2026-04-15 20:16:11,316 - stpipe.step - INFO - Step saturation done
2026-04-15 20:16:11,485 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:11,486 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:11,657 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:11,658 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:11,830 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:11,833 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:16:12,005 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:12,008 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:16:12,070 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:12,071 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:12,081 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:12,108 - stpipe.step - INFO - Step reset done
2026-04-15 20:16:12,275 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:12,278 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:16:12,316 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:12,317 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:12,326 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:12,491 - stpipe.step - INFO - Step linearity done
2026-04-15 20:16:12,666 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:12,669 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:16:12,685 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:16:12,686 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:16:12,687 - jwst.rscd.rscd_sub - INFO -  There are 37 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:16:12,692 - jwst.rscd.rscd_sub - INFO - Flagged 37 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:16:12,727 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 37
2026-04-15 20:16:12,731 - stpipe.step - INFO - Step rscd done
2026-04-15 20:16:12,905 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:12,908 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:16:13,592 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:13,626 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:16:13,627 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:16:13,628 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:16:14,084 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:16:14,265 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:14,266 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:14,442 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:14,443 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:14,619 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:14,620 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:16:14,621 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:16:14,624 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:16:14,627 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:16:14,691 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:16:14,692 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:16:16,569 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:16:22,820 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:16:22,821 - stcal.jump.jump - INFO - Total elapsed time = 8.12879 sec
2026-04-15 20:16:22,837 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.217063
2026-04-15 20:16:22,841 - stpipe.step - INFO - Step jump done
2026-04-15 20:16:23,015 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:23,017 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:23,192 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:23,193 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:23,368 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:23,373 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:16:23,374 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:16:23,404 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:16:23,405 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:16:23,499 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:16:23,500 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 0
2026-04-15 20:16:23,501 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:16:26,129 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.6253104209899902
2026-04-15 20:16:26,275 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:16:26,449 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:26,453 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:16:26,470 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:16:26,471 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:16:26,641 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:26,662 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:16:26,663 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:16:26,666 - stpipe.step - INFO - Step xply done
2026-04-15 20:16:26,670 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:16:26,851 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:26,855 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:16:26,871 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:16:26,872 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:16:27,045 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00001_mirifushort_uncal.fits>,).
2026-04-15 20:16:27,065 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:16:27,067 - stpipe.step - INFO - Step xply done
2026-04-15 20:16:27,070 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:16:27,132 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rateints.fits
2026-04-15 20:16:27,132 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:16:27,133 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:16:27,191 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits
2026-04-15 20:16:27,191 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:16:27,192 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:16:27,220 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:16:27,236 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:16:27,247 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:16:27,261 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:16:27,278 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:16:27,279 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:16:27,280 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:16:27,281 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:16:27,282 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:16:27,283 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:16:27,284 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:16:27,285 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:16:27,286 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:16:27,287 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:16:27,288 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:16:27,289 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:16:27,290 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:16:27,290 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:16:27,292 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:16:27,293 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:16:27,295 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:16:27,296 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:16:27,297 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:16:27,298 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:16:27,299 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:16:27,300 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:16:27,470 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00002_mirifulong_uncal.fits'),).
2026-04-15 20:16:27,491 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:16:27,518 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03102_00002_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:16:27,521 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:16:27,522 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits'.
2026-04-15 20:16:27,522 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits'.
2026-04-15 20:16:27,523 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:16:27,524 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:16:27,524 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:16:27,525 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:16:27,526 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:16:27,526 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:16:27,527 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:16:27,527 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:16:27,529 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:16:27,529 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:16:27,926 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:27,927 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:16:27,928 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:16:27,930 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:16:28,106 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:28,109 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:16:28,142 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:28,189 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:16:28,360 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:28,361 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:28,530 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:28,535 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:16:28,535 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:16:28,572 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:28,573 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:28,582 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:28,590 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:16:28,843 - stcal.saturation.saturation - INFO - Detected 354 saturated pixels
2026-04-15 20:16:28,863 - stcal.saturation.saturation - INFO - Detected 25 A/D floor pixels
2026-04-15 20:16:28,878 - stpipe.step - INFO - Step saturation done
2026-04-15 20:16:29,052 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:29,053 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:29,223 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:29,224 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:29,397 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:29,399 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:16:29,571 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:29,574 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:16:29,636 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:29,637 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:29,647 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:29,675 - stpipe.step - INFO - Step reset done
2026-04-15 20:16:29,851 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:29,854 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits
2026-04-15 20:16:29,892 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:29,893 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:29,902 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:30,078 - stpipe.step - INFO - Step linearity done
2026-04-15 20:16:30,252 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:30,256 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:16:30,272 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:16:30,272 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:16:30,274 - jwst.rscd.rscd_sub - INFO -  There are 23 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:16:30,279 - jwst.rscd.rscd_sub - INFO - Flagged 23 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:16:30,315 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 23
2026-04-15 20:16:30,319 - stpipe.step - INFO - Step rscd done
2026-04-15 20:16:30,496 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:30,499 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:16:30,889 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:30,922 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:16:30,923 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:16:30,924 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:16:31,373 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:16:31,551 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:31,552 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:31,721 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:31,722 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:31,892 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:31,893 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:16:31,894 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:16:31,897 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:16:31,900 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:16:31,965 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:16:31,965 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:16:33,739 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:16:40,151 - stcal.jump.jump - INFO - Total showers= 7
2026-04-15 20:16:40,152 - stcal.jump.jump - INFO - Total elapsed time = 8.18633 sec
2026-04-15 20:16:40,170 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.276429
2026-04-15 20:16:40,174 - stpipe.step - INFO - Step jump done
2026-04-15 20:16:40,346 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:40,347 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:40,521 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:40,522 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:40,695 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:40,701 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:16:40,701 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:16:40,734 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:16:40,735 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:16:40,824 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:16:40,825 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 0
2026-04-15 20:16:40,826 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:16:43,617 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.7895009517669678
2026-04-15 20:16:43,765 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:16:43,949 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:43,953 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:16:43,970 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:16:43,971 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:16:44,152 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:44,173 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:16:44,174 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:16:44,176 - stpipe.step - INFO - Step xply done
2026-04-15 20:16:44,179 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:16:44,358 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:44,361 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:16:44,380 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:16:44,380 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:16:44,558 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00002_mirifulong_uncal.fits>,).
2026-04-15 20:16:44,579 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:16:44,581 - stpipe.step - INFO - Step xply done
2026-04-15 20:16:44,584 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:16:44,646 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rateints.fits
2026-04-15 20:16:44,647 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:16:44,648 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:16:44,705 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits
2026-04-15 20:16:44,706 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:16:44,706 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:16:44,736 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:16:44,752 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:16:44,763 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:16:44,778 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:16:44,796 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:16:44,797 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:16:44,798 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:16:44,799 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:16:44,800 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:16:44,801 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:16:44,802 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:16:44,803 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:16:44,804 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:16:44,806 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:16:44,806 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:16:44,807 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:16:44,809 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:16:44,810 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:16:44,811 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:16:44,812 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:16:44,814 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:16:44,815 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:16:44,816 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:16:44,817 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:16:44,818 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:16:44,819 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:16:44,992 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00002_mirifushort_uncal.fits'),).
2026-04-15 20:16:45,013 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:16:45,039 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03102_00002_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:16:45,042 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:16:45,042 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:16:45,043 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:16:45,044 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:16:45,044 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:16:45,045 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:16:45,045 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:16:45,046 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:16:45,047 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:16:45,047 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:16:45,048 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:16:45,048 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:16:45,049 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:16:45,458 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:45,459 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:16:45,460 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:16:45,462 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:16:45,637 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:45,640 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:16:45,673 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:45,719 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:16:45,886 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:45,887 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:46,063 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:46,066 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:16:46,067 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:16:46,104 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:46,105 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:46,115 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:46,123 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:16:46,371 - stcal.saturation.saturation - INFO - Detected 1638 saturated pixels
2026-04-15 20:16:46,391 - stcal.saturation.saturation - INFO - Detected 6 A/D floor pixels
2026-04-15 20:16:46,406 - stpipe.step - INFO - Step saturation done
2026-04-15 20:16:46,590 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:46,591 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:46,773 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:46,775 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:46,952 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:46,955 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:16:47,122 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:47,125 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:16:47,190 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:47,191 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:47,200 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:47,229 - stpipe.step - INFO - Step reset done
2026-04-15 20:16:47,410 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:47,413 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:16:47,451 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:47,452 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:47,461 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:47,631 - stpipe.step - INFO - Step linearity done
2026-04-15 20:16:47,807 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:47,810 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:16:47,826 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:16:47,827 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:16:47,829 - jwst.rscd.rscd_sub - INFO -  There are 41 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:16:47,833 - jwst.rscd.rscd_sub - INFO - Flagged 41 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:16:47,870 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 41
2026-04-15 20:16:47,874 - stpipe.step - INFO - Step rscd done
2026-04-15 20:16:48,051 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:48,056 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:16:48,471 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:48,504 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:16:48,505 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:16:48,506 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:16:48,899 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:16:49,077 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:49,078 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:49,254 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:49,255 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:49,432 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:49,433 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:16:49,433 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:16:49,436 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:16:49,439 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:16:49,502 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:16:49,503 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:16:51,294 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:16:57,494 - stcal.jump.jump - INFO - Total showers= 1
2026-04-15 20:16:57,495 - stcal.jump.jump - INFO - Total elapsed time = 7.9914 sec
2026-04-15 20:16:57,512 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.079167
2026-04-15 20:16:57,516 - stpipe.step - INFO - Step jump done
2026-04-15 20:16:57,688 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:57,689 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:57,859 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:57,861 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:58,033 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:16:58,038 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:16:58,039 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:16:58,071 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:16:58,072 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:16:58,164 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:16:58,174 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:16:58,175 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:17:00,743 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.5655555725097656
2026-04-15 20:17:00,886 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:17:01,066 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:17:01,069 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:17:01,086 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:17:01,086 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:17:01,260 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:17:01,281 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:17:01,282 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:17:01,284 - stpipe.step - INFO - Step xply done
2026-04-15 20:17:01,288 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:17:01,458 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:17:01,461 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:17:01,477 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:17:01,478 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:17:01,653 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00002_mirifushort_uncal.fits>,).
2026-04-15 20:17:01,672 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:17:01,675 - stpipe.step - INFO - Step xply done
2026-04-15 20:17:01,678 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:17:01,738 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rateints.fits
2026-04-15 20:17:01,739 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:17:01,740 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:17:01,797 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits
2026-04-15 20:17:01,798 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:17:01,799 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:17:01,827 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:17:01,843 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:17:01,854 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:17:01,869 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:17:01,887 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:17:01,888 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:17:01,889 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:17:01,890 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:17:01,891 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:17:01,892 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:17:01,893 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:17:01,894 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:17:01,895 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:17:01,896 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:17:01,897 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:17:01,898 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:17:01,899 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:17:01,900 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:17:01,901 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:17:01,902 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:17:01,904 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:17:01,905 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:17:01,906 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:17:01,907 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:17:01,908 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:17:01,909 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:17:02,078 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00003_mirifulong_uncal.fits'),).
2026-04-15 20:17:02,100 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:17:02,126 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03102_00003_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:17:02,130 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:17:02,131 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits'.
2026-04-15 20:17:02,132 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits'.
2026-04-15 20:17:02,132 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:17:02,133 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:17:02,133 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:17:02,134 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:17:02,135 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:17:02,136 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:17:02,136 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:17:02,137 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:17:02,138 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:17:02,138 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:17:02,553 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:02,554 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:17:02,555 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:17:02,557 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:17:02,729 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:02,732 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:17:02,766 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:02,813 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:17:02,989 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:02,990 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:03,163 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:03,167 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:17:03,168 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:17:03,204 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:03,205 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:03,214 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:03,222 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:17:03,475 - stcal.saturation.saturation - INFO - Detected 358 saturated pixels
2026-04-15 20:17:03,498 - stcal.saturation.saturation - INFO - Detected 26 A/D floor pixels
2026-04-15 20:17:03,512 - stpipe.step - INFO - Step saturation done
2026-04-15 20:17:03,687 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:03,688 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:03,865 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:03,866 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:04,036 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:04,039 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:17:04,211 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:04,215 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:17:04,279 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:04,280 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:04,289 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:04,318 - stpipe.step - INFO - Step reset done
2026-04-15 20:17:04,497 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:04,500 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits
2026-04-15 20:17:04,537 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:04,538 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:04,547 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:04,711 - stpipe.step - INFO - Step linearity done
2026-04-15 20:17:04,884 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:04,887 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:17:04,903 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:17:04,904 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:17:04,906 - jwst.rscd.rscd_sub - INFO -  There are 19 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:17:04,911 - jwst.rscd.rscd_sub - INFO - Flagged 19 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:17:04,947 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 19
2026-04-15 20:17:04,951 - stpipe.step - INFO - Step rscd done
2026-04-15 20:17:05,129 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:05,132 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:17:05,518 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:05,549 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:17:05,550 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:17:05,551 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:17:06,044 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:17:06,217 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:06,218 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:06,392 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:06,393 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:06,572 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:06,573 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:17:06,574 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:17:06,577 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:17:06,580 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:17:06,643 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:17:06,644 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:17:08,490 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:17:14,776 - stcal.jump.jump - INFO - Total showers= 4
2026-04-15 20:17:14,776 - stcal.jump.jump - INFO - Total elapsed time = 8.13215 sec
2026-04-15 20:17:14,794 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.220259
2026-04-15 20:17:14,797 - stpipe.step - INFO - Step jump done
2026-04-15 20:17:14,970 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:14,971 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:15,144 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:15,145 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:15,316 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:15,321 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:17:15,322 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:17:15,355 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:17:15,356 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:17:15,448 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:17:15,457 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:17:15,459 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:17:18,143 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.683438539505005
2026-04-15 20:17:18,285 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:17:18,460 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:18,463 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:17:18,481 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:17:18,482 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:17:18,659 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:18,679 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:17:18,680 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:17:18,682 - stpipe.step - INFO - Step xply done
2026-04-15 20:17:18,685 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:17:18,860 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:18,863 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:17:18,880 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:17:18,881 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:17:19,056 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00003_mirifulong_uncal.fits>,).
2026-04-15 20:17:19,077 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:17:19,079 - stpipe.step - INFO - Step xply done
2026-04-15 20:17:19,082 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:17:19,143 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rateints.fits
2026-04-15 20:17:19,144 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:17:19,145 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:17:19,203 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits
2026-04-15 20:17:19,204 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:17:19,205 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:17:19,233 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:17:19,254 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:17:19,268 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:17:19,284 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:17:19,302 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:17:19,303 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:17:19,304 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:17:19,305 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:17:19,306 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:17:19,306 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:17:19,307 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:17:19,309 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:17:19,309 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:17:19,310 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:17:19,312 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:17:19,312 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:17:19,313 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:17:19,314 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:17:19,316 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:17:19,317 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:17:19,318 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:17:19,319 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:17:19,321 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:17:19,322 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:17:19,323 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:17:19,324 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:17:19,499 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00003_mirifushort_uncal.fits'),).
2026-04-15 20:17:19,520 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:17:19,547 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03102_00003_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:17:19,551 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:17:19,551 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:17:19,552 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:17:19,553 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:17:19,553 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:17:19,554 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:17:19,554 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:17:19,555 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:17:19,555 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:17:19,557 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:17:19,557 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:17:19,558 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:17:19,559 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:17:19,980 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:19,982 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:17:19,982 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:17:19,984 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:17:20,158 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:20,161 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:17:20,196 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:20,241 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:17:20,414 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:20,415 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:20,589 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:20,593 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:17:20,594 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:17:20,632 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:20,633 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:20,642 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:20,650 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:17:20,895 - stcal.saturation.saturation - INFO - Detected 1594 saturated pixels
2026-04-15 20:17:20,914 - stcal.saturation.saturation - INFO - Detected 8 A/D floor pixels
2026-04-15 20:17:20,929 - stpipe.step - INFO - Step saturation done
2026-04-15 20:17:21,101 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:21,102 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:21,273 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:21,275 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:21,445 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:21,448 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:17:21,620 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:21,623 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:17:21,687 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:21,688 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:21,697 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:21,726 - stpipe.step - INFO - Step reset done
2026-04-15 20:17:21,906 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:21,910 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:17:21,949 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:21,950 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:21,959 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:22,125 - stpipe.step - INFO - Step linearity done
2026-04-15 20:17:22,295 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:22,298 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:17:22,314 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:17:22,315 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:17:22,317 - jwst.rscd.rscd_sub - INFO -  There are 53 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:17:22,322 - jwst.rscd.rscd_sub - INFO - Flagged 53 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:17:22,359 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 53
2026-04-15 20:17:22,363 - stpipe.step - INFO - Step rscd done
2026-04-15 20:17:22,544 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:22,548 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:17:22,938 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:22,973 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:17:22,974 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:17:22,975 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:17:23,358 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:17:23,536 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:23,537 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:23,717 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:23,717 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:23,890 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:23,892 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:17:23,892 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:17:23,895 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:17:23,898 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:17:23,960 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:17:23,961 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:17:25,799 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:17:32,135 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:17:32,135 - stcal.jump.jump - INFO - Total elapsed time = 8.17405 sec
2026-04-15 20:17:32,152 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.260566
2026-04-15 20:17:32,156 - stpipe.step - INFO - Step jump done
2026-04-15 20:17:32,330 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:32,331 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:32,510 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:32,511 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:32,694 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:32,700 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:17:32,701 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:17:32,732 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:17:32,733 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:17:32,827 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:17:32,828 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 0
2026-04-15 20:17:32,829 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:17:35,485 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.65407395362854
2026-04-15 20:17:35,632 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:17:35,812 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:35,816 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:17:35,832 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:17:35,833 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:17:36,014 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:36,034 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:17:36,036 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:17:36,038 - stpipe.step - INFO - Step xply done
2026-04-15 20:17:36,041 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:17:36,226 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:36,229 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:17:36,246 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:17:36,247 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:17:36,421 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00003_mirifushort_uncal.fits>,).
2026-04-15 20:17:36,442 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:17:36,444 - stpipe.step - INFO - Step xply done
2026-04-15 20:17:36,447 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:17:36,509 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rateints.fits
2026-04-15 20:17:36,510 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:17:36,511 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:17:36,569 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits
2026-04-15 20:17:36,569 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:17:36,570 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:17:36,600 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:17:36,616 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:17:36,628 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:17:36,643 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:17:36,661 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:17:36,662 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:17:36,663 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:17:36,664 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:17:36,665 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:17:36,666 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:17:36,667 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:17:36,668 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:17:36,669 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:17:36,670 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:17:36,671 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:17:36,671 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:17:36,672 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:17:36,673 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:17:36,675 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:17:36,675 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:17:36,677 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:17:36,678 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:17:36,679 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:17:36,681 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:17:36,681 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:17:36,682 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:17:36,863 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00004_mirifulong_uncal.fits'),).
2026-04-15 20:17:36,886 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:17:36,913 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03102_00004_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:17:36,916 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:17:36,917 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits'.
2026-04-15 20:17:36,918 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits'.
2026-04-15 20:17:36,918 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:17:36,919 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:17:36,920 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:17:36,920 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:17:36,921 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:17:36,921 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:17:36,922 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:17:36,923 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:17:36,924 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:17:36,924 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:17:37,348 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:37,349 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:17:37,350 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:17:37,352 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:17:37,527 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:37,530 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:17:37,564 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:37,610 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:17:37,789 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:37,790 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:37,964 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:37,968 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:17:37,968 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:17:38,006 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:38,007 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:38,016 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:38,024 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:17:38,278 - stcal.saturation.saturation - INFO - Detected 359 saturated pixels
2026-04-15 20:17:38,298 - stcal.saturation.saturation - INFO - Detected 21 A/D floor pixels
2026-04-15 20:17:38,313 - stpipe.step - INFO - Step saturation done
2026-04-15 20:17:38,487 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:38,488 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:38,664 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:38,665 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:38,843 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:38,846 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:17:39,022 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:39,025 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:17:39,090 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:39,091 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:39,101 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:39,129 - stpipe.step - INFO - Step reset done
2026-04-15 20:17:39,321 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:39,324 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits
2026-04-15 20:17:39,362 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:39,363 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:39,372 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:39,545 - stpipe.step - INFO - Step linearity done
2026-04-15 20:17:39,727 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:39,730 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:17:39,747 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:17:39,748 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:17:39,750 - jwst.rscd.rscd_sub - INFO -  There are 22 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:17:39,755 - jwst.rscd.rscd_sub - INFO - Flagged 22 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:17:39,791 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 22
2026-04-15 20:17:39,795 - stpipe.step - INFO - Step rscd done
2026-04-15 20:17:39,976 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:39,979 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:17:40,381 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:40,415 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:17:40,416 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:17:40,417 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:17:40,870 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:17:41,048 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:41,049 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:41,229 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:41,230 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:41,411 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:41,412 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:17:41,413 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:17:41,416 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:17:41,419 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:17:41,482 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:17:41,483 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:17:43,360 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:17:49,631 - stcal.jump.jump - INFO - Total showers= 3
2026-04-15 20:17:49,632 - stcal.jump.jump - INFO - Total elapsed time = 8.14979 sec
2026-04-15 20:17:49,649 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.237288
2026-04-15 20:17:49,653 - stpipe.step - INFO - Step jump done
2026-04-15 20:17:49,825 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:49,826 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:49,999 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:50,001 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:50,178 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:50,184 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:17:50,185 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:17:50,217 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:17:50,218 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:17:50,310 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:17:50,315 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:17:50,316 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:17:53,089 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.771635055541992
2026-04-15 20:17:53,239 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:17:53,421 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:53,424 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:17:53,442 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:17:53,443 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:17:53,622 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:53,643 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:17:53,644 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:17:53,646 - stpipe.step - INFO - Step xply done
2026-04-15 20:17:53,649 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:17:53,826 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:53,830 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:17:53,848 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:17:53,848 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:17:54,027 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00004_mirifulong_uncal.fits>,).
2026-04-15 20:17:54,048 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:17:54,050 - stpipe.step - INFO - Step xply done
2026-04-15 20:17:54,053 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:17:54,115 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rateints.fits
2026-04-15 20:17:54,116 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:17:54,117 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:17:54,175 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits
2026-04-15 20:17:54,176 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:17:54,177 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:17:54,208 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:17:54,224 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:17:54,236 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:17:54,250 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:17:54,268 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:17:54,269 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:17:54,271 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:17:54,272 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:17:54,272 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:17:54,273 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:17:54,274 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:17:54,275 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:17:54,277 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:17:54,277 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:17:54,278 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:17:54,279 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:17:54,280 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:17:54,281 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:17:54,283 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:17:54,284 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:17:54,286 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:17:54,286 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:17:54,288 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:17:54,289 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:17:54,290 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:17:54,291 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:17:54,465 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03102_00004_mirifushort_uncal.fits'),).
2026-04-15 20:17:54,487 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:17:54,512 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03102_00004_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:17:54,516 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:17:54,516 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:17:54,517 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:17:54,518 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:17:54,518 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:17:54,519 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:17:54,520 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:17:54,521 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:17:54,521 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:17:54,522 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:17:54,522 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:17:54,523 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:17:54,523 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:17:54,944 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:54,945 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:17:54,946 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:17:54,948 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:17:55,116 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:55,119 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:17:55,152 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:55,199 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:17:55,381 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:55,382 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:55,560 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:55,565 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:17:55,566 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:17:55,603 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:55,604 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:55,613 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:55,622 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:17:55,891 - stcal.saturation.saturation - INFO - Detected 1515 saturated pixels
2026-04-15 20:17:55,913 - stcal.saturation.saturation - INFO - Detected 10 A/D floor pixels
2026-04-15 20:17:55,930 - stpipe.step - INFO - Step saturation done
2026-04-15 20:17:56,107 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:56,108 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:56,291 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:56,292 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:56,477 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:56,479 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:17:56,655 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:56,658 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:17:56,722 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:56,723 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:56,732 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:56,761 - stpipe.step - INFO - Step reset done
2026-04-15 20:17:56,942 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:56,944 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:17:56,983 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:56,984 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:56,993 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:57,159 - stpipe.step - INFO - Step linearity done
2026-04-15 20:17:57,337 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:57,340 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:17:57,356 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:17:57,357 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:17:57,359 - jwst.rscd.rscd_sub - INFO -  There are 41 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:17:57,364 - jwst.rscd.rscd_sub - INFO - Flagged 41 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:17:57,401 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 41
2026-04-15 20:17:57,404 - stpipe.step - INFO - Step rscd done
2026-04-15 20:17:57,582 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:57,586 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:17:57,975 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:17:58,011 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:17:58,012 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:17:58,013 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:17:58,395 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:17:58,574 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:58,575 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:58,749 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:58,750 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:58,919 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:17:58,920 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:17:58,920 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:17:58,923 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:17:58,926 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:17:58,989 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:17:58,990 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:18:00,786 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:18:06,947 - stcal.jump.jump - INFO - Total showers= 1
2026-04-15 20:18:06,948 - stcal.jump.jump - INFO - Total elapsed time = 7.95805 sec
2026-04-15 20:18:06,964 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.044669
2026-04-15 20:18:06,969 - stpipe.step - INFO - Step jump done
2026-04-15 20:18:07,141 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:18:07,142 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:07,320 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:18:07,321 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:07,501 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:18:07,507 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:18:07,508 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:18:07,540 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:18:07,540 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:18:07,638 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:18:07,647 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:18:07,649 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:18:10,217 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.5663795471191406
2026-04-15 20:18:10,355 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:18:10,525 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:18:10,528 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:18:10,544 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:18:10,544 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:18:10,710 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:18:10,729 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:18:10,731 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:18:10,732 - stpipe.step - INFO - Step xply done
2026-04-15 20:18:10,736 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:18:10,901 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:18:10,904 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:18:10,920 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:18:10,921 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:18:11,076 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03102_00004_mirifushort_uncal.fits>,).
2026-04-15 20:18:11,096 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:18:11,097 - stpipe.step - INFO - Step xply done
2026-04-15 20:18:11,101 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:18:11,162 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rateints.fits
2026-04-15 20:18:11,163 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:18:11,163 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:18:11,220 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits
2026-04-15 20:18:11,221 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:18:11,222 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:18:11,250 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:18:11,265 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:18:11,276 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:18:11,290 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:18:11,308 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:18:11,309 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:18:11,310 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:18:11,311 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:18:11,312 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:18:11,313 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:18:11,314 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:18:11,315 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:18:11,316 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:18:11,317 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:18:11,318 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:18:11,319 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:18:11,320 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:18:11,321 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:18:11,322 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:18:11,323 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:18:11,325 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:18:11,326 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:18:11,327 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:18:11,328 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:18:11,329 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:18:11,330 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:18:11,496 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00001_mirifulong_uncal.fits'),).
2026-04-15 20:18:11,519 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:18:11,546 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03104_00001_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:18:11,549 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits    4.2 M bytes  (1 / 2 files) (0 / 25.4 M bytes)
2026-04-15 20:18:11,724 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits   21.2 M bytes  (2 / 2 files) (4.2 M / 25.4 M bytes)
2026-04-15 20:18:12,049 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:18:12,050 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:18:12,050 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits'.
2026-04-15 20:18:12,051 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:18:12,052 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:18:12,052 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:18:12,053 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:18:12,054 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:18:12,054 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:18:12,055 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:18:12,055 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:18:12,056 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:18:12,057 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:18:12,454 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:12,455 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:18:12,456 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:18:12,457 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:18:12,619 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:12,622 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:18:12,655 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:12,700 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:18:12,855 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:12,856 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:13,010 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:13,014 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:18:13,015 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:18:13,051 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:13,052 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:13,061 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:13,069 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:18:13,304 - stcal.saturation.saturation - INFO - Detected 352 saturated pixels
2026-04-15 20:18:13,323 - stcal.saturation.saturation - INFO - Detected 26 A/D floor pixels
2026-04-15 20:18:13,337 - stpipe.step - INFO - Step saturation done
2026-04-15 20:18:13,497 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:13,499 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:13,662 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:13,663 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:13,824 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:13,827 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:18:13,992 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:13,995 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:18:14,056 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:14,057 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:14,067 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:14,094 - stpipe.step - INFO - Step reset done
2026-04-15 20:18:14,251 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:14,253 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits
2026-04-15 20:18:14,290 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:14,291 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:14,300 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:14,461 - stpipe.step - INFO - Step linearity done
2026-04-15 20:18:14,625 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:14,628 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:18:14,645 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:18:14,646 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:18:14,648 - jwst.rscd.rscd_sub - INFO -  There are 20 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:18:14,652 - jwst.rscd.rscd_sub - INFO - Flagged 20 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:18:14,688 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 20
2026-04-15 20:18:14,692 - stpipe.step - INFO - Step rscd done
2026-04-15 20:18:14,856 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:14,859 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:18:15,233 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:15,264 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:18:15,265 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:18:15,266 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:18:15,693 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:18:15,854 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:15,856 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:16,016 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:16,018 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:16,183 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:16,184 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:18:16,185 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:18:16,188 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:18:16,191 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:18:16,253 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:18:16,254 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:18:18,042 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:18:24,053 - stcal.jump.jump - INFO - Total showers= 1
2026-04-15 20:18:24,054 - stcal.jump.jump - INFO - Total elapsed time = 7.79921 sec
2026-04-15 20:18:24,070 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.886112
2026-04-15 20:18:24,074 - stpipe.step - INFO - Step jump done
2026-04-15 20:18:24,237 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:24,238 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:24,402 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:24,403 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:24,570 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:24,575 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:18:24,576 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:18:24,606 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:18:24,606 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:18:24,695 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:18:24,705 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:18:24,706 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:18:27,401 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.693256139755249
2026-04-15 20:18:27,544 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:18:27,714 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:27,717 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:18:27,733 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:18:27,734 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:18:27,895 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:27,914 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:18:27,916 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:18:27,918 - stpipe.step - INFO - Step xply done
2026-04-15 20:18:27,921 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:18:28,074 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:28,077 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:18:28,093 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:18:28,094 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:18:28,253 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00001_mirifulong_uncal.fits>,).
2026-04-15 20:18:28,272 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:18:28,273 - stpipe.step - INFO - Step xply done
2026-04-15 20:18:28,277 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:18:28,336 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rateints.fits
2026-04-15 20:18:28,337 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:18:28,338 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:18:28,393 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits
2026-04-15 20:18:28,394 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:18:28,395 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:18:28,423 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:18:28,439 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:18:28,449 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:18:28,463 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:18:28,481 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:18:28,482 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:18:28,482 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:18:28,483 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:18:28,484 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:18:28,485 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:18:28,486 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:18:28,487 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:18:28,488 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:18:28,489 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:18:28,490 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:18:28,491 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:18:28,492 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:18:28,493 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:18:28,494 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:18:28,495 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:18:28,497 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:18:28,497 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:18:28,498 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:18:28,500 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:18:28,500 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:18:28,501 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:18:28,670 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00001_mirifushort_uncal.fits'),).
2026-04-15 20:18:28,692 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:18:28,717 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03104_00001_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:18:28,720 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:18:28,721 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:18:28,721 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:18:28,722 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:18:28,723 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:18:28,723 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:18:28,724 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:18:28,725 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:18:28,725 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:18:28,726 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:18:28,727 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:18:28,727 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:18:28,728 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:18:29,134 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:29,136 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:18:29,136 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:18:29,138 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:18:29,296 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:29,299 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:18:29,331 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:29,376 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:18:29,536 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:29,537 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:29,701 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:29,705 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:18:29,706 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:18:29,741 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:29,742 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:29,752 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:29,760 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:18:29,991 - stcal.saturation.saturation - INFO - Detected 1584 saturated pixels
2026-04-15 20:18:30,010 - stcal.saturation.saturation - INFO - Detected 7 A/D floor pixels
2026-04-15 20:18:30,025 - stpipe.step - INFO - Step saturation done
2026-04-15 20:18:30,186 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:30,187 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:30,351 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:30,352 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:30,515 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:30,517 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:18:30,675 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:30,678 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:18:30,741 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:30,742 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:30,751 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:30,779 - stpipe.step - INFO - Step reset done
2026-04-15 20:18:30,941 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:30,944 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:18:30,980 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:30,981 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:30,990 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:31,150 - stpipe.step - INFO - Step linearity done
2026-04-15 20:18:31,317 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:31,321 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:18:31,337 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:18:31,337 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:18:31,339 - jwst.rscd.rscd_sub - INFO -  There are 42 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:18:31,344 - jwst.rscd.rscd_sub - INFO - Flagged 42 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:18:31,380 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 42
2026-04-15 20:18:31,384 - stpipe.step - INFO - Step rscd done
2026-04-15 20:18:31,549 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:31,552 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:18:31,928 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:31,959 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:18:31,960 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:18:31,961 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:18:32,329 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:18:32,489 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:32,490 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:32,658 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:32,659 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:32,822 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:32,823 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:18:32,824 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:18:32,827 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:18:32,830 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:18:32,892 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:18:32,893 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:18:34,646 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:18:40,614 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:18:40,615 - stcal.jump.jump - INFO - Total elapsed time = 7.72179 sec
2026-04-15 20:18:40,631 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.808135
2026-04-15 20:18:40,635 - stpipe.step - INFO - Step jump done
2026-04-15 20:18:40,796 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:40,797 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:40,960 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:40,961 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:41,126 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:41,132 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:18:41,132 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:18:41,163 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:18:41,163 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:18:41,253 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:18:41,258 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:18:41,259 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:18:43,882 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.6207025051116943
2026-04-15 20:18:44,019 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:18:44,179 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:44,182 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:18:44,198 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:18:44,198 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:18:44,363 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:44,383 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:18:44,384 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:18:44,386 - stpipe.step - INFO - Step xply done
2026-04-15 20:18:44,389 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:18:44,554 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:44,557 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:18:44,572 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:18:44,573 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:18:44,732 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00001_mirifushort_uncal.fits>,).
2026-04-15 20:18:44,753 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:18:44,755 - stpipe.step - INFO - Step xply done
2026-04-15 20:18:44,758 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:18:44,817 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rateints.fits
2026-04-15 20:18:44,818 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:18:44,819 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:18:44,875 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits
2026-04-15 20:18:44,875 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:18:44,876 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:18:44,904 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:18:44,920 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:18:44,932 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:18:44,946 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:18:44,964 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:18:44,965 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:18:44,966 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:18:44,967 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:18:44,968 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:18:44,969 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:18:44,970 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:18:44,971 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:18:44,973 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:18:44,973 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:18:44,974 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:18:44,975 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:18:44,976 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:18:44,977 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:18:44,978 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:18:44,979 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:18:44,981 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:18:44,982 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:18:44,983 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:18:44,984 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:18:44,984 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:18:44,985 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:18:45,149 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00002_mirifulong_uncal.fits'),).
2026-04-15 20:18:45,170 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:18:45,196 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03104_00002_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:18:45,199 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:18:45,199 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:18:45,200 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits'.
2026-04-15 20:18:45,201 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:18:45,201 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:18:45,202 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:18:45,203 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:18:45,203 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:18:45,204 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:18:45,204 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:18:45,205 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:18:45,205 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:18:45,206 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:18:45,598 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:45,600 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:18:45,600 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:18:45,602 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:18:45,763 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:45,765 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:18:45,798 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:45,843 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:18:46,014 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:46,015 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:46,181 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:46,185 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:18:46,185 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:18:46,221 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:46,222 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:46,231 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:46,239 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:18:46,477 - stcal.saturation.saturation - INFO - Detected 343 saturated pixels
2026-04-15 20:18:46,495 - stcal.saturation.saturation - INFO - Detected 25 A/D floor pixels
2026-04-15 20:18:46,509 - stpipe.step - INFO - Step saturation done
2026-04-15 20:18:46,676 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:46,677 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:46,844 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:46,845 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:47,010 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:47,013 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:18:47,174 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:47,177 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:18:47,240 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:47,241 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:47,250 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:47,278 - stpipe.step - INFO - Step reset done
2026-04-15 20:18:47,449 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:47,452 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits
2026-04-15 20:18:47,488 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:47,489 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:47,498 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:47,662 - stpipe.step - INFO - Step linearity done
2026-04-15 20:18:47,826 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:47,829 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:18:47,845 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:18:47,845 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:18:47,847 - jwst.rscd.rscd_sub - INFO -  There are 19 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:18:47,853 - jwst.rscd.rscd_sub - INFO - Flagged 19 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:18:47,889 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 19
2026-04-15 20:18:47,892 - stpipe.step - INFO - Step rscd done
2026-04-15 20:18:48,063 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:48,066 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:18:48,437 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:48,468 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:18:48,469 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:18:48,470 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:18:48,897 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:18:49,062 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:49,063 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:49,230 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:49,232 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:49,397 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:49,398 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:18:49,399 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:18:49,402 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:18:49,404 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:18:49,466 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:18:49,467 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:18:51,210 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:18:57,170 - stcal.jump.jump - INFO - Total showers= 5
2026-04-15 20:18:57,171 - stcal.jump.jump - INFO - Total elapsed time = 7.70412 sec
2026-04-15 20:18:57,187 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.789633
2026-04-15 20:18:57,191 - stpipe.step - INFO - Step jump done
2026-04-15 20:18:57,357 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:57,358 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:57,522 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:57,523 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:57,680 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:18:57,685 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:18:57,686 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:18:57,717 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:18:57,718 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:18:57,807 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:18:57,812 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:18:57,813 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:19:00,559 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.743713855743408
2026-04-15 20:19:00,698 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:19:00,865 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:19:00,869 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:19:00,885 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:19:00,885 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:19:01,049 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:19:01,069 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:19:01,070 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:19:01,072 - stpipe.step - INFO - Step xply done
2026-04-15 20:19:01,075 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:19:01,242 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:19:01,245 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:19:01,261 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:19:01,262 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:19:01,427 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00002_mirifulong_uncal.fits>,).
2026-04-15 20:19:01,446 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:19:01,448 - stpipe.step - INFO - Step xply done
2026-04-15 20:19:01,451 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:19:01,509 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rateints.fits
2026-04-15 20:19:01,510 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:19:01,511 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:19:01,567 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits
2026-04-15 20:19:01,568 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:19:01,569 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:19:01,596 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:19:01,611 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:19:01,622 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:19:01,636 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:19:01,653 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:19:01,653 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:19:01,654 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:19:01,655 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:19:01,656 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:19:01,657 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:19:01,658 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:19:01,660 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:19:01,661 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:19:01,661 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:19:01,662 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:19:01,664 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:19:01,664 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:19:01,665 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:19:01,667 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:19:01,668 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:19:01,669 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:19:01,670 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:19:01,671 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:19:01,672 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:19:01,673 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:19:01,674 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:19:01,838 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00002_mirifushort_uncal.fits'),).
2026-04-15 20:19:01,860 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:19:01,885 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03104_00002_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:19:01,888 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:19:01,889 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:19:01,890 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:19:01,890 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:19:01,891 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:19:01,891 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:19:01,892 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:19:01,892 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:19:01,893 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:19:01,894 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:19:01,894 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:19:01,895 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:19:01,896 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:19:02,285 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:02,286 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:19:02,287 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:19:02,289 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:19:02,453 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:02,456 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:19:02,489 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:02,534 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:19:02,699 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:02,700 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:02,857 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:02,861 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:19:02,861 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:19:02,897 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:02,898 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:02,907 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:02,914 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:19:03,144 - stcal.saturation.saturation - INFO - Detected 1534 saturated pixels
2026-04-15 20:19:03,163 - stcal.saturation.saturation - INFO - Detected 7 A/D floor pixels
2026-04-15 20:19:03,177 - stpipe.step - INFO - Step saturation done
2026-04-15 20:19:03,340 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:03,341 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:03,503 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:03,504 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:03,657 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:03,659 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:19:03,821 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:03,825 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:19:03,888 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:03,889 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:03,898 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:03,925 - stpipe.step - INFO - Step reset done
2026-04-15 20:19:04,094 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:04,097 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:19:04,132 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:04,133 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:04,143 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:04,304 - stpipe.step - INFO - Step linearity done
2026-04-15 20:19:04,466 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:04,469 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:19:04,489 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:19:04,490 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:19:04,492 - jwst.rscd.rscd_sub - INFO -  There are 44 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:19:04,497 - jwst.rscd.rscd_sub - INFO - Flagged 44 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:19:04,535 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 44
2026-04-15 20:19:04,538 - stpipe.step - INFO - Step rscd done
2026-04-15 20:19:04,704 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:04,707 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:19:05,085 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:05,115 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:19:05,116 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:19:05,117 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:19:05,504 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:19:05,672 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:05,673 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:05,840 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:05,841 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:06,010 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:06,010 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:19:06,011 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:19:06,014 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:19:06,016 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:19:06,078 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:19:06,079 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:19:07,872 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:19:13,753 - stcal.jump.jump - INFO - Total showers= 2
2026-04-15 20:19:13,753 - stcal.jump.jump - INFO - Total elapsed time = 7.67449 sec
2026-04-15 20:19:13,770 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.759252
2026-04-15 20:19:13,773 - stpipe.step - INFO - Step jump done
2026-04-15 20:19:13,924 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:13,925 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:14,091 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:14,092 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:14,255 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:14,260 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:19:14,261 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:19:14,291 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:19:14,292 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:19:14,381 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:19:14,391 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:19:14,392 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:19:16,937 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.543773651123047
2026-04-15 20:19:17,076 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:19:17,236 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:17,239 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:19:17,255 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:19:17,256 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:19:17,415 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:17,434 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:19:17,435 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:19:17,437 - stpipe.step - INFO - Step xply done
2026-04-15 20:19:17,440 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:19:17,604 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:17,607 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:19:17,623 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:19:17,624 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:19:17,780 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00002_mirifushort_uncal.fits>,).
2026-04-15 20:19:17,800 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:19:17,802 - stpipe.step - INFO - Step xply done
2026-04-15 20:19:17,805 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:19:17,863 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rateints.fits
2026-04-15 20:19:17,864 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:19:17,865 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:19:17,921 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits
2026-04-15 20:19:17,922 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:19:17,922 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:19:17,950 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:19:17,965 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:19:17,976 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:19:17,990 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:19:18,007 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:19:18,008 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:19:18,009 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:19:18,010 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:19:18,011 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:19:18,011 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:19:18,012 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:19:18,013 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:19:18,014 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:19:18,015 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:19:18,016 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:19:18,017 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:19:18,018 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:19:18,018 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:19:18,019 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:19:18,020 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:19:18,022 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:19:18,023 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:19:18,024 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:19:18,025 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:19:18,025 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:19:18,027 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:19:18,190 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00003_mirifulong_uncal.fits'),).
2026-04-15 20:19:18,211 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:19:18,236 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03104_00003_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:19:18,239 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:19:18,240 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:19:18,241 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits'.
2026-04-15 20:19:18,241 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:19:18,242 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:19:18,242 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:19:18,244 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:19:18,244 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:19:18,244 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:19:18,245 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:19:18,246 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:19:18,247 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:19:18,247 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:19:18,643 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:18,644 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:19:18,644 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:19:18,646 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:19:18,806 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:18,809 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:19:18,843 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:18,888 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:19:19,052 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:19,053 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:19,228 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:19,232 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:19:19,232 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:19:19,269 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:19,270 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:19,279 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:19,287 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:19:19,522 - stcal.saturation.saturation - INFO - Detected 347 saturated pixels
2026-04-15 20:19:19,541 - stcal.saturation.saturation - INFO - Detected 21 A/D floor pixels
2026-04-15 20:19:19,556 - stpipe.step - INFO - Step saturation done
2026-04-15 20:19:19,724 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:19,725 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:19,894 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:19,895 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:20,066 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:20,069 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:19:20,231 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:20,234 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:19:20,300 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:20,301 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:20,310 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:20,338 - stpipe.step - INFO - Step reset done
2026-04-15 20:19:20,504 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:20,506 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits
2026-04-15 20:19:20,544 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:20,545 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:20,554 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:20,717 - stpipe.step - INFO - Step linearity done
2026-04-15 20:19:20,891 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:20,894 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:19:20,911 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:19:20,912 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:19:20,914 - jwst.rscd.rscd_sub - INFO -  There are 23 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:19:20,918 - jwst.rscd.rscd_sub - INFO - Flagged 23 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:19:20,954 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 23
2026-04-15 20:19:20,958 - stpipe.step - INFO - Step rscd done
2026-04-15 20:19:21,134 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:21,137 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:19:21,516 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:21,548 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:19:21,548 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:19:21,549 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:19:22,007 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:19:22,175 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:22,176 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:22,344 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:22,346 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:22,512 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:22,513 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:19:22,513 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:19:22,516 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:19:22,519 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:19:22,580 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:19:22,580 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:19:24,340 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:19:30,406 - stcal.jump.jump - INFO - Total showers= 6
2026-04-15 20:19:30,407 - stcal.jump.jump - INFO - Total elapsed time = 7.82643 sec
2026-04-15 20:19:30,424 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.910732
2026-04-15 20:19:30,427 - stpipe.step - INFO - Step jump done
2026-04-15 20:19:30,591 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:30,592 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:30,756 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:30,757 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:30,923 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:30,929 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:19:30,929 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:19:30,959 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:19:30,960 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:19:31,047 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:19:31,049 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 0
2026-04-15 20:19:31,050 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:19:33,791 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.739910364151001
2026-04-15 20:19:33,929 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:19:34,086 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:34,089 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:19:34,105 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:19:34,106 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:19:34,267 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:34,286 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:19:34,287 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:19:34,289 - stpipe.step - INFO - Step xply done
2026-04-15 20:19:34,292 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:19:34,450 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:34,454 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:19:34,470 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:19:34,470 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:19:34,631 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00003_mirifulong_uncal.fits>,).
2026-04-15 20:19:34,651 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:19:34,653 - stpipe.step - INFO - Step xply done
2026-04-15 20:19:34,656 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:19:34,713 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rateints.fits
2026-04-15 20:19:34,714 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:19:34,715 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:19:34,772 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits
2026-04-15 20:19:34,773 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:19:34,774 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:19:34,804 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:19:34,820 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:19:34,831 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:19:34,845 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:19:34,862 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:19:34,863 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:19:34,864 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:19:34,865 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:19:34,866 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:19:34,866 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:19:34,867 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:19:34,868 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:19:34,869 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:19:34,870 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:19:34,871 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:19:34,872 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:19:34,872 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:19:34,873 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:19:34,874 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:19:34,876 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:19:34,878 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:19:34,879 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:19:34,880 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:19:34,881 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:19:34,881 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:19:34,882 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:19:35,047 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00003_mirifushort_uncal.fits'),).
2026-04-15 20:19:35,069 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:19:35,095 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03104_00003_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:19:35,098 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:19:35,098 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:19:35,099 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:19:35,100 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:19:35,100 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:19:35,101 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:19:35,102 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:19:35,103 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:19:35,103 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:19:35,104 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:19:35,104 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:19:35,105 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:19:35,105 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:19:35,507 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:35,508 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:19:35,509 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:19:35,511 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:19:35,672 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:35,676 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:19:35,708 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:35,753 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:19:35,919 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:35,920 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:36,089 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:36,094 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:19:36,094 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:19:36,130 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:36,131 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:36,140 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:36,148 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:19:36,382 - stcal.saturation.saturation - INFO - Detected 1466 saturated pixels
2026-04-15 20:19:36,400 - stcal.saturation.saturation - INFO - Detected 6 A/D floor pixels
2026-04-15 20:19:36,414 - stpipe.step - INFO - Step saturation done
2026-04-15 20:19:36,569 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:36,570 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:36,734 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:36,735 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:36,899 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:36,902 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:19:37,065 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:37,068 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:19:37,129 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:37,130 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:37,140 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:37,168 - stpipe.step - INFO - Step reset done
2026-04-15 20:19:37,335 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:37,338 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:19:37,374 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:37,375 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:37,385 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:37,544 - stpipe.step - INFO - Step linearity done
2026-04-15 20:19:37,708 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:37,712 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:19:37,728 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:19:37,728 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:19:37,730 - jwst.rscd.rscd_sub - INFO -  There are 41 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:19:37,735 - jwst.rscd.rscd_sub - INFO - Flagged 41 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:19:37,770 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 41
2026-04-15 20:19:37,774 - stpipe.step - INFO - Step rscd done
2026-04-15 20:19:37,938 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:37,941 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:19:38,307 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:38,339 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:19:38,340 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:19:38,341 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:19:38,694 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:19:38,865 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:38,866 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:39,029 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:39,030 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:39,195 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:39,196 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:19:39,196 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:19:39,200 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:19:39,202 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:19:39,262 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:19:39,263 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:19:41,051 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:19:46,952 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:19:46,953 - stcal.jump.jump - INFO - Total elapsed time = 7.69003 sec
2026-04-15 20:19:46,970 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.773733
2026-04-15 20:19:46,973 - stpipe.step - INFO - Step jump done
2026-04-15 20:19:47,139 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:47,140 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:47,303 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:47,304 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:47,469 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:47,475 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:19:47,475 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:19:47,505 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:19:47,506 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:19:47,597 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:19:47,607 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:19:47,608 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:19:50,151 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.5408825874328613
2026-04-15 20:19:50,293 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:19:50,465 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:50,468 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:19:50,484 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:19:50,484 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:19:50,649 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:50,668 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:19:50,669 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:19:50,671 - stpipe.step - INFO - Step xply done
2026-04-15 20:19:50,674 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:19:50,841 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:50,844 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:19:50,861 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:19:50,861 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:19:51,033 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00003_mirifushort_uncal.fits>,).
2026-04-15 20:19:51,054 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:19:51,056 - stpipe.step - INFO - Step xply done
2026-04-15 20:19:51,059 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:19:51,120 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rateints.fits
2026-04-15 20:19:51,121 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:19:51,122 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:19:51,178 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits
2026-04-15 20:19:51,179 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:19:51,179 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:19:51,208 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:19:51,223 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:19:51,234 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:19:51,248 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:19:51,266 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:19:51,267 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:19:51,267 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:19:51,268 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:19:51,269 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:19:51,270 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:19:51,271 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:19:51,272 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:19:51,273 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:19:51,274 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:19:51,275 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:19:51,276 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:19:51,276 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:19:51,277 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:19:51,278 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:19:51,279 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:19:51,281 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:19:51,282 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:19:51,283 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:19:51,284 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:19:51,286 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:19:51,286 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:19:51,454 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00004_mirifulong_uncal.fits'),).
2026-04-15 20:19:51,475 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:19:51,502 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03104_00004_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:19:51,504 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:19:51,505 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:19:51,506 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits'.
2026-04-15 20:19:51,507 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:19:51,507 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:19:51,508 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:19:51,509 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:19:51,509 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:19:51,510 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:19:51,510 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:19:51,511 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:19:51,511 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:19:51,512 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:19:51,915 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:51,916 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:19:51,917 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:19:51,919 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:19:52,090 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:52,093 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:19:52,127 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:52,173 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:19:52,342 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:52,343 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:52,514 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:52,518 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:19:52,518 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:19:52,555 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:52,555 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:52,565 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:52,573 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:19:52,812 - stcal.saturation.saturation - INFO - Detected 352 saturated pixels
2026-04-15 20:19:52,831 - stcal.saturation.saturation - INFO - Detected 26 A/D floor pixels
2026-04-15 20:19:52,845 - stpipe.step - INFO - Step saturation done
2026-04-15 20:19:53,017 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:53,018 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:53,191 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:53,192 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:53,362 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:53,365 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:19:53,533 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:53,536 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:19:53,601 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:53,602 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:53,611 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:53,640 - stpipe.step - INFO - Step reset done
2026-04-15 20:19:53,803 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:53,806 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits
2026-04-15 20:19:53,842 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:53,843 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:53,852 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:54,011 - stpipe.step - INFO - Step linearity done
2026-04-15 20:19:54,184 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:54,188 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:19:54,204 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:19:54,205 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:19:54,207 - jwst.rscd.rscd_sub - INFO -  There are 17 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:19:54,212 - jwst.rscd.rscd_sub - INFO - Flagged 17 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:19:54,247 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 17
2026-04-15 20:19:54,251 - stpipe.step - INFO - Step rscd done
2026-04-15 20:19:54,421 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:54,425 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:19:54,787 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:19:54,818 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:19:54,819 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:19:54,820 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:19:55,232 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:19:55,399 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:55,401 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:55,562 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:55,563 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:55,724 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:19:55,725 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:19:55,726 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:19:55,729 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:19:55,731 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:19:55,792 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:19:55,793 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:19:57,543 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:20:03,607 - stcal.jump.jump - INFO - Total showers= 1
2026-04-15 20:20:03,608 - stcal.jump.jump - INFO - Total elapsed time = 7.81464 sec
2026-04-15 20:20:03,625 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.899196
2026-04-15 20:20:03,628 - stpipe.step - INFO - Step jump done
2026-04-15 20:20:03,795 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:20:03,796 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:03,963 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:20:03,964 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:04,131 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:20:04,136 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:20:04,137 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:20:04,167 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:20:04,168 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:20:04,256 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:20:04,266 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:20:04,267 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:20:06,925 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.656548023223877
2026-04-15 20:20:07,063 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:20:07,237 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:20:07,240 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:20:07,257 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:20:07,257 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:20:07,428 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:20:07,447 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:20:07,449 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:20:07,451 - stpipe.step - INFO - Step xply done
2026-04-15 20:20:07,454 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:20:07,621 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:20:07,623 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:20:07,639 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:20:07,640 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:20:07,806 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00004_mirifulong_uncal.fits>,).
2026-04-15 20:20:07,826 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:20:07,828 - stpipe.step - INFO - Step xply done
2026-04-15 20:20:07,831 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:20:07,891 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rateints.fits
2026-04-15 20:20:07,892 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:20:07,892 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:20:07,949 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits
2026-04-15 20:20:07,950 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:20:07,950 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:20:07,978 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:20:07,993 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:20:08,004 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:20:08,019 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:20:08,036 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:20:08,037 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:20:08,038 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:20:08,039 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:20:08,040 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:20:08,041 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:20:08,042 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:20:08,043 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:20:08,044 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:20:08,045 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:20:08,046 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:20:08,047 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:20:08,047 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:20:08,048 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:20:08,050 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:20:08,051 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:20:08,052 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:20:08,053 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:20:08,055 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:20:08,056 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:20:08,057 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:20:08,058 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:20:08,222 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03104_00004_mirifushort_uncal.fits'),).
2026-04-15 20:20:08,243 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:20:08,269 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03104_00004_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:20:08,272 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:20:08,273 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:20:08,273 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:20:08,274 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:20:08,275 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:20:08,275 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:20:08,276 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:20:08,277 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:20:08,278 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:20:08,278 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:20:08,279 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:20:08,279 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:20:08,280 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:20:08,669 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:08,670 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:20:08,671 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:20:08,673 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:20:08,832 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:08,835 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:20:08,867 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:08,912 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:20:09,077 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:09,078 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:09,250 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:09,254 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:20:09,255 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:20:09,291 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:09,292 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:09,301 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:09,309 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:20:09,546 - stcal.saturation.saturation - INFO - Detected 1451 saturated pixels
2026-04-15 20:20:09,566 - stcal.saturation.saturation - INFO - Detected 8 A/D floor pixels
2026-04-15 20:20:09,580 - stpipe.step - INFO - Step saturation done
2026-04-15 20:20:09,745 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:09,746 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:09,918 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:09,919 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:10,088 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:10,091 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:20:10,258 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:10,261 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:20:10,325 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:10,326 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:10,336 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:10,364 - stpipe.step - INFO - Step reset done
2026-04-15 20:20:10,537 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:10,540 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:20:10,577 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:10,578 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:10,587 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:10,747 - stpipe.step - INFO - Step linearity done
2026-04-15 20:20:10,904 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:10,908 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:20:10,923 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:20:10,924 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:20:10,926 - jwst.rscd.rscd_sub - INFO -  There are 38 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:20:10,931 - jwst.rscd.rscd_sub - INFO - Flagged 38 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:20:10,966 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 38
2026-04-15 20:20:10,969 - stpipe.step - INFO - Step rscd done
2026-04-15 20:20:11,135 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:11,138 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:20:11,502 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:11,532 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:20:11,533 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:20:11,533 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:20:11,907 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:20:12,065 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:12,066 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:12,236 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:12,237 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:12,409 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:12,410 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:20:12,411 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:20:12,414 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:20:12,416 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:20:12,477 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:20:12,478 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:20:14,229 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:20:20,134 - stcal.jump.jump - INFO - Total showers= 1
2026-04-15 20:20:20,134 - stcal.jump.jump - INFO - Total elapsed time = 7.65689 sec
2026-04-15 20:20:20,151 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.741184
2026-04-15 20:20:20,155 - stpipe.step - INFO - Step jump done
2026-04-15 20:20:20,319 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:20,320 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:20,485 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:20,486 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:20,657 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:20,663 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:20:20,663 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:20:20,693 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:20:20,694 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:20:20,787 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:20:20,797 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:20:20,798 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:20:23,338 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.5379977226257324
2026-04-15 20:20:23,487 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:20:23,662 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:23,665 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:20:23,680 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:20:23,681 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:20:23,849 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:23,868 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:20:23,869 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:20:23,871 - stpipe.step - INFO - Step xply done
2026-04-15 20:20:23,874 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:20:24,039 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:24,043 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:20:24,058 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:20:24,059 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:20:24,213 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03104_00004_mirifushort_uncal.fits>,).
2026-04-15 20:20:24,233 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:20:24,235 - stpipe.step - INFO - Step xply done
2026-04-15 20:20:24,238 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:20:24,297 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rateints.fits
2026-04-15 20:20:24,298 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:20:24,299 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:20:24,355 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits
2026-04-15 20:20:24,356 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:20:24,357 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:20:24,384 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:20:24,400 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:20:24,411 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:20:24,425 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:20:24,443 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:20:24,444 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:20:24,445 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:20:24,446 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:20:24,447 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:20:24,448 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:20:24,449 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:20:24,450 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:20:24,450 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:20:24,451 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:20:24,452 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:20:24,453 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:20:24,454 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:20:24,455 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:20:24,456 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:20:24,457 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:20:24,459 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:20:24,460 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:20:24,461 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:20:24,462 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:20:24,463 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:20:24,463 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:20:24,630 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00001_mirifulong_uncal.fits'),).
2026-04-15 20:20:24,652 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:20:24,679 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03106_00001_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:20:24,683 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits   21.2 M bytes  (1 / 1 files) (0 / 21.2 M bytes)
2026-04-15 20:20:25,038 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:20:25,039 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:20:25,040 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits'.
2026-04-15 20:20:25,041 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:20:25,042 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:20:25,042 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:20:25,043 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:20:25,043 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:20:25,044 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:20:25,044 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:20:25,045 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:20:25,045 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:20:25,046 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:20:25,433 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:25,434 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:20:25,435 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:20:25,437 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:20:25,602 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:25,605 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:20:25,637 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:25,683 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:20:25,848 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:25,849 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:26,015 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:26,019 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:20:26,020 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:20:26,055 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:26,056 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:26,065 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:26,072 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:20:26,306 - stcal.saturation.saturation - INFO - Detected 316 saturated pixels
2026-04-15 20:20:26,326 - stcal.saturation.saturation - INFO - Detected 28 A/D floor pixels
2026-04-15 20:20:26,340 - stpipe.step - INFO - Step saturation done
2026-04-15 20:20:26,509 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:26,511 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:26,671 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:26,672 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:26,834 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:26,837 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:20:27,004 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:27,007 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:20:27,070 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:27,071 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:27,080 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:27,108 - stpipe.step - INFO - Step reset done
2026-04-15 20:20:27,272 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:27,275 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits
2026-04-15 20:20:27,310 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:27,311 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:27,321 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:27,484 - stpipe.step - INFO - Step linearity done
2026-04-15 20:20:27,655 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:27,658 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:20:27,674 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:20:27,675 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:20:27,677 - jwst.rscd.rscd_sub - INFO -  There are 22 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:20:27,682 - jwst.rscd.rscd_sub - INFO - Flagged 22 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:20:27,718 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 22
2026-04-15 20:20:27,722 - stpipe.step - INFO - Step rscd done
2026-04-15 20:20:27,881 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:27,884 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:20:28,259 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:28,290 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:20:28,291 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:20:28,292 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:20:28,742 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:20:28,904 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:28,905 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:29,077 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:29,078 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:29,247 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:29,248 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:20:29,249 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:20:29,251 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:20:29,254 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:20:29,314 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:20:29,316 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:20:31,070 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:20:37,293 - stcal.jump.jump - INFO - Total showers= 4
2026-04-15 20:20:37,294 - stcal.jump.jump - INFO - Total elapsed time = 7.9787 sec
2026-04-15 20:20:37,311 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.062780
2026-04-15 20:20:37,314 - stpipe.step - INFO - Step jump done
2026-04-15 20:20:37,478 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:37,479 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:37,639 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:37,640 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:37,806 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:37,812 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:20:37,812 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:20:37,842 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:20:37,843 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:20:37,930 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:20:37,935 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:20:37,936 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:20:40,636 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.6971583366394043
2026-04-15 20:20:40,775 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:20:40,941 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:40,944 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:20:40,959 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:20:40,960 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:20:41,125 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:41,145 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:20:41,146 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:20:41,148 - stpipe.step - INFO - Step xply done
2026-04-15 20:20:41,151 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:20:41,315 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:41,318 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:20:41,334 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:20:41,335 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:20:41,499 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00001_mirifulong_uncal.fits>,).
2026-04-15 20:20:41,519 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:20:41,521 - stpipe.step - INFO - Step xply done
2026-04-15 20:20:41,524 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:20:41,582 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rateints.fits
2026-04-15 20:20:41,583 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:20:41,584 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:20:41,640 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits
2026-04-15 20:20:41,641 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:20:41,641 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:20:41,670 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:20:41,685 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:20:41,696 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:20:41,710 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:20:41,727 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:20:41,727 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:20:41,729 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:20:41,729 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:20:41,730 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:20:41,731 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:20:41,732 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:20:41,733 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:20:41,734 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:20:41,735 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:20:41,736 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:20:41,737 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:20:41,738 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:20:41,739 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:20:41,740 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:20:41,741 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:20:41,743 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:20:41,744 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:20:41,745 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:20:41,746 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:20:41,747 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:20:41,748 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:20:41,917 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00001_mirifushort_uncal.fits'),).
2026-04-15 20:20:41,938 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:20:41,964 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03106_00001_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:20:41,967 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits    8.5 M bytes  (1 / 1 files) (0 / 8.5 M bytes)
2026-04-15 20:20:42,201 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:20:42,202 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits'.
2026-04-15 20:20:42,203 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:20:42,203 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:20:42,204 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:20:42,204 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:20:42,206 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:20:42,206 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:20:42,207 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:20:42,207 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:20:42,208 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:20:42,209 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:20:42,209 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:20:42,605 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:42,606 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:20:42,607 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:20:42,609 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:20:42,775 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:42,777 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:20:42,810 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:42,854 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:20:43,014 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:43,015 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:43,183 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:43,187 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:20:43,187 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:20:43,224 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:43,225 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:43,234 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:43,242 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:20:43,479 - stcal.saturation.saturation - INFO - Detected 1585 saturated pixels
2026-04-15 20:20:43,498 - stcal.saturation.saturation - INFO - Detected 9 A/D floor pixels
2026-04-15 20:20:43,512 - stpipe.step - INFO - Step saturation done
2026-04-15 20:20:43,684 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:43,685 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:43,853 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:43,854 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:44,024 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:44,026 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:20:44,194 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:44,197 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:20:44,259 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:44,261 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:44,270 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:44,297 - stpipe.step - INFO - Step reset done
2026-04-15 20:20:44,471 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:44,474 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:20:44,511 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:44,512 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:44,521 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:44,683 - stpipe.step - INFO - Step linearity done
2026-04-15 20:20:44,849 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:44,852 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:20:44,868 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:20:44,869 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:20:44,871 - jwst.rscd.rscd_sub - INFO -  There are 42 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:20:44,876 - jwst.rscd.rscd_sub - INFO - Flagged 42 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:20:44,911 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 42
2026-04-15 20:20:44,915 - stpipe.step - INFO - Step rscd done
2026-04-15 20:20:45,086 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:45,089 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:20:45,464 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:45,495 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:20:45,496 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:20:45,496 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:20:45,867 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:20:46,037 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:46,038 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:46,207 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:46,208 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:46,376 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:46,377 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:20:46,377 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:20:46,380 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:20:46,382 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:20:46,443 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:20:46,444 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:20:48,228 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:20:54,294 - stcal.jump.jump - INFO - Total showers= 3
2026-04-15 20:20:54,295 - stcal.jump.jump - INFO - Total elapsed time = 7.85049 sec
2026-04-15 20:20:54,311 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.934527
2026-04-15 20:20:54,315 - stpipe.step - INFO - Step jump done
2026-04-15 20:20:54,479 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:54,480 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:54,643 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:54,644 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:54,803 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:54,809 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:20:54,809 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:20:54,841 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:20:54,842 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:20:54,940 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:20:54,945 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:20:54,946 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:20:57,537 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.5897927284240723
2026-04-15 20:20:57,678 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:20:57,841 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:57,845 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:20:57,862 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:20:57,863 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:20:58,028 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:58,048 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:20:58,049 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:20:58,051 - stpipe.step - INFO - Step xply done
2026-04-15 20:20:58,054 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:20:58,214 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:58,217 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:20:58,234 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:20:58,235 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:20:58,399 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00001_mirifushort_uncal.fits>,).
2026-04-15 20:20:58,419 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:20:58,421 - stpipe.step - INFO - Step xply done
2026-04-15 20:20:58,424 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:20:58,482 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rateints.fits
2026-04-15 20:20:58,483 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:20:58,484 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:20:58,539 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits
2026-04-15 20:20:58,540 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:20:58,541 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:20:58,570 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:20:58,585 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:20:58,597 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:20:58,611 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:20:58,629 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:20:58,630 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:20:58,631 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:20:58,632 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:20:58,633 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:20:58,634 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:20:58,635 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:20:58,636 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:20:58,637 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:20:58,638 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:20:58,639 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:20:58,639 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:20:58,640 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:20:58,641 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:20:58,642 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:20:58,643 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:20:58,645 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:20:58,646 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:20:58,647 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:20:58,648 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:20:58,648 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:20:58,649 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:20:58,817 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00002_mirifulong_uncal.fits'),).
2026-04-15 20:20:58,838 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:20:58,865 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03106_00002_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:20:58,869 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:20:58,869 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:20:58,870 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits'.
2026-04-15 20:20:58,870 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:20:58,871 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:20:58,872 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:20:58,872 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:20:58,873 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:20:58,873 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:20:58,874 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:20:58,874 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:20:58,875 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:20:58,875 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:20:59,277 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:20:59,278 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:20:59,279 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:20:59,281 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:20:59,439 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:20:59,442 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:20:59,475 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:59,519 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:20:59,676 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:20:59,677 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:59,848 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:20:59,852 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:20:59,853 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:20:59,889 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:59,890 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:59,899 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:20:59,907 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:21:00,139 - stcal.saturation.saturation - INFO - Detected 315 saturated pixels
2026-04-15 20:21:00,160 - stcal.saturation.saturation - INFO - Detected 23 A/D floor pixels
2026-04-15 20:21:00,175 - stpipe.step - INFO - Step saturation done
2026-04-15 20:21:00,335 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:00,336 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:00,508 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:00,509 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:00,680 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:00,683 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:21:00,843 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:00,846 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:21:00,908 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:00,909 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:00,918 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:00,944 - stpipe.step - INFO - Step reset done
2026-04-15 20:21:01,117 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:01,121 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits
2026-04-15 20:21:01,157 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:01,158 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:01,168 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:01,328 - stpipe.step - INFO - Step linearity done
2026-04-15 20:21:01,497 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:01,500 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:21:01,515 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:21:01,516 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:21:01,518 - jwst.rscd.rscd_sub - INFO -  There are 19 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:21:01,523 - jwst.rscd.rscd_sub - INFO - Flagged 19 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:21:01,559 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 19
2026-04-15 20:21:01,563 - stpipe.step - INFO - Step rscd done
2026-04-15 20:21:01,733 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:01,737 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:21:02,112 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:02,142 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:21:02,143 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:21:02,144 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:21:02,612 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:21:02,784 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:02,785 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:02,952 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:02,953 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:03,124 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:03,125 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:21:03,126 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:21:03,129 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:21:03,132 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:21:03,194 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:21:03,195 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:21:04,913 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:21:11,089 - stcal.jump.jump - INFO - Total showers= 3
2026-04-15 20:21:11,090 - stcal.jump.jump - INFO - Total elapsed time = 7.89458 sec
2026-04-15 20:21:11,106 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.980992
2026-04-15 20:21:11,110 - stpipe.step - INFO - Step jump done
2026-04-15 20:21:11,279 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:11,280 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:11,447 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:11,449 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:11,619 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:11,624 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:21:11,625 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:21:11,654 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:21:11,655 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:21:11,746 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:21:11,747 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 0
2026-04-15 20:21:11,748 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:21:14,459 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.7092206478118896
2026-04-15 20:21:14,600 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:21:14,772 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:14,775 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:21:14,791 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:21:14,792 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:21:14,963 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:14,983 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:21:14,985 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:21:14,987 - stpipe.step - INFO - Step xply done
2026-04-15 20:21:14,990 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:21:15,150 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:15,154 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:21:15,170 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:21:15,171 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:21:15,336 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00002_mirifulong_uncal.fits>,).
2026-04-15 20:21:15,356 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:21:15,358 - stpipe.step - INFO - Step xply done
2026-04-15 20:21:15,362 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:21:15,420 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rateints.fits
2026-04-15 20:21:15,420 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:21:15,421 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:21:15,478 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits
2026-04-15 20:21:15,479 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:21:15,480 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:21:15,510 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:21:15,526 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:21:15,538 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:21:15,552 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:21:15,570 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:21:15,571 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:21:15,572 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:21:15,573 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:21:15,574 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:21:15,575 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:21:15,576 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:21:15,577 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:21:15,578 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:21:15,579 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:21:15,580 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:21:15,581 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:21:15,582 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:21:15,582 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:21:15,584 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:21:15,585 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:21:15,587 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:21:15,587 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:21:15,589 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:21:15,590 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:21:15,590 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:21:15,591 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:21:15,758 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00002_mirifushort_uncal.fits'),).
2026-04-15 20:21:15,779 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:21:15,805 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03106_00002_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:21:15,807 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:21:15,808 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits'.
2026-04-15 20:21:15,809 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:21:15,809 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:21:15,810 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:21:15,810 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:21:15,811 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:21:15,812 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:21:15,812 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:21:15,813 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:21:15,813 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:21:15,814 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:21:15,815 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:21:16,219 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:16,221 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:21:16,221 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:21:16,223 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:21:16,386 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:16,389 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:21:16,421 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:16,466 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:21:16,634 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:16,635 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:16,804 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:16,809 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:21:16,809 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:21:16,845 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:16,846 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:16,856 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:16,864 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:21:17,095 - stcal.saturation.saturation - INFO - Detected 1516 saturated pixels
2026-04-15 20:21:17,114 - stcal.saturation.saturation - INFO - Detected 7 A/D floor pixels
2026-04-15 20:21:17,129 - stpipe.step - INFO - Step saturation done
2026-04-15 20:21:17,296 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:17,297 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:17,467 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:17,468 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:17,634 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:17,636 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:21:17,799 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:17,802 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:21:17,865 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:17,867 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:17,876 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:17,904 - stpipe.step - INFO - Step reset done
2026-04-15 20:21:18,070 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:18,073 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:21:18,109 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:18,110 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:18,119 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:18,278 - stpipe.step - INFO - Step linearity done
2026-04-15 20:21:18,438 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:18,441 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:21:18,457 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:21:18,458 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:21:18,460 - jwst.rscd.rscd_sub - INFO -  There are 41 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:21:18,465 - jwst.rscd.rscd_sub - INFO - Flagged 41 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:21:18,501 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 41
2026-04-15 20:21:18,505 - stpipe.step - INFO - Step rscd done
2026-04-15 20:21:18,668 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:18,671 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:21:19,045 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:19,075 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:21:19,076 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:21:19,076 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:21:19,466 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:21:19,630 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:19,631 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:19,801 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:19,802 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:19,976 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:19,977 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:21:19,978 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:21:19,980 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:21:19,983 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:21:20,044 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:21:20,045 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:21:21,806 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:21:27,792 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:21:27,793 - stcal.jump.jump - INFO - Total elapsed time = 7.7475 sec
2026-04-15 20:21:27,809 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.832453
2026-04-15 20:21:27,813 - stpipe.step - INFO - Step jump done
2026-04-15 20:21:27,980 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:27,981 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:28,147 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:28,149 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:28,314 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:28,319 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:21:28,320 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:21:28,351 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:21:28,351 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:21:28,442 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:21:28,451 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:21:28,452 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:21:30,992 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.537858009338379
2026-04-15 20:21:31,133 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:21:31,300 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:31,303 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:21:31,324 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:21:31,325 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:21:31,490 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:31,510 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:21:31,511 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:21:31,513 - stpipe.step - INFO - Step xply done
2026-04-15 20:21:31,516 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:21:31,680 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:31,683 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:21:31,701 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:21:31,702 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:21:31,870 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00002_mirifushort_uncal.fits>,).
2026-04-15 20:21:31,889 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:21:31,891 - stpipe.step - INFO - Step xply done
2026-04-15 20:21:31,894 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:21:31,953 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rateints.fits
2026-04-15 20:21:31,954 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:21:31,955 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:21:32,009 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits
2026-04-15 20:21:32,010 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:21:32,011 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:21:32,039 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:21:32,054 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:21:32,065 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:21:32,079 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:21:32,096 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:21:32,097 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:21:32,097 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:21:32,098 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:21:32,099 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:21:32,100 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:21:32,101 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:21:32,102 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:21:32,103 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:21:32,104 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:21:32,104 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:21:32,105 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:21:32,107 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:21:32,108 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:21:32,109 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:21:32,110 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:21:32,111 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:21:32,112 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:21:32,113 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:21:32,114 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:21:32,115 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:21:32,116 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:21:32,275 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00003_mirifulong_uncal.fits'),).
2026-04-15 20:21:32,296 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:21:32,322 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03106_00003_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:21:32,325 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:21:32,325 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:21:32,326 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits'.
2026-04-15 20:21:32,327 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:21:32,327 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:21:32,328 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:21:32,329 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:21:32,329 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:21:32,330 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:21:32,331 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:21:32,331 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:21:32,332 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:21:32,332 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:21:32,724 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:32,725 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:21:32,726 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:21:32,729 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:21:32,885 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:32,887 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:21:32,919 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:32,964 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:21:33,132 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:33,133 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:33,297 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:33,300 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:21:33,301 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:21:33,336 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:33,337 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:33,346 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:33,353 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:21:33,586 - stcal.saturation.saturation - INFO - Detected 317 saturated pixels
2026-04-15 20:21:33,604 - stcal.saturation.saturation - INFO - Detected 22 A/D floor pixels
2026-04-15 20:21:33,618 - stpipe.step - INFO - Step saturation done
2026-04-15 20:21:33,789 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:33,790 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:33,952 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:33,953 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:34,118 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:34,120 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:21:34,278 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:34,281 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:21:34,343 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:34,344 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:34,354 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:34,381 - stpipe.step - INFO - Step reset done
2026-04-15 20:21:34,548 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:34,551 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits
2026-04-15 20:21:34,587 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:34,588 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:34,597 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:34,758 - stpipe.step - INFO - Step linearity done
2026-04-15 20:21:34,922 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:34,925 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:21:34,940 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:21:34,941 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:21:34,942 - jwst.rscd.rscd_sub - INFO -  There are 23 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:21:34,947 - jwst.rscd.rscd_sub - INFO - Flagged 23 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:21:34,983 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 23
2026-04-15 20:21:34,986 - stpipe.step - INFO - Step rscd done
2026-04-15 20:21:35,155 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:35,158 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:21:35,525 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:35,555 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:21:35,556 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:21:35,557 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:21:35,999 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:21:36,165 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:36,166 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:36,330 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:36,331 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:36,500 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:36,501 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:21:36,502 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:21:36,505 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:21:36,508 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:21:36,568 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:21:36,569 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:21:38,335 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:21:44,485 - stcal.jump.jump - INFO - Total showers= 8
2026-04-15 20:21:44,486 - stcal.jump.jump - INFO - Total elapsed time = 7.91685 sec
2026-04-15 20:21:44,502 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.000727
2026-04-15 20:21:44,506 - stpipe.step - INFO - Step jump done
2026-04-15 20:21:44,670 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:44,671 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:44,823 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:44,824 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:44,995 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:45,000 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:21:45,001 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:21:45,030 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:21:45,031 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:21:45,119 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:21:45,125 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:21:45,126 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:21:47,804 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.6772007942199707
2026-04-15 20:21:47,941 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:21:48,114 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:48,117 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:21:48,133 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:21:48,134 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:21:48,298 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:48,317 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:21:48,318 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:21:48,320 - stpipe.step - INFO - Step xply done
2026-04-15 20:21:48,323 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:21:48,486 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:48,489 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:21:48,505 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:21:48,506 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:21:48,671 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00003_mirifulong_uncal.fits>,).
2026-04-15 20:21:48,691 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:21:48,693 - stpipe.step - INFO - Step xply done
2026-04-15 20:21:48,696 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:21:48,757 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rateints.fits
2026-04-15 20:21:48,758 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:21:48,759 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:21:48,815 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits
2026-04-15 20:21:48,816 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:21:48,816 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:21:48,844 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:21:48,859 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:21:48,870 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:21:48,883 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:21:48,900 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:21:48,901 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:21:48,902 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:21:48,903 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:21:48,904 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:21:48,905 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:21:48,906 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:21:48,907 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:21:48,908 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:21:48,909 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:21:48,910 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:21:48,911 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:21:48,912 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:21:48,912 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:21:48,913 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:21:48,914 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:21:48,916 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:21:48,917 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:21:48,918 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:21:48,919 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:21:48,920 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:21:48,921 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:21:49,088 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00003_mirifushort_uncal.fits'),).
2026-04-15 20:21:49,109 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:21:49,134 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03106_00003_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:21:49,137 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:21:49,138 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits'.
2026-04-15 20:21:49,138 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:21:49,139 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:21:49,140 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:21:49,140 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:21:49,141 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:21:49,141 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:21:49,142 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:21:49,142 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:21:49,143 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:21:49,143 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:21:49,144 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:21:49,543 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:49,544 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:21:49,545 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:21:49,547 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:21:49,713 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:49,716 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:21:49,749 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:49,794 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:21:49,960 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:49,961 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:50,124 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:50,128 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:21:50,129 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:21:50,165 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:50,166 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:50,175 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:50,183 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:21:50,411 - stcal.saturation.saturation - INFO - Detected 1446 saturated pixels
2026-04-15 20:21:50,430 - stcal.saturation.saturation - INFO - Detected 9 A/D floor pixels
2026-04-15 20:21:50,444 - stpipe.step - INFO - Step saturation done
2026-04-15 20:21:50,609 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:50,610 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:50,777 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:50,778 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:50,947 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:50,950 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:21:51,116 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:51,119 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:21:51,181 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:51,182 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:51,192 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:51,219 - stpipe.step - INFO - Step reset done
2026-04-15 20:21:51,385 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:51,388 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:21:51,424 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:51,425 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:51,435 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:51,596 - stpipe.step - INFO - Step linearity done
2026-04-15 20:21:51,760 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:51,763 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:21:51,778 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:21:51,779 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:21:51,781 - jwst.rscd.rscd_sub - INFO -  There are 41 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:21:51,786 - jwst.rscd.rscd_sub - INFO - Flagged 41 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:21:51,825 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 41
2026-04-15 20:21:51,829 - stpipe.step - INFO - Step rscd done
2026-04-15 20:21:51,994 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:51,997 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:21:52,378 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:52,410 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:21:52,411 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:21:52,412 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:21:52,799 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:21:52,954 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:52,955 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:53,131 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:53,133 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:53,306 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:21:53,307 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:21:53,307 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:21:53,310 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:21:53,312 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:21:53,373 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:21:53,374 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:21:55,208 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:22:01,215 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:22:01,216 - stcal.jump.jump - INFO - Total elapsed time = 7.84193 sec
2026-04-15 20:22:01,232 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.925879
2026-04-15 20:22:01,236 - stpipe.step - INFO - Step jump done
2026-04-15 20:22:01,403 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:22:01,404 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:01,571 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:22:01,572 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:01,737 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:22:01,743 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:22:01,743 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:22:01,774 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:22:01,775 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:22:01,865 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:22:01,875 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:22:01,876 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:22:04,419 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.54158878326416
2026-04-15 20:22:04,568 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:22:04,744 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:22:04,747 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:22:04,764 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:22:04,764 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:22:04,929 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:22:04,948 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:22:04,950 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:22:04,951 - stpipe.step - INFO - Step xply done
2026-04-15 20:22:04,954 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:22:05,116 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:22:05,119 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:22:05,137 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:22:05,138 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:22:05,302 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00003_mirifushort_uncal.fits>,).
2026-04-15 20:22:05,322 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:22:05,324 - stpipe.step - INFO - Step xply done
2026-04-15 20:22:05,327 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:22:05,386 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rateints.fits
2026-04-15 20:22:05,387 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:22:05,388 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:22:05,443 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits
2026-04-15 20:22:05,443 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:22:05,444 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:22:05,472 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:22:05,487 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:22:05,497 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:22:05,510 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:22:05,527 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:22:05,528 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:22:05,529 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:22:05,530 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:22:05,531 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:22:05,532 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:22:05,533 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:22:05,534 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:22:05,535 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:22:05,536 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:22:05,537 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:22:05,537 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:22:05,538 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:22:05,540 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:22:05,541 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:22:05,542 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:22:05,543 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:22:05,544 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:22:05,545 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:22:05,546 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:22:05,547 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:22:05,548 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:22:05,709 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00004_mirifulong_uncal.fits'),).
2026-04-15 20:22:05,730 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:22:05,755 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03106_00004_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:22:05,758 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:22:05,759 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:22:05,760 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits'.
2026-04-15 20:22:05,760 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:22:05,761 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:22:05,761 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:22:05,762 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:22:05,762 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:22:05,763 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:22:05,763 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:22:05,764 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:22:05,765 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:22:05,765 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:22:06,163 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:06,164 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:22:06,165 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:22:06,166 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:22:06,322 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:06,325 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:22:06,356 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:06,401 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:22:06,559 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:06,560 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:06,719 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:06,723 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:22:06,724 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:22:06,760 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:06,761 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:06,770 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:06,778 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:22:07,015 - stcal.saturation.saturation - INFO - Detected 315 saturated pixels
2026-04-15 20:22:07,034 - stcal.saturation.saturation - INFO - Detected 28 A/D floor pixels
2026-04-15 20:22:07,048 - stpipe.step - INFO - Step saturation done
2026-04-15 20:22:07,213 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:07,214 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:07,381 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:07,382 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:07,549 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:07,552 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:22:07,719 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:07,722 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:22:07,784 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:07,785 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:07,794 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:07,822 - stpipe.step - INFO - Step reset done
2026-04-15 20:22:07,987 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:07,990 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits
2026-04-15 20:22:08,027 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:08,028 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:08,037 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:08,199 - stpipe.step - INFO - Step linearity done
2026-04-15 20:22:08,374 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:08,377 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:22:08,392 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:22:08,393 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:22:08,395 - jwst.rscd.rscd_sub - INFO -  There are 16 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:22:08,400 - jwst.rscd.rscd_sub - INFO - Flagged 16 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:22:08,437 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 16
2026-04-15 20:22:08,440 - stpipe.step - INFO - Step rscd done
2026-04-15 20:22:08,612 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:08,615 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:22:09,000 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:09,033 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:22:09,034 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:22:09,035 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:22:09,484 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:22:09,647 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:09,648 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:09,813 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:09,814 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:09,982 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:09,983 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:22:09,984 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:22:09,987 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:22:09,989 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:22:10,051 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:22:10,052 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:22:11,825 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:22:17,830 - stcal.jump.jump - INFO - Total showers= 6
2026-04-15 20:22:17,831 - stcal.jump.jump - INFO - Total elapsed time = 7.77888 sec
2026-04-15 20:22:17,848 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.864086
2026-04-15 20:22:17,852 - stpipe.step - INFO - Step jump done
2026-04-15 20:22:18,014 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:18,015 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:18,180 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:18,181 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:18,343 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:18,348 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:22:18,349 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:22:18,378 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:22:18,379 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:22:18,467 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:22:18,477 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:22:18,478 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:22:21,135 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.65604305267334
2026-04-15 20:22:21,273 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:22:21,437 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:21,440 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:22:21,456 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:22:21,457 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:22:21,619 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:21,639 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:22:21,640 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:22:21,642 - stpipe.step - INFO - Step xply done
2026-04-15 20:22:21,645 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:22:21,820 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:21,823 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:22:21,839 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:22:21,840 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:22:22,000 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00004_mirifulong_uncal.fits>,).
2026-04-15 20:22:22,020 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:22:22,022 - stpipe.step - INFO - Step xply done
2026-04-15 20:22:22,025 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:22:22,084 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rateints.fits
2026-04-15 20:22:22,084 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:22:22,085 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:22:22,141 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits
2026-04-15 20:22:22,142 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:22:22,143 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:22:22,170 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:22:22,185 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:22:22,195 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:22:22,209 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:22:22,226 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:22:22,227 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:22:22,228 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:22:22,229 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:22:22,230 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:22:22,230 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:22:22,231 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:22:22,233 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:22:22,233 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:22:22,234 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:22:22,235 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:22:22,236 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:22:22,237 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:22:22,238 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:22:22,239 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:22:22,240 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:22:22,242 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:22:22,243 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:22:22,244 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:22:22,245 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:22:22,245 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:22:22,246 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:22:22,407 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs003/uncal/jw01523003001_03106_00004_mirifushort_uncal.fits'),).
2026-04-15 20:22:22,427 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:22:22,452 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523003001_03106_00004_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:22:22,455 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:22:22,456 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits'.
2026-04-15 20:22:22,457 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:22:22,457 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:22:22,458 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:22:22,458 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:22:22,459 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:22:22,459 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:22:22,461 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:22:22,461 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:22:22,462 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:22:22,462 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:22:22,463 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:22:22,859 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:22,860 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:22:22,860 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:22:22,862 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:22:23,025 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:23,028 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:22:23,061 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:23,106 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:22:23,269 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:23,270 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:23,435 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:23,439 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:22:23,440 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:22:23,476 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:23,477 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:23,486 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:23,494 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:22:23,733 - stcal.saturation.saturation - INFO - Detected 1408 saturated pixels
2026-04-15 20:22:23,752 - stcal.saturation.saturation - INFO - Detected 5 A/D floor pixels
2026-04-15 20:22:23,766 - stpipe.step - INFO - Step saturation done
2026-04-15 20:22:23,922 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:23,923 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:24,090 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:24,091 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:24,249 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:24,251 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:22:24,410 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:24,413 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:22:24,475 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:24,476 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:24,485 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:24,511 - stpipe.step - INFO - Step reset done
2026-04-15 20:22:24,677 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:24,680 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:22:24,716 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:24,717 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:24,726 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:24,883 - stpipe.step - INFO - Step linearity done
2026-04-15 20:22:25,038 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:25,041 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:22:25,057 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:22:25,057 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:22:25,059 - jwst.rscd.rscd_sub - INFO -  There are 41 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:22:25,064 - jwst.rscd.rscd_sub - INFO - Flagged 41 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:22:25,100 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 41
2026-04-15 20:22:25,103 - stpipe.step - INFO - Step rscd done
2026-04-15 20:22:25,269 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:25,272 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:22:25,641 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:25,671 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:22:25,672 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:22:25,673 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:22:26,050 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:22:26,210 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:26,211 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:26,369 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:26,370 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:26,532 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:26,533 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:22:26,534 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:22:26,537 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:22:26,539 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:22:26,598 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:22:26,599 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:22:28,387 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:22:34,346 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:22:34,347 - stcal.jump.jump - INFO - Total elapsed time = 7.74796 sec
2026-04-15 20:22:34,363 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.830262
2026-04-15 20:22:34,367 - stpipe.step - INFO - Step jump done
2026-04-15 20:22:34,528 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:34,529 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:34,691 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:34,692 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:34,855 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:34,860 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:22:34,860 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:22:34,892 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:22:34,893 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:22:34,984 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:22:34,994 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:22:34,995 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:22:37,539 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.543137788772583
2026-04-15 20:22:37,681 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:22:37,852 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:37,855 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:22:37,872 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:22:37,872 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:22:38,036 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:38,054 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:22:38,056 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:22:38,057 - stpipe.step - INFO - Step xply done
2026-04-15 20:22:38,060 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:22:38,228 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:38,231 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:22:38,248 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:22:38,249 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:22:38,413 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523003001_03106_00004_mirifushort_uncal.fits>,).
2026-04-15 20:22:38,433 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:22:38,435 - stpipe.step - INFO - Step xply done
2026-04-15 20:22:38,438 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:22:38,497 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rateints.fits
2026-04-15 20:22:38,498 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:22:38,499 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:22:38,554 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits
2026-04-15 20:22:38,555 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:22:38,555 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0

Calibrating Background Files#

Look for input background files and run calwebb_detector1 pipeline using the call method.

# Now let's look for input files of the form *uncal.fits from the background
# observations
sstring = os.path.join(uncal_bgdir, 'jw*mirifu*uncal.fits')
uncal_files = np.array(sorted(glob.glob(sstring)))
# Check that these are the band/channel to use
uncal_files = select_ch_band_files(uncal_files, use_ch, use_band)

print('Found ' + str(len(uncal_files)) + ' background input files')
Found 12 background input files
# Run the pipeline on these input files by a simple loop over files using
# our custom parameter dictionary
if dodet1bg:
    for file in uncal_files:
        Detector1Pipeline.call(file, steps=det1dict, save_results=True, output_dir=det1_bgdir)
else:
    print('Skipping Detector1 processing for BG data')
2026-04-15 20:22:38,595 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:22:38,611 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:22:38,622 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:22:38,636 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:22:38,654 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:22:38,655 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:22:38,656 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:22:38,657 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:22:38,658 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:22:38,659 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:22:38,660 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:22:38,661 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:22:38,661 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:22:38,663 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:22:38,664 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:22:38,665 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:22:38,666 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:22:38,667 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:22:38,668 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:22:38,669 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:22:38,670 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:22:38,671 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:22:38,672 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:22:38,673 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:22:38,674 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:22:38,675 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:22:38,839 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02101_00001_mirifulong_uncal.fits'),).
2026-04-15 20:22:38,860 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:22:38,887 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02101_00001_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:22:38,890 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:22:38,891 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits'.
2026-04-15 20:22:38,891 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits'.
2026-04-15 20:22:38,892 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:22:38,893 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:22:38,893 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:22:38,894 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:22:38,895 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:22:38,895 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:22:38,896 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:22:38,897 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:22:38,898 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:22:38,898 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:22:39,293 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:39,295 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:22:39,295 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:22:39,297 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:22:39,459 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:39,462 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:22:39,493 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:39,538 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:22:39,703 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:39,704 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:39,867 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:39,871 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:22:39,872 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:22:39,907 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:39,908 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:39,917 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:39,925 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:22:40,158 - stcal.saturation.saturation - INFO - Detected 326 saturated pixels
2026-04-15 20:22:40,178 - stcal.saturation.saturation - INFO - Detected 26 A/D floor pixels
2026-04-15 20:22:40,191 - stpipe.step - INFO - Step saturation done
2026-04-15 20:22:40,357 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:40,358 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:40,521 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:40,522 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:40,682 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:40,685 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:22:40,846 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:40,849 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:22:40,911 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:40,912 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:40,921 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:40,948 - stpipe.step - INFO - Step reset done
2026-04-15 20:22:41,105 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:41,108 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits
2026-04-15 20:22:41,143 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:41,144 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:41,153 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:41,313 - stpipe.step - INFO - Step linearity done
2026-04-15 20:22:41,474 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:41,477 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:22:41,493 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:22:41,494 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:22:41,496 - jwst.rscd.rscd_sub - INFO -  There are 26 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:22:41,500 - jwst.rscd.rscd_sub - INFO - Flagged 26 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:22:41,536 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 26
2026-04-15 20:22:41,540 - stpipe.step - INFO - Step rscd done
2026-04-15 20:22:41,694 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:41,698 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:22:42,069 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:42,099 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:22:42,100 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:22:42,100 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:22:42,535 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:22:42,704 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:42,705 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:42,868 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:42,869 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:43,031 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:43,032 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:22:43,033 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:22:43,036 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:22:43,038 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:22:43,099 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:22:43,100 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:22:44,967 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:22:51,151 - stcal.jump.jump - INFO - Total showers= 9
2026-04-15 20:22:51,152 - stcal.jump.jump - INFO - Total elapsed time = 8.05194 sec
2026-04-15 20:22:51,168 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.135801
2026-04-15 20:22:51,172 - stpipe.step - INFO - Step jump done
2026-04-15 20:22:51,334 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:51,335 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:51,500 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:51,501 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:51,663 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:51,668 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:22:51,669 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:22:51,700 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:22:51,701 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:22:51,791 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:22:51,792 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 0
2026-04-15 20:22:51,793 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:22:54,560 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.7658309936523438
2026-04-15 20:22:54,698 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:22:54,863 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:54,866 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:22:54,882 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:22:54,883 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:22:55,048 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:55,067 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:22:55,068 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:22:55,070 - stpipe.step - INFO - Step xply done
2026-04-15 20:22:55,073 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:22:55,241 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:55,244 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:22:55,261 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:22:55,262 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:22:55,425 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02101_00001_mirifulong_uncal.fits>,).
2026-04-15 20:22:55,445 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:22:55,446 - stpipe.step - INFO - Step xply done
2026-04-15 20:22:55,449 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:22:55,508 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rateints.fits
2026-04-15 20:22:55,508 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:22:55,509 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:22:55,565 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits
2026-04-15 20:22:55,565 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:22:55,566 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:22:55,599 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:22:55,614 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:22:55,625 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:22:55,639 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:22:55,656 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:22:55,657 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:22:55,657 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:22:55,658 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:22:55,660 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:22:55,661 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:22:55,662 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:22:55,663 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:22:55,664 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:22:55,665 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:22:55,665 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:22:55,666 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:22:55,668 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:22:55,668 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:22:55,670 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:22:55,671 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:22:55,672 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:22:55,673 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:22:55,674 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:22:55,675 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:22:55,676 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:22:55,677 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:22:55,845 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02101_00001_mirifushort_uncal.fits'),).
2026-04-15 20:22:55,866 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:22:55,891 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02101_00001_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:22:55,894 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:22:55,894 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:22:55,895 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:22:55,896 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:22:55,896 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:22:55,897 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:22:55,897 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:22:55,898 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:22:55,899 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:22:55,900 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:22:55,900 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:22:55,901 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:22:55,901 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:22:56,292 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:56,293 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:22:56,294 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:22:56,296 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:22:56,460 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:56,464 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:22:56,495 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:56,539 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:22:56,703 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:56,704 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:56,873 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:56,877 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:22:56,877 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:22:56,912 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:56,913 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:56,923 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:56,931 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:22:57,167 - stcal.saturation.saturation - INFO - Detected 1697 saturated pixels
2026-04-15 20:22:57,187 - stcal.saturation.saturation - INFO - Detected 9 A/D floor pixels
2026-04-15 20:22:57,200 - stpipe.step - INFO - Step saturation done
2026-04-15 20:22:57,367 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:57,368 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:57,533 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:57,534 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:57,695 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:57,698 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:22:57,861 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:57,864 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:22:57,927 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:57,928 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:57,938 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:57,965 - stpipe.step - INFO - Step reset done
2026-04-15 20:22:58,133 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:58,136 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:22:58,172 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:58,173 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:58,182 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:58,345 - stpipe.step - INFO - Step linearity done
2026-04-15 20:22:58,509 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:58,512 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:22:58,528 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:22:58,529 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:22:58,531 - jwst.rscd.rscd_sub - INFO -  There are 38 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:22:58,535 - jwst.rscd.rscd_sub - INFO - Flagged 38 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:22:58,572 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 38
2026-04-15 20:22:58,576 - stpipe.step - INFO - Step rscd done
2026-04-15 20:22:58,740 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:58,744 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:22:59,121 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:22:59,152 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:22:59,153 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:22:59,154 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:22:59,569 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:22:59,726 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:59,727 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:59,898 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:22:59,899 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:00,062 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:23:00,063 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:23:00,064 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:23:00,067 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:23:00,069 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:23:00,131 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:23:00,132 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:23:01,910 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:23:07,950 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:23:07,951 - stcal.jump.jump - INFO - Total elapsed time = 7.81913 sec
2026-04-15 20:23:07,967 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.903872
2026-04-15 20:23:07,971 - stpipe.step - INFO - Step jump done
2026-04-15 20:23:08,133 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:23:08,134 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:08,298 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:23:08,299 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:08,466 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:23:08,471 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:23:08,472 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:23:08,501 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:23:08,502 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:23:08,594 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:23:08,600 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:23:08,601 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:23:11,165 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.5622124671936035
2026-04-15 20:23:11,302 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:23:11,467 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:23:11,470 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:23:11,485 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:23:11,486 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:23:11,650 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:23:11,670 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:23:11,671 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:23:11,673 - stpipe.step - INFO - Step xply done
2026-04-15 20:23:11,676 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:23:11,837 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:23:11,840 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:23:11,856 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:23:11,856 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:23:12,014 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02101_00001_mirifushort_uncal.fits>,).
2026-04-15 20:23:12,034 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:23:12,035 - stpipe.step - INFO - Step xply done
2026-04-15 20:23:12,039 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:23:12,096 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rateints.fits
2026-04-15 20:23:12,097 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:23:12,098 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:23:12,152 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits
2026-04-15 20:23:12,153 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:23:12,153 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:23:12,181 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:23:12,197 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:23:12,207 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:23:12,221 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:23:12,238 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:23:12,239 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:23:12,239 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:23:12,240 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:23:12,241 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:23:12,242 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:23:12,243 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:23:12,244 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:23:12,245 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:23:12,245 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:23:12,246 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:23:12,247 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:23:12,248 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:23:12,249 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:23:12,250 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:23:12,251 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:23:12,253 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:23:12,253 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:23:12,254 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:23:12,256 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:23:12,256 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:23:12,257 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:23:12,422 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02101_00002_mirifulong_uncal.fits'),).
2026-04-15 20:23:12,443 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:23:12,468 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02101_00002_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:23:12,471 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:23:12,472 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits'.
2026-04-15 20:23:12,472 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits'.
2026-04-15 20:23:12,473 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:23:12,473 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:23:12,474 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:23:12,475 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:23:12,476 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:23:12,476 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:23:12,477 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:23:12,477 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:23:12,478 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:23:12,478 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:23:12,869 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:12,870 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:23:12,870 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:23:12,872 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:23:13,035 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:13,038 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:23:13,072 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:13,117 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:23:13,287 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:13,288 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:13,455 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:13,459 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:23:13,460 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:23:13,496 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:13,497 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:13,507 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:13,515 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:23:13,753 - stcal.saturation.saturation - INFO - Detected 316 saturated pixels
2026-04-15 20:23:13,772 - stcal.saturation.saturation - INFO - Detected 27 A/D floor pixels
2026-04-15 20:23:13,787 - stpipe.step - INFO - Step saturation done
2026-04-15 20:23:13,948 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:13,950 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:14,106 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:14,107 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:14,268 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:14,271 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:23:14,432 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:14,435 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:23:14,497 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:14,498 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:14,507 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:14,535 - stpipe.step - INFO - Step reset done
2026-04-15 20:23:14,692 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:14,695 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0035.fits
2026-04-15 20:23:14,731 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:14,732 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:14,741 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:14,905 - stpipe.step - INFO - Step linearity done
2026-04-15 20:23:15,068 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:15,071 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:23:15,087 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:23:15,087 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:23:15,089 - jwst.rscd.rscd_sub - INFO -  There are 23 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:23:15,094 - jwst.rscd.rscd_sub - INFO - Flagged 23 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:23:15,129 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 23
2026-04-15 20:23:15,133 - stpipe.step - INFO - Step rscd done
2026-04-15 20:23:15,294 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:15,297 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:23:15,674 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:15,706 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:23:15,707 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:23:15,708 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:23:16,149 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:23:16,316 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:16,317 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:16,476 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:16,478 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:16,645 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:16,646 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:23:16,647 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:23:16,650 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:23:16,652 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:23:16,723 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:23:16,724 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:23:18,467 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:23:24,515 - stcal.jump.jump - INFO - Total showers= 2
2026-04-15 20:23:24,516 - stcal.jump.jump - INFO - Total elapsed time = 7.79211 sec
2026-04-15 20:23:24,534 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.887598
2026-04-15 20:23:24,538 - stpipe.step - INFO - Step jump done
2026-04-15 20:23:24,704 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:24,705 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:24,871 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:24,871 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:25,037 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:25,043 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:23:25,044 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:23:25,075 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:23:25,076 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:23:25,161 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:23:25,162 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 0
2026-04-15 20:23:25,163 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:23:27,905 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.7408628463745117
2026-04-15 20:23:28,039 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:23:28,203 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:28,206 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:23:28,222 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:23:28,223 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:23:28,384 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:28,402 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:23:28,404 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:23:28,406 - stpipe.step - INFO - Step xply done
2026-04-15 20:23:28,409 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:23:28,568 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:28,571 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0033.fits
2026-04-15 20:23:28,588 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:23:28,589 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:23:28,747 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02101_00002_mirifulong_uncal.fits>,).
2026-04-15 20:23:28,766 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:23:28,767 - stpipe.step - INFO - Step xply done
2026-04-15 20:23:28,770 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:23:28,833 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rateints.fits
2026-04-15 20:23:28,834 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:23:28,835 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:23:28,891 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits
2026-04-15 20:23:28,891 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:23:28,892 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:23:28,918 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:23:28,932 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:23:28,943 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:23:28,957 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:23:28,973 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:23:28,974 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:23:28,975 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:23:28,976 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:23:28,977 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:23:28,978 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:23:28,978 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:23:28,980 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:23:28,981 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:23:28,981 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:23:28,982 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:23:28,983 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:23:28,984 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:23:28,985 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:23:28,986 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:23:28,987 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:23:28,989 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:23:28,990 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:23:28,991 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:23:28,993 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:23:28,993 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:23:28,994 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:23:29,159 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02101_00002_mirifushort_uncal.fits'),).
2026-04-15 20:23:29,179 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:23:29,205 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02101_00002_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:23:29,208 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:23:29,208 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:23:29,209 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:23:29,210 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:23:29,210 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:23:29,211 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:23:29,211 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:23:29,212 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:23:29,213 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:23:29,214 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:23:29,214 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:23:29,215 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:23:29,215 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:23:29,612 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:29,613 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:23:29,614 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:23:29,616 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:23:29,778 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:29,781 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:23:29,815 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:29,860 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:23:30,022 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:30,023 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:30,186 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:30,190 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:23:30,190 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:23:30,226 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:30,227 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:30,236 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:30,244 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:23:30,470 - stcal.saturation.saturation - INFO - Detected 1608 saturated pixels
2026-04-15 20:23:30,488 - stcal.saturation.saturation - INFO - Detected 10 A/D floor pixels
2026-04-15 20:23:30,502 - stpipe.step - INFO - Step saturation done
2026-04-15 20:23:30,662 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:30,663 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:30,826 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:30,827 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:30,988 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:30,990 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:23:31,150 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:31,152 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:23:31,214 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:31,215 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:31,225 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:31,252 - stpipe.step - INFO - Step reset done
2026-04-15 20:23:31,419 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:31,423 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:23:31,459 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:31,460 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:31,470 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:31,635 - stpipe.step - INFO - Step linearity done
2026-04-15 20:23:31,796 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:31,799 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:23:31,815 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:23:31,816 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:23:31,818 - jwst.rscd.rscd_sub - INFO -  There are 41 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:23:31,823 - jwst.rscd.rscd_sub - INFO - Flagged 41 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:23:31,858 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 41
2026-04-15 20:23:31,862 - stpipe.step - INFO - Step rscd done
2026-04-15 20:23:32,028 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:32,031 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:23:32,412 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:32,444 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:23:32,445 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:23:32,446 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:23:32,825 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:23:32,989 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:32,990 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:33,155 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:33,155 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:33,319 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:33,319 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:23:33,320 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:23:33,323 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:23:33,325 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:23:33,387 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:23:33,389 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:23:35,135 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:23:41,083 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:23:41,084 - stcal.jump.jump - INFO - Total elapsed time = 7.69519 sec
2026-04-15 20:23:41,100 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.780968
2026-04-15 20:23:41,104 - stpipe.step - INFO - Step jump done
2026-04-15 20:23:41,274 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:41,275 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:41,446 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:41,447 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:41,616 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:41,621 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:23:41,622 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:23:41,652 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:23:41,653 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:23:41,745 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:23:41,755 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:23:41,756 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:23:44,269 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.5115346908569336
2026-04-15 20:23:44,410 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:23:44,578 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:44,580 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:23:44,596 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:23:44,597 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:23:44,762 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:44,781 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:23:44,782 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:23:44,784 - stpipe.step - INFO - Step xply done
2026-04-15 20:23:44,787 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:23:44,953 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:44,956 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:23:44,972 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:23:44,973 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:23:45,140 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02101_00002_mirifushort_uncal.fits>,).
2026-04-15 20:23:45,159 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:23:45,161 - stpipe.step - INFO - Step xply done
2026-04-15 20:23:45,165 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:23:45,228 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rateints.fits
2026-04-15 20:23:45,229 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:23:45,230 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:23:45,285 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits
2026-04-15 20:23:45,286 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:23:45,287 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:23:45,312 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:23:45,327 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:23:45,338 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:23:45,352 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:23:45,369 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:23:45,370 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:23:45,371 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:23:45,372 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:23:45,373 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:23:45,374 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:23:45,374 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:23:45,376 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:23:45,377 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:23:45,377 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:23:45,378 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:23:45,380 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:23:45,381 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:23:45,381 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:23:45,383 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:23:45,383 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:23:45,385 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:23:45,386 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:23:45,387 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:23:45,389 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:23:45,389 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:23:45,390 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:23:45,559 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02103_00001_mirifulong_uncal.fits'),).
2026-04-15 20:23:45,580 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:23:45,607 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02103_00001_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:23:45,610 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:23:45,611 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:23:45,612 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits'.
2026-04-15 20:23:45,612 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:23:45,613 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:23:45,613 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:23:45,614 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:23:45,615 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:23:45,615 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:23:45,616 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:23:45,617 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:23:45,617 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:23:45,618 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:23:46,018 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:46,019 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:23:46,019 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:23:46,021 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:23:46,182 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:46,185 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:23:46,219 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:46,265 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:23:46,433 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:46,434 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:46,598 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:46,602 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:23:46,603 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:23:46,639 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:46,640 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:46,650 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:46,658 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:23:46,891 - stcal.saturation.saturation - INFO - Detected 329 saturated pixels
2026-04-15 20:23:46,911 - stcal.saturation.saturation - INFO - Detected 25 A/D floor pixels
2026-04-15 20:23:46,925 - stpipe.step - INFO - Step saturation done
2026-04-15 20:23:47,089 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:47,090 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:47,257 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:47,258 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:47,419 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:47,421 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:23:47,585 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:47,588 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:23:47,649 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:47,650 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:47,659 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:47,686 - stpipe.step - INFO - Step reset done
2026-04-15 20:23:47,851 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:47,854 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits
2026-04-15 20:23:47,890 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:47,891 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:47,900 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:48,065 - stpipe.step - INFO - Step linearity done
2026-04-15 20:23:48,232 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:48,235 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:23:48,250 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:23:48,251 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:23:48,253 - jwst.rscd.rscd_sub - INFO -  There are 22 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:23:48,258 - jwst.rscd.rscd_sub - INFO - Flagged 22 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:23:48,293 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 22
2026-04-15 20:23:48,297 - stpipe.step - INFO - Step rscd done
2026-04-15 20:23:48,464 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:48,467 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:23:48,837 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:48,868 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:23:48,869 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:23:48,870 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:23:49,292 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:23:49,459 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:49,460 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:49,625 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:49,626 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:49,790 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:49,791 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:23:49,792 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:23:49,794 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:23:49,797 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:23:49,857 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:23:49,858 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:23:51,630 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:23:57,791 - stcal.jump.jump - INFO - Total showers= 1
2026-04-15 20:23:57,792 - stcal.jump.jump - INFO - Total elapsed time = 7.93342 sec
2026-04-15 20:23:57,808 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.017054
2026-04-15 20:23:57,812 - stpipe.step - INFO - Step jump done
2026-04-15 20:23:57,974 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:57,975 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:58,142 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:58,143 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:58,307 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:23:58,312 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:23:58,313 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:23:58,343 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:23:58,344 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:23:58,432 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:23:58,433 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 0
2026-04-15 20:23:58,434 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:24:01,150 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.7134947776794434
2026-04-15 20:24:01,286 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:24:01,445 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:01,448 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:24:01,464 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:24:01,464 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:24:01,626 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:01,645 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:24:01,647 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:24:01,649 - stpipe.step - INFO - Step xply done
2026-04-15 20:24:01,652 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:24:01,819 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:01,822 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:24:01,838 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:24:01,838 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:24:02,005 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02103_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:02,025 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:24:02,027 - stpipe.step - INFO - Step xply done
2026-04-15 20:24:02,030 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:24:02,091 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rateints.fits
2026-04-15 20:24:02,092 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:24:02,093 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:24:02,149 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits
2026-04-15 20:24:02,149 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:24:02,150 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:24:02,175 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:24:02,190 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:24:02,201 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:24:02,215 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:24:02,232 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:24:02,232 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:24:02,233 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:24:02,235 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:24:02,235 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:24:02,236 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:24:02,237 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:24:02,238 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:24:02,239 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:24:02,240 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:24:02,241 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:24:02,242 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:24:02,243 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:24:02,244 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:24:02,246 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:24:02,247 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:24:02,248 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:24:02,250 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:24:02,250 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:24:02,251 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:24:02,252 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:24:02,253 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:24:02,426 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02103_00001_mirifushort_uncal.fits'),).
2026-04-15 20:24:02,447 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:24:02,473 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02103_00001_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:24:02,476 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:24:02,477 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:24:02,477 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:24:02,478 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:24:02,478 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:24:02,479 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:24:02,480 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:24:02,480 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:24:02,481 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:24:02,482 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:24:02,482 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:24:02,483 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:24:02,484 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:24:02,873 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:02,875 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:24:02,876 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:24:02,878 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:24:03,044 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:03,046 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:24:03,080 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:03,125 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:24:03,290 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:03,291 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:03,457 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:03,461 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:24:03,462 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:24:03,497 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:03,498 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:03,507 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:03,515 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:24:03,755 - stcal.saturation.saturation - INFO - Detected 1607 saturated pixels
2026-04-15 20:24:03,773 - stcal.saturation.saturation - INFO - Detected 2 A/D floor pixels
2026-04-15 20:24:03,787 - stpipe.step - INFO - Step saturation done
2026-04-15 20:24:03,957 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:03,958 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:04,117 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:04,118 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:04,285 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:04,287 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:24:04,446 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:04,449 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:24:04,511 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:04,512 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:04,521 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:04,548 - stpipe.step - INFO - Step reset done
2026-04-15 20:24:04,707 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:04,710 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:24:04,746 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:04,747 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:04,756 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:04,918 - stpipe.step - INFO - Step linearity done
2026-04-15 20:24:05,080 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:05,083 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:24:05,098 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:24:05,099 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:24:05,101 - jwst.rscd.rscd_sub - INFO -  There are 41 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:24:05,106 - jwst.rscd.rscd_sub - INFO - Flagged 41 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:24:05,141 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 41
2026-04-15 20:24:05,144 - stpipe.step - INFO - Step rscd done
2026-04-15 20:24:05,307 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:05,310 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:24:05,689 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:05,721 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:24:05,722 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:24:05,723 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:24:06,099 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:24:06,259 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:06,260 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:06,419 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:06,420 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:06,585 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:06,586 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:24:06,587 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:24:06,590 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:24:06,592 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:24:06,653 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:24:06,654 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:24:08,365 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:24:14,438 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:24:14,439 - stcal.jump.jump - INFO - Total elapsed time = 7.78503 sec
2026-04-15 20:24:14,458 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.872245
2026-04-15 20:24:14,462 - stpipe.step - INFO - Step jump done
2026-04-15 20:24:14,624 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:14,625 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:14,790 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:14,791 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:14,950 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:14,955 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:24:14,955 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:24:14,984 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:24:14,985 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:24:15,074 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:24:15,079 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:24:15,080 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:24:17,634 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.5514838695526123
2026-04-15 20:24:17,770 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:24:17,933 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:17,935 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:24:17,951 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:24:17,951 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:24:18,111 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:18,130 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:24:18,131 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:24:18,133 - stpipe.step - INFO - Step xply done
2026-04-15 20:24:18,136 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:24:18,294 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:18,297 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:24:18,312 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:24:18,313 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:24:18,472 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02103_00001_mirifushort_uncal.fits>,).
2026-04-15 20:24:18,491 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:24:18,493 - stpipe.step - INFO - Step xply done
2026-04-15 20:24:18,496 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:24:18,556 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rateints.fits
2026-04-15 20:24:18,557 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:24:18,558 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:24:18,612 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits
2026-04-15 20:24:18,613 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:24:18,614 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:24:18,639 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:24:18,654 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:24:18,664 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:24:18,678 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:24:18,695 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:24:18,696 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:24:18,697 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:24:18,698 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:24:18,699 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:24:18,699 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:24:18,700 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:24:18,701 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:24:18,702 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:24:18,703 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:24:18,704 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:24:18,705 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:24:18,705 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:24:18,706 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:24:18,707 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:24:18,708 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:24:18,710 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:24:18,711 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:24:18,712 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:24:18,713 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:24:18,714 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:24:18,716 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:24:18,881 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02103_00002_mirifulong_uncal.fits'),).
2026-04-15 20:24:18,901 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:24:18,927 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02103_00002_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:24:18,930 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:24:18,931 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:24:18,932 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits'.
2026-04-15 20:24:18,932 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:24:18,933 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:24:18,933 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:24:18,934 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:24:18,935 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:24:18,936 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:24:18,936 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:24:18,937 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:24:18,937 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:24:18,938 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:24:19,320 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:19,322 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:24:19,322 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:24:19,324 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:24:19,492 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:19,495 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:24:19,529 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:19,574 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:24:19,744 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:19,745 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:19,912 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:19,916 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:24:19,917 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:24:19,958 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:19,959 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:19,968 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:19,976 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:24:20,218 - stcal.saturation.saturation - INFO - Detected 319 saturated pixels
2026-04-15 20:24:20,237 - stcal.saturation.saturation - INFO - Detected 25 A/D floor pixels
2026-04-15 20:24:20,251 - stpipe.step - INFO - Step saturation done
2026-04-15 20:24:20,414 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:20,416 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:20,578 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:20,579 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:20,740 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:20,743 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:24:20,908 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:20,912 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:24:20,974 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:20,975 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:20,983 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:21,011 - stpipe.step - INFO - Step reset done
2026-04-15 20:24:21,167 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:21,170 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0036.fits
2026-04-15 20:24:21,206 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:21,207 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:21,216 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:21,379 - stpipe.step - INFO - Step linearity done
2026-04-15 20:24:21,543 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:21,546 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:24:21,562 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:24:21,563 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:24:21,565 - jwst.rscd.rscd_sub - INFO -  There are 22 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:24:21,570 - jwst.rscd.rscd_sub - INFO - Flagged 22 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:24:21,604 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 22
2026-04-15 20:24:21,608 - stpipe.step - INFO - Step rscd done
2026-04-15 20:24:21,764 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:21,767 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:24:22,142 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:22,172 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:24:22,173 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:24:22,174 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:24:22,599 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:24:22,763 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:22,764 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:22,922 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:22,923 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:23,093 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:23,094 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:24:23,094 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:24:23,097 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:24:23,100 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:24:23,162 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:24:23,162 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:24:24,945 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:24:30,971 - stcal.jump.jump - INFO - Total showers= 5
2026-04-15 20:24:30,972 - stcal.jump.jump - INFO - Total elapsed time = 7.80985 sec
2026-04-15 20:24:30,989 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.895088
2026-04-15 20:24:30,992 - stpipe.step - INFO - Step jump done
2026-04-15 20:24:31,151 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:31,152 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:31,307 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:31,308 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:31,473 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:31,478 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:24:31,478 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:24:31,508 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:24:31,509 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:24:31,597 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:24:31,603 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:24:31,604 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:24:34,307 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.7011606693267822
2026-04-15 20:24:34,444 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:24:34,608 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:34,611 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:24:34,627 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:24:34,627 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:24:34,784 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:34,802 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:24:34,804 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:24:34,805 - stpipe.step - INFO - Step xply done
2026-04-15 20:24:34,808 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:24:34,967 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:34,970 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:24:34,986 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:24:34,987 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:24:35,148 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02103_00002_mirifulong_uncal.fits>,).
2026-04-15 20:24:35,167 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:24:35,169 - stpipe.step - INFO - Step xply done
2026-04-15 20:24:35,172 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:24:35,234 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rateints.fits
2026-04-15 20:24:35,235 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:24:35,236 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:24:35,291 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits
2026-04-15 20:24:35,292 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:24:35,293 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:24:35,318 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:24:35,333 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:24:35,343 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:24:35,357 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:24:35,374 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:24:35,375 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:24:35,376 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:24:35,377 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:24:35,378 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:24:35,379 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:24:35,379 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:24:35,381 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:24:35,382 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:24:35,383 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:24:35,384 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:24:35,384 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:24:35,385 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:24:35,386 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:24:35,387 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:24:35,388 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:24:35,390 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:24:35,390 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:24:35,391 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:24:35,392 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:24:35,393 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:24:35,394 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:24:35,555 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02103_00002_mirifushort_uncal.fits'),).
2026-04-15 20:24:35,576 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:24:35,601 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02103_00002_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:24:35,604 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:24:35,605 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits'.
2026-04-15 20:24:35,606 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:24:35,606 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:24:35,607 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:24:35,607 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:24:35,608 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:24:35,609 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:24:35,609 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:24:35,610 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:24:35,610 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:24:35,611 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:24:35,611 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:24:36,004 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:36,005 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:24:36,006 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:24:36,008 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:24:36,165 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:36,168 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:24:36,201 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:36,245 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:24:36,396 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:36,397 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:36,547 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:36,551 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:24:36,552 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:24:36,589 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:36,590 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:36,599 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:36,607 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:24:36,838 - stcal.saturation.saturation - INFO - Detected 1472 saturated pixels
2026-04-15 20:24:36,856 - stcal.saturation.saturation - INFO - Detected 9 A/D floor pixels
2026-04-15 20:24:36,870 - stpipe.step - INFO - Step saturation done
2026-04-15 20:24:37,031 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:37,032 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:37,195 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:37,196 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:37,359 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:37,361 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:24:37,516 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:37,520 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:24:37,582 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:37,583 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:37,592 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:37,619 - stpipe.step - INFO - Step reset done
2026-04-15 20:24:37,779 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:37,782 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:24:37,819 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:37,820 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:37,829 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:37,990 - stpipe.step - INFO - Step linearity done
2026-04-15 20:24:38,155 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:38,158 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:24:38,173 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:24:38,174 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:24:38,176 - jwst.rscd.rscd_sub - INFO -  There are 32 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:24:38,181 - jwst.rscd.rscd_sub - INFO - Flagged 32 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:24:38,216 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 32
2026-04-15 20:24:38,220 - stpipe.step - INFO - Step rscd done
2026-04-15 20:24:38,377 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:38,380 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:24:38,748 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:38,780 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:24:38,781 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:24:38,781 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:24:39,140 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:24:39,303 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:39,304 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:39,465 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:39,466 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:39,623 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:39,624 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:24:39,625 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:24:39,628 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:24:39,631 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:24:39,691 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:24:39,692 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:24:41,475 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:24:47,364 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:24:47,365 - stcal.jump.jump - INFO - Total elapsed time = 7.67321 sec
2026-04-15 20:24:47,382 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.757755
2026-04-15 20:24:47,386 - stpipe.step - INFO - Step jump done
2026-04-15 20:24:47,544 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:47,545 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:47,708 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:47,709 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:47,871 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:47,876 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:24:47,877 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:24:47,906 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:24:47,907 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:24:47,996 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:24:48,006 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:24:48,007 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:24:50,503 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.494244337081909
2026-04-15 20:24:50,638 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:24:50,803 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:50,806 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:24:50,821 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:24:50,822 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:24:50,986 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:51,005 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:24:51,007 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:24:51,008 - stpipe.step - INFO - Step xply done
2026-04-15 20:24:51,011 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:24:51,172 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:51,175 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0007.fits
2026-04-15 20:24:51,190 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:24:51,191 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:24:51,356 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02103_00002_mirifushort_uncal.fits>,).
2026-04-15 20:24:51,375 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:24:51,377 - stpipe.step - INFO - Step xply done
2026-04-15 20:24:51,380 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:24:51,442 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rateints.fits
2026-04-15 20:24:51,442 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:24:51,443 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:24:51,503 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits
2026-04-15 20:24:51,504 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:24:51,505 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:24:51,532 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:24:51,547 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:24:51,558 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:24:51,571 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:24:51,588 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:24:51,589 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:24:51,590 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:24:51,591 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:24:51,592 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:24:51,593 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:24:51,594 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:24:51,595 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:24:51,596 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:24:51,597 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:24:51,598 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:24:51,599 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:24:51,600 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:24:51,601 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:24:51,602 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:24:51,603 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:24:51,604 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:24:51,605 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:24:51,607 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:24:51,608 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:24:51,608 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:24:51,609 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:24:51,761 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02105_00001_mirifulong_uncal.fits'),).
2026-04-15 20:24:51,782 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:24:51,808 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02105_00001_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:24:51,811 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:24:51,811 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:24:51,812 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits'.
2026-04-15 20:24:51,812 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:24:51,813 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:24:51,813 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:24:51,814 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:24:51,814 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:24:51,815 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:24:51,815 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:24:51,816 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:24:51,816 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:24:51,817 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:24:52,201 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:52,203 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:24:52,203 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:24:52,206 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:24:52,363 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:52,366 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:24:52,399 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:52,444 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:24:52,607 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:52,608 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:52,772 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:52,775 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:24:52,776 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:24:52,811 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:52,812 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:52,822 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:52,830 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:24:53,059 - stcal.saturation.saturation - INFO - Detected 320 saturated pixels
2026-04-15 20:24:53,080 - stcal.saturation.saturation - INFO - Detected 25 A/D floor pixels
2026-04-15 20:24:53,094 - stpipe.step - INFO - Step saturation done
2026-04-15 20:24:53,269 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:53,270 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:53,437 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:53,438 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:53,598 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:53,600 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:24:53,767 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:53,770 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:24:53,831 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:53,832 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:53,842 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:53,868 - stpipe.step - INFO - Step reset done
2026-04-15 20:24:54,028 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:54,031 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits
2026-04-15 20:24:54,067 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:54,068 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:54,077 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:54,239 - stpipe.step - INFO - Step linearity done
2026-04-15 20:24:54,408 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:54,411 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:24:54,426 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:24:54,427 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:24:54,429 - jwst.rscd.rscd_sub - INFO -  There are 23 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:24:54,434 - jwst.rscd.rscd_sub - INFO - Flagged 23 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:24:54,469 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 23
2026-04-15 20:24:54,473 - stpipe.step - INFO - Step rscd done
2026-04-15 20:24:54,637 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:54,640 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:24:55,009 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:24:55,041 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:24:55,042 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:24:55,042 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:24:55,493 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:24:55,665 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:55,665 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:55,834 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:55,835 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:56,002 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:24:56,004 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:24:56,005 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:24:56,007 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:24:56,010 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:24:56,070 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:24:56,071 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:24:57,811 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:25:03,881 - stcal.jump.jump - INFO - Total showers= 5
2026-04-15 20:25:03,882 - stcal.jump.jump - INFO - Total elapsed time = 7.81106 sec
2026-04-15 20:25:03,898 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.894289
2026-04-15 20:25:03,902 - stpipe.step - INFO - Step jump done
2026-04-15 20:25:04,065 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:25:04,066 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:04,230 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:25:04,231 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:04,395 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:25:04,400 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:25:04,401 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:25:04,431 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:25:04,432 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:25:04,519 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:25:04,525 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:25:04,526 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:25:07,186 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.658391237258911
2026-04-15 20:25:07,333 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:25:07,501 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:25:07,504 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:25:07,519 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:25:07,520 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:25:07,682 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:25:07,701 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:25:07,703 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:25:07,705 - stpipe.step - INFO - Step xply done
2026-04-15 20:25:07,707 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:25:07,872 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:25:07,875 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:25:07,891 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:25:07,891 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:25:08,053 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02105_00001_mirifulong_uncal.fits>,).
2026-04-15 20:25:08,072 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:25:08,074 - stpipe.step - INFO - Step xply done
2026-04-15 20:25:08,077 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:25:08,139 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rateints.fits
2026-04-15 20:25:08,140 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:25:08,141 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:25:08,196 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits
2026-04-15 20:25:08,197 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:25:08,198 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:25:08,224 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:25:08,239 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:25:08,249 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:25:08,263 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:25:08,279 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:25:08,280 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:25:08,281 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:25:08,282 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:25:08,283 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:25:08,283 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:25:08,284 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:25:08,285 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:25:08,286 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:25:08,287 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:25:08,288 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:25:08,289 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:25:08,289 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:25:08,291 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:25:08,292 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:25:08,294 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:25:08,295 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:25:08,296 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:25:08,298 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:25:08,299 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:25:08,300 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:25:08,301 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:25:08,467 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02105_00001_mirifushort_uncal.fits'),).
2026-04-15 20:25:08,488 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:25:08,513 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02105_00001_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:25:08,516 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:25:08,517 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits'.
2026-04-15 20:25:08,518 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:25:08,518 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:25:08,519 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:25:08,519 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:25:08,520 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:25:08,521 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:25:08,521 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:25:08,522 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:25:08,523 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:25:08,523 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:25:08,524 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:25:08,908 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:08,909 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:25:08,910 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:25:08,912 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:25:09,074 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:09,077 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:25:09,112 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:09,157 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:25:09,320 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:09,321 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:09,485 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:09,489 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:25:09,490 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:25:09,525 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:09,526 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:09,536 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:09,544 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:25:09,776 - stcal.saturation.saturation - INFO - Detected 1606 saturated pixels
2026-04-15 20:25:09,794 - stcal.saturation.saturation - INFO - Detected 4 A/D floor pixels
2026-04-15 20:25:09,808 - stpipe.step - INFO - Step saturation done
2026-04-15 20:25:09,971 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:09,972 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:10,133 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:10,134 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:10,297 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:10,299 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:25:10,463 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:10,466 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:25:10,528 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:10,529 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:10,538 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:10,566 - stpipe.step - INFO - Step reset done
2026-04-15 20:25:10,732 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:10,735 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:25:10,772 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:10,773 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:10,782 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:10,945 - stpipe.step - INFO - Step linearity done
2026-04-15 20:25:11,110 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:11,113 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:25:11,129 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:25:11,129 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:25:11,132 - jwst.rscd.rscd_sub - INFO -  There are 45 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:25:11,137 - jwst.rscd.rscd_sub - INFO - Flagged 45 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:25:11,172 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 45
2026-04-15 20:25:11,176 - stpipe.step - INFO - Step rscd done
2026-04-15 20:25:11,343 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:11,346 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:25:11,729 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:11,761 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:25:11,762 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:25:11,763 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:25:12,144 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:25:12,314 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:12,315 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:12,481 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:12,483 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:12,651 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:12,653 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:25:12,653 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:25:12,656 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:25:12,659 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:25:12,718 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:25:12,719 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:25:14,477 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:25:20,356 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:25:20,357 - stcal.jump.jump - INFO - Total elapsed time = 7.63798 sec
2026-04-15 20:25:20,374 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.721204
2026-04-15 20:25:20,378 - stpipe.step - INFO - Step jump done
2026-04-15 20:25:20,541 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:20,542 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:20,708 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:20,709 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:20,876 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:20,882 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:25:20,883 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:25:20,918 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:25:20,919 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:25:21,005 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:25:21,010 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:25:21,011 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:25:23,586 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.5730955600738525
2026-04-15 20:25:23,730 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:25:23,898 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:23,901 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:25:23,917 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:25:23,918 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:25:24,080 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:24,099 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:25:24,100 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:25:24,102 - stpipe.step - INFO - Step xply done
2026-04-15 20:25:24,105 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:25:24,268 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:24,271 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:25:24,288 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:25:24,288 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:25:24,452 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02105_00001_mirifushort_uncal.fits>,).
2026-04-15 20:25:24,472 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:25:24,474 - stpipe.step - INFO - Step xply done
2026-04-15 20:25:24,477 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:25:24,541 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rateints.fits
2026-04-15 20:25:24,541 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:25:24,542 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:25:24,598 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits
2026-04-15 20:25:24,599 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:25:24,599 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:25:24,624 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:25:24,640 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:25:24,650 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:25:24,664 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:25:24,682 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:25:24,682 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:25:24,683 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:25:24,684 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:25:24,685 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:25:24,686 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:25:24,687 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:25:24,688 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:25:24,689 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:25:24,690 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:25:24,691 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:25:24,691 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:25:24,692 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:25:24,694 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:25:24,695 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:25:24,696 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:25:24,698 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:25:24,699 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:25:24,700 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:25:24,701 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:25:24,702 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:25:24,703 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:25:24,869 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02105_00002_mirifulong_uncal.fits'),).
2026-04-15 20:25:24,889 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:25:24,915 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02105_00002_mirifulong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:25:24,918 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits'.
2026-04-15 20:25:24,919 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits'.
2026-04-15 20:25:24,920 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits'.
2026-04-15 20:25:24,920 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits'.
2026-04-15 20:25:24,921 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:25:24,921 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits'.
2026-04-15 20:25:24,922 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits'.
2026-04-15 20:25:24,922 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits'.
2026-04-15 20:25:24,923 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits'.
2026-04-15 20:25:24,924 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:25:24,924 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:25:24,925 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:25:24,926 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:25:25,319 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:25,320 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:25:25,321 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:25:25,322 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:25:25,485 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:25,488 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0052.fits
2026-04-15 20:25:25,522 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:25,567 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:25:25,730 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:25,731 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:25,895 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:25,900 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0035.fits
2026-04-15 20:25:25,900 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:25:25,936 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:25,937 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:25,946 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:25,954 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:25:26,189 - stcal.saturation.saturation - INFO - Detected 319 saturated pixels
2026-04-15 20:25:26,208 - stcal.saturation.saturation - INFO - Detected 26 A/D floor pixels
2026-04-15 20:25:26,222 - stpipe.step - INFO - Step saturation done
2026-04-15 20:25:26,386 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:26,387 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:26,553 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:26,554 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:26,718 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:26,720 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:25:26,884 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:26,887 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0079.fits
2026-04-15 20:25:26,948 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:26,950 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:26,959 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:26,987 - stpipe.step - INFO - Step reset done
2026-04-15 20:25:27,150 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:27,153 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0033.fits
2026-04-15 20:25:27,189 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:27,190 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:27,199 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:27,362 - stpipe.step - INFO - Step linearity done
2026-04-15 20:25:27,526 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:27,529 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0019.fits
2026-04-15 20:25:27,545 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:25:27,546 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:25:27,548 - jwst.rscd.rscd_sub - INFO -  There are 22 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:25:27,553 - jwst.rscd.rscd_sub - INFO - Flagged 22 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:25:27,588 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 22
2026-04-15 20:25:27,591 - stpipe.step - INFO - Step rscd done
2026-04-15 20:25:27,754 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:27,757 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0114.fits
2026-04-15 20:25:28,132 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:28,163 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:25:28,164 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:25:28,164 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:25:28,646 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:25:28,809 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:28,810 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:28,972 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:28,973 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:29,134 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:29,135 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:25:29,136 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:25:29,139 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:25:29,141 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:25:29,202 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:25:29,203 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:25:30,925 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:25:37,176 - stcal.jump.jump - INFO - Total showers= 3
2026-04-15 20:25:37,177 - stcal.jump.jump - INFO - Total elapsed time = 7.97467 sec
2026-04-15 20:25:37,194 - jwst.jump.jump_step - INFO - The execution time in seconds: 8.058626
2026-04-15 20:25:37,198 - stpipe.step - INFO - Step jump done
2026-04-15 20:25:37,359 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:37,360 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:37,520 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:37,521 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:37,686 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:37,692 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0086.fits
2026-04-15 20:25:37,692 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:25:37,722 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:25:37,722 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:25:37,810 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:25:37,816 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 1
2026-04-15 20:25:37,817 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:25:40,507 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.6880171298980713
2026-04-15 20:25:40,644 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:25:40,814 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:40,817 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:25:40,832 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:25:40,833 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:25:41,001 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:41,020 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:25:41,022 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:25:41,024 - stpipe.step - INFO - Step xply done
2026-04-15 20:25:41,026 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:25:41,193 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:41,196 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0006.fits
2026-04-15 20:25:41,211 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:25:41,212 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:25:41,382 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02105_00002_mirifulong_uncal.fits>,).
2026-04-15 20:25:41,402 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:25:41,403 - stpipe.step - INFO - Step xply done
2026-04-15 20:25:41,407 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:25:41,471 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rateints.fits
2026-04-15 20:25:41,472 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:25:41,473 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:25:41,530 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits
2026-04-15 20:25:41,531 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:25:41,531 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:25:41,557 - stpipe.step - INFO - PARS-EMICORRSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-emicorrstep_0003.asdf
2026-04-15 20:25:41,573 - stpipe.step - INFO - PARS-DARKCURRENTSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-darkcurrentstep_0001.asdf
2026-04-15 20:25:41,584 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-jumpstep_0007.asdf
2026-04-15 20:25:41,598 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-detector1pipeline_0010.asdf
2026-04-15 20:25:41,617 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:25:41,618 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:25:41,618 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:25:41,620 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:25:41,621 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:25:41,621 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:25:41,622 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:25:41,623 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:25:41,624 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:25:41,625 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:25:41,626 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:25:41,627 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:25:41,628 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:25:41,628 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:25:41,630 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:25:41,631 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:25:41,633 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:25:41,634 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:25:41,635 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:25:41,636 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:25:41,637 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:25:41,638 - stpipe.step - INFO - XplyStep instance created.
2026-04-15 20:25:41,803 - stpipe.step - INFO - Step Detector1Pipeline running with args (np.str_('./mrs_demo_data/Obs004/uncal/jw01523004001_02105_00002_mirifushort_uncal.fits'),).
2026-04-15 20:25:41,823 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/stage1
  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_calibrated_ramp: False
  steps:
    group_scale:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dq_init:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      user_supplied_dq: None
    emicorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: joint
      nints_to_phase: None
      nbins: None
      scale_reference: True
      onthefly_corr_freq: None
      use_n_cycles: 3
      fit_ints_separately: False
      user_supplied_reffile: None
      save_intermediate_results: False
    saturation:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      n_pix_grow_sat: 1
      use_readpatt: True
    ipc:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
    superbias:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    refpix:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      odd_even_columns: True
      use_side_ref_pixels: True
      side_smoothing_length: 11
      side_gain: 1.0
      odd_even_rows: True
      ovr_corr_mitigation_ftr: 3.0
      preserve_irs2_refpix: False
      irs2_mean_subtraction: False
      refpix_algorithm: median
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
    rscd:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    firstframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bright_use_group1: True
    lastframe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    linearity:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    dark_current:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      dark_output: None
      average_dark_current: 1.0
    reset:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    persistence:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      input_trapsfilled: ''
      flag_pers_cutoff: 40.0
      save_persistence: False
      save_trapsfilled: True
      modify_input: False
    charge_migration:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      signal_threshold: 25000.0
    jump:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      rejection_threshold: 4.0
      three_group_rejection_threshold: 100
      four_group_rejection_threshold: 5.0
      maximum_cores: half
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000.0
      min_jump_to_flag_neighbors: 10.0
      after_jump_flag_dn1: 0.0
      after_jump_flag_time1: 0.0
      after_jump_flag_dn2: 0.0
      after_jump_flag_time2: 0.0
      expand_large_events: False
      min_sat_area: 1.0
      min_jump_area: 5.0
      expand_factor: 2.0
      use_ellipses: False
      sat_required_snowball: True
      min_sat_radius_extend: 2.5
      sat_expand: 2
      edge_size: 25
      mask_snowball_core_next_int: True
      snowball_time_masked_next_int: 4000
      find_showers: True
      max_shower_amplitude: 4.0
      extend_snr_threshold: 1.2
      extend_min_area: 90
      extend_inner_radius: 1.0
      extend_outer_radius: 2.6
      extend_ellipse_expand_ratio: 1.1
      time_masked_after_shower: 15.0
      min_diffs_single_pass: 10
      max_extended_radius: 200
      minimum_groups: 3
      minimum_sigclip_groups: 100
      only_use_ints: True
    picture_frame:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      mask_science_regions: True
      n_sigma: 2.0
      save_mask: False
      save_correction: False
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    ramp_fit:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: OLS_C
      int_name: ''
      save_opt: False
      opt_name: ''
      suppress_one_group: True
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_scale:
      pre_hooks: []
      post_hooks:
      - !!python/name:__main__.XplyStep ''
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 20:25:41,849 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01523004001_02105_00002_mirifushort_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'persat', 'readnoise', 'reset', 'rscd', 'saturation', 'superbias', 'trapdensity', 'trappars']
2026-04-15 20:25:41,852 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits'.
2026-04-15 20:25:41,852 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits'.
2026-04-15 20:25:41,853 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits'.
2026-04-15 20:25:41,853 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits'.
2026-04-15 20:25:41,854 - stpipe.pipeline - INFO - Prefetch for PERSAT reference file is 'N/A'.
2026-04-15 20:25:41,855 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits'.
2026-04-15 20:25:41,856 - stpipe.pipeline - INFO - Prefetch for RESET reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits'.
2026-04-15 20:25:41,856 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits'.
2026-04-15 20:25:41,857 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits'.
2026-04-15 20:25:41,858 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is 'N/A'.
2026-04-15 20:25:41,858 - stpipe.pipeline - INFO - Prefetch for TRAPDENSITY reference file is 'N/A'.
2026-04-15 20:25:41,859 - stpipe.pipeline - INFO - Prefetch for TRAPPARS reference file is 'N/A'.
2026-04-15 20:25:41,860 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:25:42,251 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:42,252 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:25:42,253 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:25:42,255 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:25:42,419 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:42,421 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/miri/jwst_miri_mask_0047.fits
2026-04-15 20:25:42,457 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:42,502 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:25:42,677 - stpipe.step - INFO - Step emicorr running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:42,678 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:42,853 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:42,858 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/miri/jwst_miri_saturation_0033.fits
2026-04-15 20:25:42,858 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file N/A
2026-04-15 20:25:42,894 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:42,895 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:42,904 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:42,913 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:25:43,153 - stcal.saturation.saturation - INFO - Detected 1489 saturated pixels
2026-04-15 20:25:43,171 - stcal.saturation.saturation - INFO - Detected 3 A/D floor pixels
2026-04-15 20:25:43,186 - stpipe.step - INFO - Step saturation done
2026-04-15 20:25:43,359 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:43,361 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:43,529 - stpipe.step - INFO - Step firstframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:43,530 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:43,698 - stpipe.step - INFO - Step lastframe running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:43,700 - stpipe.step - INFO - Step lastframe done
2026-04-15 20:25:43,868 - stpipe.step - INFO - Step reset running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:43,872 - jwst.reset.reset_step - INFO - Using RESET reference file /home/runner/crds/references/jwst/miri/jwst_miri_reset_0078.fits
2026-04-15 20:25:43,934 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:43,935 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:43,945 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:43,972 - stpipe.step - INFO - Step reset done
2026-04-15 20:25:44,140 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:44,143 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/miri/jwst_miri_linearity_0030.fits
2026-04-15 20:25:44,179 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:44,180 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:44,189 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:44,352 - stpipe.step - INFO - Step linearity done
2026-04-15 20:25:44,519 - stpipe.step - INFO - Step rscd running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:44,522 - jwst.rscd.rscd_step - INFO - Using RSCD reference file /home/runner/crds/references/jwst/miri/jwst_miri_rscd_0021.fits
2026-04-15 20:25:44,537 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 1 to flag: 2
2026-04-15 20:25:44,538 - jwst.rscd.rscd_sub - INFO - # groups from RSCD reference file for int 2 and higher to flag: 2
2026-04-15 20:25:44,540 - jwst.rscd.rscd_sub - INFO -  There are 41 saturated pixels that require the number of rscd groups flagged to be lowered
2026-04-15 20:25:44,544 - jwst.rscd.rscd_sub - INFO - Flagged 41 pixels as FLUX_ESTIMATED due to RSCD back-off.
2026-04-15 20:25:44,579 - jwst.rscd.rscd_sub - INFO - Number of usable bright pixels with rscd flag groups not set to DO_NOT_USE: 41
2026-04-15 20:25:44,583 - stpipe.step - INFO - Step rscd done
2026-04-15 20:25:44,747 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:44,750 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/miri/jwst_miri_dark_0112.fits
2026-04-15 20:25:45,128 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:45,159 - jwst.dark_current.dark_current_step - INFO - Using Poisson noise from average dark current 1.0 e-/sec
2026-04-15 20:25:45,160 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=45, nframes=1, groupgap=0
2026-04-15 20:25:45,160 - stcal.dark_current.dark_sub - INFO - Dark data nints=2, ngroups=360, nframes=1, groupgap=0
2026-04-15 20:25:45,534 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:25:45,701 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:45,702 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:45,872 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:45,873 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:46,039 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:46,040 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:25:46,041 - jwst.jump.jump_step - INFO - Maximum cores to use = half
2026-04-15 20:25:46,044 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:25:46,046 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:25:46,108 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:25:46,109 - stcal.jump.jump - INFO - Creating 2 processes for jump detection 
2026-04-15 20:25:47,862 - stcal.jump.jump - INFO - Flagging Showers
2026-04-15 20:25:53,917 - stcal.jump.jump - INFO - Total showers= 0
2026-04-15 20:25:53,918 - stcal.jump.jump - INFO - Total elapsed time = 7.80919 sec
2026-04-15 20:25:53,935 - jwst.jump.jump_step - INFO - The execution time in seconds: 7.894374
2026-04-15 20:25:53,938 - stpipe.step - INFO - Step jump done
2026-04-15 20:25:54,111 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:54,112 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:54,281 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:54,283 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:54,455 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 45, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:54,461 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_readnoise_0087.fits
2026-04-15 20:25:54,462 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:25:54,493 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:25:54,494 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:25:54,580 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:25:54,592 - stcal.ramp_fitting.ols_fit - INFO - Number of leading groups that are flagged as DO_NOT_USE: 2
2026-04-15 20:25:54,593 - stcal.ramp_fitting.ols_fit - INFO - MIRI dataset has all pixels in the final group flagged as DO_NOT_USE.
2026-04-15 20:25:57,100 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.5051047801971436
2026-04-15 20:25:57,241 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:25:57,407 - stpipe.step - INFO - Step gain_scale running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:57,410 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:25:57,427 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:25:57,428 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:25:57,594 - stpipe.step - INFO - Step xply running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:57,613 - py.warnings - WARNING - /tmp/ipykernel_3096/3735983842.py:14: DeprecationWarning: The Step.log attribute is deprecated and will be removed in a future release. Please use a local logger, retrieved via logging.getLogger.
  self.log.info('Multiplied everything by one in custom step!')
2026-04-15 20:25:57,615 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:25:57,617 - stpipe.step - INFO - Step xply done
2026-04-15 20:25:57,620 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:25:57,786 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:57,789 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/miri/jwst_miri_gain_0054.fits
2026-04-15 20:25:57,806 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-04-15 20:25:57,807 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-04-15 20:25:57,970 - stpipe.step - INFO - Step xply running with args (<CubeModel(1, 1024, 1032) from jw01523004001_02105_00002_mirifushort_uncal.fits>,).
2026-04-15 20:25:57,989 - stpipe.Detector1Pipeline.gain_scale.xply - INFO - Multiplied everything by one in custom step!
2026-04-15 20:25:57,991 - stpipe.step - INFO - Step xply done
2026-04-15 20:25:57,994 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:25:58,057 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rateints.fits
2026-04-15 20:25:58,058 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:25:58,059 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:25:58,115 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits
2026-04-15 20:25:58,116 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:25:58,117 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
# Print out the time benchmark
time1 = time.perf_counter()
print(f"Runtime so far: {time1 - time0:0.4f} seconds")
Runtime so far: 744.6813 seconds

6.-Spec2 Pipeline#

In this section we process our countrate (slope) image products from Stage 1 (calwebb_detector1) through the Spec2 (calwebb_spec2) pipeline in order to produce Stage 2 data products (i.e., calibrated slope images and quick-look data cubes and 1d spectra). These data products have units of MJy/sr (or Jy for extracted point-source spectra).

See https://jwst-docs.stsci.edu/jwst-science-calibration-pipeline/stages-of-jwst-data-processing/calwebb_spec2

If pixel-based background subtraction was chosen above, this will be applied during this stage.

To override certain steps and reference files use the examples below.

time_spec2 = time.perf_counter()
# Set up a dictionary to define how the Spec2 pipeline should be configured.

# Boilerplate dictionary setup
spec2dict = defaultdict(dict)

# Overrides for whether or not certain steps should be skipped (example)
#spec2dict['straylight']['skip'] = True

# Pixel-based background usage was set up above, propagate that here
if (pixel_bg is True):
    spec2dict['bkg_subtract']['skip'] = False
else:
    spec2dict['bkg_subtract']['skip'] = True

# Overrides for various reference files
# Files should be in the base local directory or provide full path
#spec2dict['assign_wcs']['override_distortion'] = 'myfile.asdf' # Spatial distortion (ASDF file)
#spec2dict['assign_wcs']['override_regions'] = 'myfile.asdf' # IFU slice regions on detector (ASDF file)
#spec2dict['assign_wcs']['override_specwcs'] = 'myfile.asdf' # Spectral distortion (ASDF file)
#spec2dict['assign_wcs']['override_wavelengthrange'] = 'myfile.asdf' # Wavelength channel mapping (ASDF file)
#spec2dict['flat_field']['override_flat'] = 'myfile.fits' # Pixel flatfield
#spec2dict['straylight']['override_mrsxartcorr'] = 'myfile.fits' # Cross-artifact model parameters
#spec2dict['fringe']['override_fringe'] = 'myfile.fits' # Static fringe-flat
#spec2dict['photom']['override_photom'] = 'myfile.fits' # Photometric calibration array
#spec2dict['cube_build']['override_cubepar'] = 'myfile.fits' # Cube-building parameters
#spec2dict['extract_1d']['override_extract1d'] = 'myfile.asdf' # Spectral extraction parameters (ASDF file)
#spec2dict['extract_1d']['override_apcorr'] = 'myfile.asdf' # Aperture correction parameters (ASDF file)

# Turn on residual cosmic-ray shower correction (off by default)
# (see https://jwst-docs.stsci.edu/known-issues-with-jwst-data/shower-and-snowball-artifacts)
#spec2dict['straylight']['clean_showers'] = True

# Turn on 2d residual fringe correction (off by default)
# This can sometimes improve residual fringing in science results, but takes
# a long time to run and often does not work as well as 1d residual fringe
# correction (in calwebb_spec3)
#spec2dict['residual_fringe']['skip'] = False

# Turn on bad pixel self-calibration, where all exposures on a given detector are used to find and
# flag bad pixels that may have been missed by the bad pixel mask.
# This step is experimental, and works best when dedicated background observations are included
#spec2dict['badpix_selfcal']['skip'] = False
#spec2dict['badpix_selfcal']['flagfrac_upper']=0.005 # Fraction of pixels to flag (dial as desired; 1.0 would be 100% of pixels)

Define a function to create association files for Stage 2. This will enable use of the pixel-based background subtraction, if chosen above. This requires one input SCI file, but can have multiple input background files.

Note that the background will not be applied properly to all files if more than *one* SCI file is included in the association.
def writel2asn(onescifile, bgfiles, selfcalfiles, asnfile, prodname):
    # Define the basic association of science files
    asn = afl.asn_from_list([onescifile], rule=DMSLevel2bBase, product_name=prodname)  # Wrap in array since input was single exposure

    #Channel/band configuration for this sci file
    with fits.open(onescifile) as hdu:
        hdu.verify()
        hdr = hdu[0].header
        this_channel, this_band = hdr['CHANNEL'], hdr['BAND']

    # If backgrounds were provided, find which are appropriate to this
    # channel/band and add to association
    for file in bgfiles:
        with fits.open(file) as hdu:
            hdu.verify()
            if ((hdu[0].header['CHANNEL'] == this_channel) & (hdu[0].header['BAND'] == this_band)):
                asn['products'][0]['members'].append({'expname': file, 'exptype': 'background'})
                
    # If provided with a list of files to use for bad pixel self-calibration, find which
    # are appropriate to this detector and add to association
    for file in selfcalfiles:
        with fits.open(file) as hdu:
            hdu.verify()
            if (hdu[0].header['CHANNEL'] == this_channel):
                asn['products'][0]['members'].append({'expname': file, 'exptype': 'selfcal'})                

    # Write the association to a json file
    _, serialized = asn.dump()
    with open(asnfile, 'w') as outfile:
        outfile.write(serialized)

Find and sort all of the input files, ensuring use of absolute paths

sstring = os.path.join(det1_dir, 'jw*mirifu*rate.fits')  # Use files from the detector1 output folder
ratefiles = sorted(glob.glob(sstring))
for ii in range(0, len(ratefiles)):
    ratefiles[ii] = os.path.abspath(ratefiles[ii])
ratefiles = np.array(ratefiles)
# Check that these are the band/channel to use
ratefiles = select_ch_band_files(ratefiles, use_ch, use_band)

# Background Files
sstring = os.path.join(det1_bgdir, 'jw*mirifu*rate.fits')
bgfiles = sorted(glob.glob(sstring))
for ii in range(0, len(bgfiles)):
    bgfiles[ii] = os.path.abspath(bgfiles[ii])
bgfiles = np.array(bgfiles)
# Check that these are the band/channel to use
bgfiles = select_ch_band_files(bgfiles, use_ch, use_band)

# Define any files to use for self-calibration (if step enabled)
# Typically this is all science and background exposures
selfcalfiles = ratefiles.copy()
selfcalfiles = np.append(selfcalfiles, bgfiles)

print('Found ' + str(len(ratefiles)) + ' science files')
print('Found ' + str(len(bgfiles)) + ' background files')
print('Found ' + str(len(selfcalfiles)) + ' potential selfcal files')
Found 24 science files
Found 12 background files
Found 36 potential selfcal files

Step through each of the science files, using relevant associated backgrounds in calwebb_spec2 processing.

The background files are used in this step to perform pixel-based background subtraction (if desired), otherwise background subtraction is done later with Spec3 files.
# To save runtime, make a new version of our spec2 parameter dictionary
# that turns off creation of quicklook cubes and 1d spectra for science
# data
spec2dict_sci = copy.deepcopy(spec2dict)
spec2dict_sci['cube_build']['skip'] = True
spec2dict_sci['extract_1d']['skip'] = True

if dospec2:
    for file in ratefiles:
        asnfile = os.path.join(sci_dir, 'l2asn.json')
        writel2asn(file, bgfiles, selfcalfiles, asnfile, 'Level2')
        Spec2Pipeline.call(asnfile, steps=spec2dict_sci, save_results=True, output_dir=spec2_dir)
else:
    print('Skipping Spec2 processing for SCI data')
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:25:58,628 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf      965 bytes  (1 / 1 files) (0 / 965 bytes)
2026-04-15 20:25:58,700 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:25:58,710 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf      987 bytes  (1 / 1 files) (0 / 987 bytes)
2026-04-15 20:25:58,765 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:25:58,775 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:25:58,783 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf    1.0 K bytes  (1 / 1 files) (0 / 1.0 K bytes)
2026-04-15 20:25:58,825 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:25:58,835 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:25:58,844 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:25:58,853 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf    2.0 K bytes  (1 / 1 files) (0 / 2.0 K bytes)
2026-04-15 20:25:58,913 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:25:58,937 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:25:58,938 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:25:58,939 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:25:58,940 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:25:58,941 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:25:58,943 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:25:58,943 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:25:58,945 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:25:58,949 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:25:58,950 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:25:58,952 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:25:58,952 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:25:58,953 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:25:58,954 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:25:58,955 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:25:58,957 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:25:58,958 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:25:58,959 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:25:58,960 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:25:58,961 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:25:58,962 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:25:58,963 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:25:58,964 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:25:58,965 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:25:58,966 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:25:58,967 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:25:58,968 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:25:58,969 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:25:58,970 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:25:58,971 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:25:58,973 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:25:58,974 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:25:59,144 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:25:59,180 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:25:59,237 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:25:59,241 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf  125.0 K bytes  (1 / 8 files) (0 / 106.3 M bytes)
2026-04-15 20:25:59,342 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits   21.2 M bytes  (2 / 8 files) (125.0 K / 106.3 M bytes)
2026-04-15 20:25:59,696 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits   12.7 M bytes  (3 / 8 files) (21.3 M / 106.3 M bytes)
2026-04-15 20:25:59,971 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits  383.0 K bytes  (4 / 8 files) (34.0 M / 106.3 M bytes)
2026-04-15 20:26:00,082 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits   33.9 M bytes  (5 / 8 files) (34.4 M / 106.3 M bytes)
2026-04-15 20:26:00,514 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf   38.0 M bytes  (6 / 8 files) (68.2 M / 106.3 M bytes)
2026-04-15 20:26:00,905 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf   40.4 K bytes  (7 / 8 files) (106.3 M / 106.3 M bytes)
2026-04-15 20:26:00,956 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf    3.7 K bytes  (8 / 8 files) (106.3 M / 106.3 M bytes)
2026-04-15 20:26:01,009 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:26:01,010 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:26:01,010 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:26:01,011 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:26:01,012 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:26:01,012 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:26:01,013 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf'.
2026-04-15 20:26:01,013 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:26:01,014 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:26:01,015 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits'.
2026-04-15 20:26:01,015 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:26:01,016 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:26:01,017 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits'.
2026-04-15 20:26:01,018 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:26:01,018 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:26:01,019 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:26:01,019 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:26:01,020 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:26:01,020 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:26:01,021 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:26:01,022 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:26:01,023 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits'.
2026-04-15 20:26:01,023 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf'.
2026-04-15 20:26:01,024 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:26:01,024 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf'.
2026-04-15 20:26:01,025 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:26:01,025 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:26:01,026 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:26:01,034 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong
2026-04-15 20:26:01,034 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits ...
2026-04-15 20:26:01,241 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:26:01,668 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.00000873758768
2026-04-15 20:26:02,582 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:26:03,240 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.081822880 -70.085618819 81.089625616 -70.085618819 81.089625616 -70.082957758 81.081822880 -70.082957758
2026-04-15 20:26:03,241 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:26:03,246 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:26:03,438 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits']).
2026-04-15 20:26:03,441 - stpipe.step - INFO - Step skipped.
2026-04-15 20:26:03,625 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:26:03,626 - stpipe.step - INFO - Step skipped.
2026-04-15 20:26:03,819 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:26:03,821 - stpipe.step - INFO - Step skipped.
2026-04-15 20:26:04,008 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>, []).
2026-04-15 20:26:04,010 - stpipe.step - INFO - Step skipped.
2026-04-15 20:26:04,191 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', []).
2026-04-15 20:26:04,192 - stpipe.step - INFO - Step skipped.
2026-04-15 20:26:04,371 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', []).
2026-04-15 20:26:04,372 - stpipe.step - INFO - Step skipped.
2026-04-15 20:26:04,553 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits']).
2026-04-15 20:26:04,554 - stpipe.step - INFO - Step skipped.
2026-04-15 20:26:04,732 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:26:04,733 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:26:04,734 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:26:04,735 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:26:04,737 - stpipe.step - INFO - Step srctype done
2026-04-15 20:26:04,919 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:26:04,920 - stpipe.step - INFO - Step skipped.
2026-04-15 20:26:05,105 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:26:05,134 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:26:05,293 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:26:47,982 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:27:29,877 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03630044311285019 DN/s
2026-04-15 20:27:29,878 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:27:29,881 - stpipe.step - INFO - Step straylight done
2026-04-15 20:27:30,069 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:27:30,128 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:27:30,136 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits
2026-04-15 20:27:30,136 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:27:30,137 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:27:30,138 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:27:30,201 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:27:30,386 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:27:30,393 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits
2026-04-15 20:27:30,434 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:27:30,435 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:27:30,436 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:27:30,476 - stpipe.step - INFO - Step fringe done
2026-04-15 20:27:30,665 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:27:30,666 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:30,848 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:27:30,848 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:31,031 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:27:31,042 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits
2026-04-15 20:27:31,042 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:27:31,043 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:27:31,043 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 20:27:31,044 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:27:31,045 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 20:27:31,139 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:27:31,159 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:27:31,160 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:27:31,195 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:27:31,652 - stpipe.step - INFO - Step photom done
2026-04-15 20:27:31,836 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifulong_rate.fits>,).
2026-04-15 20:27:31,837 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:32,435 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00001_mirifulong_cal.fits>,).
2026-04-15 20:27:32,436 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:32,637 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00001_mirifulong_cal.fits>,).
2026-04-15 20:27:32,638 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:32,841 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00001_mirifulong_cal.fits>,).
2026-04-15 20:27:32,842 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:33,437 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00001_mirifulong_cal.fits>,).
2026-04-15 20:27:33,439 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:33,442 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong
2026-04-15 20:27:33,443 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:27:33,444 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:27:33,784 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00001_mirifulong_cal.fits
2026-04-15 20:27:33,785 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:27:33,785 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:27:34,210 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:27:34,218 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:27:34,227 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:27:34,235 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:27:34,244 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:27:34,253 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:27:34,261 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:27:34,285 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:27:34,286 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:27:34,287 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:27:34,288 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:27:34,289 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:27:34,290 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:27:34,291 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:27:34,292 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:27:34,297 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:27:34,298 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:27:34,299 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:27:34,300 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:27:34,301 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:27:34,302 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:27:34,303 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:27:34,304 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:27:34,305 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:27:34,307 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:27:34,307 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:27:34,308 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:27:34,310 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:27:34,311 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:27:34,312 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:27:34,313 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:27:34,313 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:27:34,314 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:27:34,315 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:27:34,316 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:27:34,317 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:27:34,318 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:27:34,320 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:27:34,321 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:27:34,599 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:27:34,633 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:27:34,691 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:27:34,695 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf  166.4 K bytes  (1 / 6 files) (0 / 106.0 M bytes)
2026-04-15 20:27:34,777 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits   21.2 M bytes  (2 / 6 files) (166.4 K / 106.0 M bytes)
2026-04-15 20:27:35,096 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits   12.7 M bytes  (3 / 6 files) (21.3 M / 106.0 M bytes)
2026-04-15 20:27:35,359 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits   33.9 M bytes  (4 / 6 files) (34.0 M / 106.0 M bytes)
2026-04-15 20:27:35,802 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf   38.0 M bytes  (5 / 6 files) (67.9 M / 106.0 M bytes)
2026-04-15 20:27:36,197 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf   53.7 K bytes  (6 / 6 files) (105.9 M / 106.0 M bytes)
2026-04-15 20:27:36,277 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:27:36,278 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:27:36,279 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:27:36,279 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:27:36,280 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:27:36,280 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:27:36,281 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf'.
2026-04-15 20:27:36,282 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:27:36,282 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:27:36,283 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits'.
2026-04-15 20:27:36,284 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:27:36,284 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:27:36,285 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits'.
2026-04-15 20:27:36,285 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:27:36,286 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:27:36,287 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:27:36,287 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:27:36,288 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:27:36,289 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:27:36,289 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:27:36,290 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:27:36,291 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits'.
2026-04-15 20:27:36,291 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf'.
2026-04-15 20:27:36,292 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:27:36,293 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf'.
2026-04-15 20:27:36,294 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:27:36,294 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:27:36,295 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:27:36,302 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort
2026-04-15 20:27:36,303 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits ...
2026-04-15 20:27:36,510 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:27:37,040 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.00000873758768
2026-04-15 20:27:38,203 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:27:38,950 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083690295 -70.085077549 81.088195633 -70.085077549 81.088195633 -70.083474314 81.083690295 -70.083474314
2026-04-15 20:27:38,952 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:27:38,957 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:27:39,213 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits']).
2026-04-15 20:27:39,216 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:39,417 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:27:39,418 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:39,616 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:27:39,617 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:39,815 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>, []).
2026-04-15 20:27:39,816 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:40,010 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', []).
2026-04-15 20:27:40,011 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:40,206 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', []).
2026-04-15 20:27:40,206 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:40,400 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits']).
2026-04-15 20:27:40,401 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:40,595 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:27:40,596 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:27:40,597 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:27:40,597 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:27:40,599 - stpipe.step - INFO - Step srctype done
2026-04-15 20:27:40,791 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:27:40,792 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:40,985 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:27:40,989 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:27:41,145 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:28:17,922 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:28:59,700 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.018628593261835913 DN/s
2026-04-15 20:28:59,701 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:28:59,704 - stpipe.step - INFO - Step straylight done
2026-04-15 20:28:59,898 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:28:59,951 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:28:59,958 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits
2026-04-15 20:28:59,958 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:28:59,959 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:28:59,959 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:29:00,021 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:29:00,215 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:29:00,219 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits
2026-04-15 20:29:00,258 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:29:00,259 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:29:00,260 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:29:00,297 - stpipe.step - INFO - Step fringe done
2026-04-15 20:29:00,492 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:29:00,493 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:00,688 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:29:00,689 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:00,889 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:29:00,896 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits
2026-04-15 20:29:00,897 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:29:00,897 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:29:00,898 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 20:29:00,899 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:29:00,899 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 20:29:00,988 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:29:01,008 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:29:01,009 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:29:01,044 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:29:01,556 - stpipe.step - INFO - Step photom done
2026-04-15 20:29:01,756 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00001_mirifushort_rate.fits>,).
2026-04-15 20:29:01,757 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:02,500 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00001_mirifushort_cal.fits>,).
2026-04-15 20:29:02,501 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:02,726 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00001_mirifushort_cal.fits>,).
2026-04-15 20:29:02,728 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:02,958 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00001_mirifushort_cal.fits>,).
2026-04-15 20:29:02,959 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:03,736 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00001_mirifushort_cal.fits>,).
2026-04-15 20:29:03,737 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:03,740 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort
2026-04-15 20:29:03,741 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:29:03,741 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:29:04,152 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00001_mirifushort_cal.fits
2026-04-15 20:29:04,153 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:29:04,154 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:29:04,570 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:29:04,578 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:29:04,587 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:29:04,595 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:29:04,603 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:29:04,612 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:29:04,620 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:29:04,643 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:29:04,644 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:29:04,645 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:29:04,646 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:29:04,648 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:29:04,649 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:29:04,650 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:29:04,651 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:29:04,655 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:29:04,656 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:29:04,657 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:29:04,658 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:29:04,659 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:29:04,660 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:29:04,661 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:29:04,663 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:29:04,664 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:29:04,665 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:29:04,666 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:29:04,667 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:29:04,668 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:29:04,669 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:29:04,670 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:29:04,671 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:29:04,672 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:29:04,673 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:29:04,674 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:29:04,674 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:29:04,676 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:29:04,677 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:29:04,679 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:29:04,681 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:29:05,026 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:29:05,061 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:29:05,118 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:29:05,121 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:29:05,122 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:29:05,123 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:29:05,123 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:29:05,123 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:29:05,124 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:29:05,125 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf'.
2026-04-15 20:29:05,126 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:29:05,126 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:29:05,127 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits'.
2026-04-15 20:29:05,127 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:29:05,128 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:29:05,129 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits'.
2026-04-15 20:29:05,129 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:29:05,130 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:29:05,131 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:29:05,131 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:29:05,132 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:29:05,133 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:29:05,133 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:29:05,134 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:29:05,134 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits'.
2026-04-15 20:29:05,135 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf'.
2026-04-15 20:29:05,136 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:29:05,136 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf'.
2026-04-15 20:29:05,137 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:29:05,137 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:29:05,138 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:29:05,145 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong
2026-04-15 20:29:05,146 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits ...
2026-04-15 20:29:05,353 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:29:05,759 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:29:06,703 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:29:07,325 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.082556597 -70.084786022 81.090359058 -70.084786022 81.090359058 -70.082124945 81.082556597 -70.082124945
2026-04-15 20:29:07,327 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:29:07,332 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:29:07,537 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits']).
2026-04-15 20:29:07,540 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:07,726 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:29:07,728 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:07,916 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:29:07,917 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:08,107 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>, []).
2026-04-15 20:29:08,108 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:08,293 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', []).
2026-04-15 20:29:08,294 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:08,481 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', []).
2026-04-15 20:29:08,481 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:08,670 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits']).
2026-04-15 20:29:08,672 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:08,862 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:29:08,863 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:29:08,864 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:29:08,865 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:29:08,867 - stpipe.step - INFO - Step srctype done
2026-04-15 20:29:09,062 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:29:09,063 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:09,251 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:29:09,254 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:29:09,405 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:29:51,797 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:30:33,759 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.042958758771419525 DN/s
2026-04-15 20:30:33,760 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:30:33,763 - stpipe.step - INFO - Step straylight done
2026-04-15 20:30:33,958 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:30:34,010 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:30:34,017 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits
2026-04-15 20:30:34,018 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:30:34,018 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:30:34,019 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:30:34,083 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:30:34,280 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:30:34,283 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits
2026-04-15 20:30:34,323 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:30:34,324 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:30:34,324 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:30:34,364 - stpipe.step - INFO - Step fringe done
2026-04-15 20:30:34,553 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:30:34,555 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:34,746 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:30:34,747 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:34,939 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:30:34,946 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits
2026-04-15 20:30:34,947 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:30:34,948 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:30:34,948 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 20:30:34,949 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:30:34,949 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 20:30:35,037 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:30:35,058 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:30:35,058 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:30:35,094 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:30:35,558 - stpipe.step - INFO - Step photom done
2026-04-15 20:30:35,750 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifulong_rate.fits>,).
2026-04-15 20:30:35,751 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:36,368 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00002_mirifulong_cal.fits>,).
2026-04-15 20:30:36,369 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:36,590 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00002_mirifulong_cal.fits>,).
2026-04-15 20:30:36,591 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:36,808 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00002_mirifulong_cal.fits>,).
2026-04-15 20:30:36,810 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:37,434 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00002_mirifulong_cal.fits>,).
2026-04-15 20:30:37,435 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:37,438 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong
2026-04-15 20:30:37,439 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:30:37,440 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:30:37,773 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00002_mirifulong_cal.fits
2026-04-15 20:30:37,774 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:30:37,775 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:30:38,196 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:30:38,204 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:30:38,213 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:30:38,221 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:30:38,229 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:30:38,238 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:30:38,246 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:30:38,273 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:30:38,274 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:30:38,275 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:30:38,277 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:30:38,278 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:30:38,279 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:30:38,280 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:30:38,281 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:30:38,287 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:30:38,288 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:30:38,289 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:30:38,290 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:30:38,291 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:30:38,292 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:30:38,293 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:30:38,295 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:30:38,296 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:30:38,297 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:30:38,298 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:30:38,299 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:30:38,300 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:30:38,301 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:30:38,302 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:30:38,303 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:30:38,304 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:30:38,305 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:30:38,306 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:30:38,307 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:30:38,308 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:30:38,309 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:30:38,311 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:30:38,313 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:30:38,603 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:30:38,638 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:30:38,695 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:30:38,699 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:30:38,700 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:30:38,700 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:30:38,701 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:30:38,701 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:30:38,702 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:30:38,702 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf'.
2026-04-15 20:30:38,703 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:30:38,703 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:30:38,704 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits'.
2026-04-15 20:30:38,705 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:30:38,706 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:30:38,706 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits'.
2026-04-15 20:30:38,707 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:30:38,708 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:30:38,708 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:30:38,709 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:30:38,709 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:30:38,710 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:30:38,710 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:30:38,711 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:30:38,711 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits'.
2026-04-15 20:30:38,712 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf'.
2026-04-15 20:30:38,712 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:30:38,713 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf'.
2026-04-15 20:30:38,713 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:30:38,714 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:30:38,714 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:30:38,722 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort
2026-04-15 20:30:38,723 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits ...
2026-04-15 20:30:38,928 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:30:39,454 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.00000873758768
2026-04-15 20:30:40,627 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:30:41,346 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.084423941 -70.084244745 81.088929130 -70.084244745 81.088929130 -70.082641503 81.084423941 -70.082641503
2026-04-15 20:30:41,347 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:30:41,352 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:30:41,617 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits']).
2026-04-15 20:30:41,620 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:41,817 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:30:41,818 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:42,019 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:30:42,020 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:42,223 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>, []).
2026-04-15 20:30:42,224 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:42,425 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', []).
2026-04-15 20:30:42,426 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:42,626 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', []).
2026-04-15 20:30:42,627 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:42,826 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits']).
2026-04-15 20:30:42,827 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:43,024 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:30:43,025 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:30:43,025 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:30:43,026 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:30:43,029 - stpipe.step - INFO - Step srctype done
2026-04-15 20:30:43,228 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:30:43,230 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:43,435 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:30:43,438 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:30:43,598 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:31:20,450 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:32:02,273 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.023198010149165692 DN/s
2026-04-15 20:32:02,274 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:32:02,277 - stpipe.step - INFO - Step straylight done
2026-04-15 20:32:02,483 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:32:02,535 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:32:02,543 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits
2026-04-15 20:32:02,543 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:32:02,544 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:32:02,545 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:32:02,607 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:32:02,804 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:32:02,808 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits
2026-04-15 20:32:02,847 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:32:02,848 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:32:02,849 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:32:02,886 - stpipe.step - INFO - Step fringe done
2026-04-15 20:32:03,087 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:32:03,088 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:03,285 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:32:03,286 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:03,486 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:32:03,492 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits
2026-04-15 20:32:03,492 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:32:03,493 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:32:03,494 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 20:32:03,494 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:32:03,495 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 20:32:03,583 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:32:03,603 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:32:03,604 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:32:03,639 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:32:04,145 - stpipe.step - INFO - Step photom done
2026-04-15 20:32:04,346 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00002_mirifushort_rate.fits>,).
2026-04-15 20:32:04,348 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:05,114 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00002_mirifushort_cal.fits>,).
2026-04-15 20:32:05,115 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:05,353 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00002_mirifushort_cal.fits>,).
2026-04-15 20:32:05,354 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:05,596 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00002_mirifushort_cal.fits>,).
2026-04-15 20:32:05,597 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:06,381 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00002_mirifushort_cal.fits>,).
2026-04-15 20:32:06,382 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:06,385 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort
2026-04-15 20:32:06,386 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:32:06,387 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:32:06,803 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00002_mirifushort_cal.fits
2026-04-15 20:32:06,803 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:32:06,804 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:32:07,228 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:32:07,236 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:32:07,245 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:32:07,253 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:32:07,261 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:32:07,270 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:32:07,278 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:32:07,302 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:32:07,303 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:32:07,304 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:32:07,305 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:32:07,306 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:32:07,307 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:32:07,308 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:32:07,309 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:32:07,313 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:32:07,314 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:32:07,316 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:32:07,317 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:32:07,318 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:32:07,319 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:32:07,320 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:32:07,321 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:32:07,322 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:32:07,323 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:32:07,324 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:32:07,325 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:32:07,326 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:32:07,327 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:32:07,328 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:32:07,329 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:32:07,329 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:32:07,330 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:32:07,332 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:32:07,333 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:32:07,334 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:32:07,335 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:32:07,336 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:32:07,338 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:32:07,769 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:32:07,804 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:32:07,861 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:32:07,864 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:32:07,864 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:32:07,865 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:32:07,866 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:32:07,866 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:32:07,867 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:32:07,867 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf'.
2026-04-15 20:32:07,868 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:32:07,868 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:32:07,869 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits'.
2026-04-15 20:32:07,870 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:32:07,870 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:32:07,871 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits'.
2026-04-15 20:32:07,871 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:32:07,872 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:32:07,872 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:32:07,873 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:32:07,874 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:32:07,874 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:32:07,875 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:32:07,875 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:32:07,876 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits'.
2026-04-15 20:32:07,876 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf'.
2026-04-15 20:32:07,877 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:32:07,877 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf'.
2026-04-15 20:32:07,878 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:32:07,879 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:32:07,879 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:32:07,887 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong
2026-04-15 20:32:07,887 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits ...
2026-04-15 20:32:08,094 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:32:08,503 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.00000873758768
2026-04-15 20:32:09,473 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:32:10,128 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.081901038 -70.085479096 81.089703724 -70.085479096 81.089703724 -70.082818034 81.081901038 -70.082818034
2026-04-15 20:32:10,130 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:32:10,135 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:32:10,342 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits']).
2026-04-15 20:32:10,345 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:10,537 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:32:10,538 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:10,732 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:32:10,733 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:10,929 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>, []).
2026-04-15 20:32:10,930 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:11,121 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', []).
2026-04-15 20:32:11,122 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:11,309 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', []).
2026-04-15 20:32:11,310 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:11,501 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits']).
2026-04-15 20:32:11,502 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:11,693 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:32:11,694 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:32:11,695 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:32:11,695 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:32:11,698 - stpipe.step - INFO - Step srctype done
2026-04-15 20:32:11,888 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:32:11,889 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:12,080 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:32:12,084 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:32:12,237 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:32:55,329 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:33:37,133 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.035022586584091187 DN/s
2026-04-15 20:33:37,134 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:33:37,137 - stpipe.step - INFO - Step straylight done
2026-04-15 20:33:37,329 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:33:37,382 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:33:37,389 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits
2026-04-15 20:33:37,390 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:33:37,390 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:33:37,391 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:33:37,453 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:33:37,644 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:33:37,648 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits
2026-04-15 20:33:37,686 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:33:37,687 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:33:37,688 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:33:37,725 - stpipe.step - INFO - Step fringe done
2026-04-15 20:33:37,917 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:33:37,918 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:38,111 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:33:38,112 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:38,306 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:33:38,313 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits
2026-04-15 20:33:38,314 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:33:38,314 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:33:38,315 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 20:33:38,315 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:33:38,316 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 20:33:38,402 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:33:38,422 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:33:38,423 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:33:38,457 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:33:38,922 - stpipe.step - INFO - Step photom done
2026-04-15 20:33:39,114 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifulong_rate.fits>,).
2026-04-15 20:33:39,115 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:39,730 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00003_mirifulong_cal.fits>,).
2026-04-15 20:33:39,731 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:39,951 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00003_mirifulong_cal.fits>,).
2026-04-15 20:33:39,952 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:40,172 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00003_mirifulong_cal.fits>,).
2026-04-15 20:33:40,173 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:40,800 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00003_mirifulong_cal.fits>,).
2026-04-15 20:33:40,801 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:40,803 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong
2026-04-15 20:33:40,804 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:33:40,805 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:33:41,138 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00003_mirifulong_cal.fits
2026-04-15 20:33:41,139 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:33:41,139 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:33:41,550 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:33:41,559 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:33:41,567 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:33:41,575 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:33:41,584 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:33:41,593 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:33:41,601 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:33:41,624 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:33:41,625 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:33:41,626 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:33:41,627 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:33:41,628 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:33:41,629 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:33:41,630 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:33:41,631 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:33:41,635 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:33:41,636 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:33:41,637 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:33:41,638 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:33:41,639 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:33:41,640 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:33:41,641 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:33:41,643 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:33:41,644 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:33:41,646 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:33:41,647 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:33:41,648 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:33:41,649 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:33:41,650 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:33:41,651 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:33:41,652 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:33:41,653 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:33:41,654 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:33:41,655 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:33:41,656 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:33:41,657 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:33:41,659 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:33:41,660 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:33:41,662 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:33:42,005 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:33:42,040 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:33:42,097 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:33:42,100 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:33:42,101 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:33:42,101 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:33:42,102 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:33:42,102 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:33:42,103 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:33:42,103 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf'.
2026-04-15 20:33:42,104 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:33:42,104 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:33:42,105 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits'.
2026-04-15 20:33:42,107 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:33:42,107 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:33:42,107 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits'.
2026-04-15 20:33:42,108 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:33:42,108 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:33:42,109 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:33:42,110 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:33:42,111 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:33:42,111 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:33:42,112 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:33:42,112 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:33:42,113 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits'.
2026-04-15 20:33:42,114 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf'.
2026-04-15 20:33:42,114 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:33:42,115 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf'.
2026-04-15 20:33:42,116 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:33:42,117 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:33:42,117 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:33:42,124 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort
2026-04-15 20:33:42,125 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits ...
2026-04-15 20:33:42,336 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:33:42,858 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.00000873758768
2026-04-15 20:33:44,025 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:33:44,743 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083768439 -70.084937825 81.088273750 -70.084937825 81.088273750 -70.083334589 81.083768439 -70.083334589
2026-04-15 20:33:44,745 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:33:44,749 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:33:45,036 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits']).
2026-04-15 20:33:45,039 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:45,238 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:33:45,239 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:45,441 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:33:45,442 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:45,639 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>, []).
2026-04-15 20:33:45,640 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:45,838 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', []).
2026-04-15 20:33:45,840 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:46,037 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', []).
2026-04-15 20:33:46,038 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:46,233 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits']).
2026-04-15 20:33:46,234 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:46,433 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:33:46,434 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:33:46,435 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:33:46,435 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:33:46,437 - stpipe.step - INFO - Step srctype done
2026-04-15 20:33:46,635 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:33:46,636 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:46,834 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:33:46,838 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:33:46,993 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:34:23,925 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:35:06,684 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03316238333675873 DN/s
2026-04-15 20:35:06,685 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:35:06,688 - stpipe.step - INFO - Step straylight done
2026-04-15 20:35:06,889 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:35:06,941 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:35:06,948 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits
2026-04-15 20:35:06,949 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:35:06,950 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:35:06,951 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:35:07,012 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:35:07,210 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:35:07,214 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits
2026-04-15 20:35:07,253 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:35:07,253 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:35:07,254 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:35:07,291 - stpipe.step - INFO - Step fringe done
2026-04-15 20:35:07,487 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:35:07,488 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:07,687 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:35:07,688 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:07,886 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:35:07,892 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits
2026-04-15 20:35:07,893 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:35:07,894 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:35:07,894 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 20:35:07,895 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:35:07,896 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 20:35:07,980 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:35:08,001 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:35:08,002 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:35:08,036 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:35:08,537 - stpipe.step - INFO - Step photom done
2026-04-15 20:35:08,752 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00003_mirifushort_rate.fits>,).
2026-04-15 20:35:08,753 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:09,536 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00003_mirifushort_cal.fits>,).
2026-04-15 20:35:09,537 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:09,781 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00003_mirifushort_cal.fits>,).
2026-04-15 20:35:09,782 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:10,030 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00003_mirifushort_cal.fits>,).
2026-04-15 20:35:10,032 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:10,820 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00003_mirifushort_cal.fits>,).
2026-04-15 20:35:10,821 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:10,824 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort
2026-04-15 20:35:10,825 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:35:10,826 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:35:11,231 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00003_mirifushort_cal.fits
2026-04-15 20:35:11,232 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:35:11,232 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:35:11,664 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:35:11,673 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:35:11,681 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:35:11,689 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:35:11,698 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:35:11,707 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:35:11,714 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:35:11,737 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:35:11,739 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:35:11,739 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:35:11,740 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:35:11,741 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:35:11,742 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:35:11,743 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:35:11,744 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:35:11,749 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:35:11,750 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:35:11,751 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:35:11,751 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:35:11,753 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:35:11,754 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:35:11,755 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:35:11,757 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:35:11,758 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:35:11,759 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:35:11,760 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:35:11,760 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:35:11,762 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:35:11,763 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:35:11,764 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:35:11,765 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:35:11,766 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:35:11,766 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:35:11,767 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:35:11,768 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:35:11,769 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:35:11,771 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:35:11,772 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:35:11,774 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:35:12,175 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:35:12,209 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:35:12,266 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:35:12,269 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:35:12,269 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:35:12,270 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:35:12,271 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:35:12,271 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:35:12,272 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:35:12,272 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf'.
2026-04-15 20:35:12,273 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:35:12,273 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:35:12,274 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits'.
2026-04-15 20:35:12,275 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:35:12,275 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:35:12,276 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits'.
2026-04-15 20:35:12,276 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:35:12,277 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:35:12,278 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:35:12,279 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:35:12,279 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:35:12,280 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:35:12,280 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:35:12,281 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:35:12,282 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits'.
2026-04-15 20:35:12,282 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf'.
2026-04-15 20:35:12,283 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:35:12,283 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf'.
2026-04-15 20:35:12,284 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:35:12,285 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:35:12,285 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:35:12,292 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong
2026-04-15 20:35:12,293 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits ...
2026-04-15 20:35:12,493 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:35:12,901 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:35:13,853 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:35:14,487 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.082636066 -70.084648190 81.090438468 -70.084648190 81.090438468 -70.081987117 81.082636066 -70.081987117
2026-04-15 20:35:14,488 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:35:14,493 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:35:14,711 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits']).
2026-04-15 20:35:14,714 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:14,909 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:35:14,910 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:15,101 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:35:15,102 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:15,297 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>, []).
2026-04-15 20:35:15,298 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:15,489 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', []).
2026-04-15 20:35:15,490 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:15,682 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', []).
2026-04-15 20:35:15,684 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:15,875 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits']).
2026-04-15 20:35:15,876 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:16,068 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:35:16,069 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:35:16,069 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:35:16,070 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:35:16,072 - stpipe.step - INFO - Step srctype done
2026-04-15 20:35:16,261 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:35:16,262 - stpipe.step - INFO - Step skipped.
2026-04-15 20:35:16,454 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:35:16,457 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:35:16,610 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:35:59,146 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:36:41,443 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03996343910694122 DN/s
2026-04-15 20:36:41,444 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:36:41,447 - stpipe.step - INFO - Step straylight done
2026-04-15 20:36:41,664 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:36:41,717 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:36:41,724 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits
2026-04-15 20:36:41,725 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:36:41,725 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:36:41,726 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:36:41,788 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:36:41,977 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:36:41,981 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits
2026-04-15 20:36:42,019 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:36:42,020 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:36:42,021 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:36:42,058 - stpipe.step - INFO - Step fringe done
2026-04-15 20:36:42,248 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:36:42,249 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:42,437 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:36:42,438 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:42,627 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:36:42,633 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits
2026-04-15 20:36:42,634 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:36:42,635 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:36:42,636 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 20:36:42,637 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:36:42,637 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 20:36:42,726 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:36:42,746 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:36:42,747 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:36:42,781 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:36:43,256 - stpipe.step - INFO - Step photom done
2026-04-15 20:36:43,466 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifulong_rate.fits>,).
2026-04-15 20:36:43,467 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:44,104 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00004_mirifulong_cal.fits>,).
2026-04-15 20:36:44,105 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:44,338 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00004_mirifulong_cal.fits>,).
2026-04-15 20:36:44,339 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:44,571 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00004_mirifulong_cal.fits>,).
2026-04-15 20:36:44,572 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:45,207 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00004_mirifulong_cal.fits>,).
2026-04-15 20:36:45,208 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:45,211 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong
2026-04-15 20:36:45,212 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:36:45,213 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:36:45,542 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00004_mirifulong_cal.fits
2026-04-15 20:36:45,542 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:36:45,543 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:36:45,956 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:36:45,963 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:36:45,972 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:36:45,980 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:36:45,988 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:36:45,997 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:36:46,005 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:36:46,033 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:36:46,034 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:36:46,035 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:36:46,036 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:36:46,037 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:36:46,038 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:36:46,039 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:36:46,040 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:36:46,045 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:36:46,046 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:36:46,048 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:36:46,049 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:36:46,050 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:36:46,051 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:36:46,052 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:36:46,054 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:36:46,054 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:36:46,056 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:36:46,057 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:36:46,057 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:36:46,059 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:36:46,060 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:36:46,061 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:36:46,062 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:36:46,063 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:36:46,064 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:36:46,065 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:36:46,066 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:36:46,067 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:36:46,068 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:36:46,069 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:36:46,071 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:36:46,383 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:36:46,418 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:36:46,475 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:36:46,478 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:36:46,479 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:36:46,480 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:36:46,480 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:36:46,481 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:36:46,481 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:36:46,482 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf'.
2026-04-15 20:36:46,483 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:36:46,484 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:36:46,484 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits'.
2026-04-15 20:36:46,485 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:36:46,485 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:36:46,486 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits'.
2026-04-15 20:36:46,487 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:36:46,487 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:36:46,488 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:36:46,488 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:36:46,489 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:36:46,490 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:36:46,490 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:36:46,491 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:36:46,491 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits'.
2026-04-15 20:36:46,492 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf'.
2026-04-15 20:36:46,493 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:36:46,493 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf'.
2026-04-15 20:36:46,494 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:36:46,494 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:36:46,495 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:36:46,502 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort
2026-04-15 20:36:46,502 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits ...
2026-04-15 20:36:46,709 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:36:47,228 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:36:48,401 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:36:49,122 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.084503398 -70.084106914 81.089008551 -70.084106914 81.089008551 -70.082503674 81.084503398 -70.082503674
2026-04-15 20:36:49,123 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:36:49,128 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:36:49,392 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits']).
2026-04-15 20:36:49,396 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:49,597 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:36:49,598 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:49,800 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:36:49,801 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:49,999 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>, []).
2026-04-15 20:36:50,001 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:50,198 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', []).
2026-04-15 20:36:50,199 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:50,392 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', []).
2026-04-15 20:36:50,393 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:50,590 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits']).
2026-04-15 20:36:50,591 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:50,792 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:36:50,793 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:36:50,794 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:36:50,795 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:36:50,797 - stpipe.step - INFO - Step srctype done
2026-04-15 20:36:51,000 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:36:51,001 - stpipe.step - INFO - Step skipped.
2026-04-15 20:36:51,204 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:36:51,208 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:36:51,366 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:37:28,246 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:38:10,162 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.04126452969421189 DN/s
2026-04-15 20:38:10,163 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:38:10,166 - stpipe.step - INFO - Step straylight done
2026-04-15 20:38:10,360 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:38:10,412 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:38:10,419 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits
2026-04-15 20:38:10,420 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:38:10,420 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:38:10,421 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:38:10,484 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:38:10,684 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:38:10,688 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits
2026-04-15 20:38:10,727 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:38:10,728 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:38:10,729 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:38:10,767 - stpipe.step - INFO - Step fringe done
2026-04-15 20:38:10,961 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:38:10,962 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:11,163 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:38:11,164 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:11,364 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:38:11,370 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits
2026-04-15 20:38:11,371 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:38:11,372 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:38:11,373 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 20:38:11,374 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:38:11,375 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 20:38:11,459 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:38:11,479 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:38:11,480 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:38:11,514 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:38:12,010 - stpipe.step - INFO - Step photom done
2026-04-15 20:38:12,210 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03102_00004_mirifushort_rate.fits>,).
2026-04-15 20:38:12,212 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:12,966 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00004_mirifushort_cal.fits>,).
2026-04-15 20:38:12,967 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:13,207 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00004_mirifushort_cal.fits>,).
2026-04-15 20:38:13,209 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:13,444 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00004_mirifushort_cal.fits>,).
2026-04-15 20:38:13,445 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:14,206 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00004_mirifushort_cal.fits>,).
2026-04-15 20:38:14,207 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:14,210 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort
2026-04-15 20:38:14,211 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:38:14,212 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:38:14,618 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03102_00004_mirifushort_cal.fits
2026-04-15 20:38:14,619 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:38:14,620 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:38:15,041 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:38:15,050 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:38:15,058 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:38:15,066 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:38:15,075 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:38:15,084 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:38:15,093 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:38:15,119 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:38:15,120 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:38:15,121 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:38:15,122 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:38:15,123 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:38:15,125 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:38:15,125 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:38:15,126 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:38:15,131 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:38:15,132 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:38:15,133 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:38:15,133 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:38:15,134 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:38:15,135 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:38:15,136 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:38:15,138 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:38:15,138 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:38:15,139 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:38:15,140 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:38:15,141 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:38:15,142 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:38:15,143 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:38:15,144 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:38:15,145 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:38:15,146 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:38:15,147 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:38:15,148 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:38:15,149 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:38:15,150 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:38:15,152 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:38:15,153 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:38:15,155 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:38:15,499 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:38:15,534 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:38:15,591 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:38:15,594 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf  125.1 K bytes  (1 / 6 files) (0 / 105.9 M bytes)
2026-04-15 20:38:15,706 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits   21.2 M bytes  (2 / 6 files) (125.1 K / 105.9 M bytes)
2026-04-15 20:38:16,039 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits   12.7 M bytes  (3 / 6 files) (21.3 M / 105.9 M bytes)
2026-04-15 20:38:16,316 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits   33.9 M bytes  (4 / 6 files) (34.0 M / 105.9 M bytes)
2026-04-15 20:38:16,722 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf   38.0 M bytes  (5 / 6 files) (67.9 M / 105.9 M bytes)
2026-04-15 20:38:17,115 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf   40.4 K bytes  (6 / 6 files) (105.9 M / 105.9 M bytes)
2026-04-15 20:38:17,171 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:38:17,172 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:38:17,172 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:38:17,173 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:38:17,173 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:38:17,174 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:38:17,175 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf'.
2026-04-15 20:38:17,175 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:38:17,176 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:38:17,176 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits'.
2026-04-15 20:38:17,177 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:38:17,178 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:38:17,179 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits'.
2026-04-15 20:38:17,179 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:38:17,180 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:38:17,180 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:38:17,181 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:38:17,181 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:38:17,182 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:38:17,183 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:38:17,183 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:38:17,184 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits'.
2026-04-15 20:38:17,185 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf'.
2026-04-15 20:38:17,186 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:38:17,186 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf'.
2026-04-15 20:38:17,187 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:38:17,188 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:38:17,188 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:38:17,195 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong
2026-04-15 20:38:17,196 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits ...
2026-04-15 20:38:17,397 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:38:17,799 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:38:18,732 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:38:19,356 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.081970046 -70.085622316 81.089744449 -70.085622316 81.089744449 -70.082973266 81.081970046 -70.082973266
2026-04-15 20:38:19,358 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:38:19,363 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:38:19,569 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits']).
2026-04-15 20:38:19,572 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:19,759 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:38:19,761 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:19,953 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:38:19,954 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:20,147 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>, []).
2026-04-15 20:38:20,148 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:20,343 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', []).
2026-04-15 20:38:20,344 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:20,532 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', []).
2026-04-15 20:38:20,533 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:20,725 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits']).
2026-04-15 20:38:20,727 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:20,920 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:38:20,921 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:38:20,922 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:38:20,922 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:38:20,925 - stpipe.step - INFO - Step srctype done
2026-04-15 20:38:21,116 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:38:21,117 - stpipe.step - INFO - Step skipped.
2026-04-15 20:38:21,310 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:38:21,313 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:38:21,462 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:39:04,012 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:39:45,884 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.034830138087272644 DN/s
2026-04-15 20:39:45,885 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:39:45,888 - stpipe.step - INFO - Step straylight done
2026-04-15 20:39:46,075 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:39:46,129 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:39:46,136 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits
2026-04-15 20:39:46,137 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:39:46,138 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:39:46,138 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:39:46,202 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:39:46,391 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:39:46,395 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits
2026-04-15 20:39:46,433 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:39:46,434 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:39:46,434 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:39:46,471 - stpipe.step - INFO - Step fringe done
2026-04-15 20:39:46,655 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:39:46,656 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:46,847 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:39:46,849 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:47,037 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:39:47,043 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits
2026-04-15 20:39:47,044 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:39:47,045 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:39:47,045 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 20:39:47,046 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:39:47,046 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 20:39:47,130 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:39:47,150 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:39:47,150 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:39:47,184 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:39:47,642 - stpipe.step - INFO - Step photom done
2026-04-15 20:39:47,832 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifulong_rate.fits>,).
2026-04-15 20:39:47,833 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:48,440 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00001_mirifulong_cal.fits>,).
2026-04-15 20:39:48,441 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:48,655 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00001_mirifulong_cal.fits>,).
2026-04-15 20:39:48,656 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:48,882 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00001_mirifulong_cal.fits>,).
2026-04-15 20:39:48,883 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:49,513 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00001_mirifulong_cal.fits>,).
2026-04-15 20:39:49,514 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:49,516 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong
2026-04-15 20:39:49,517 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:39:49,518 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:39:49,854 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00001_mirifulong_cal.fits
2026-04-15 20:39:49,855 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:39:49,856 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:39:50,272 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:39:50,280 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:39:50,288 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:39:50,296 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:39:50,305 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:39:50,314 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:39:50,323 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:39:50,346 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:39:50,347 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:39:50,348 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:39:50,349 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:39:50,350 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:39:50,351 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:39:50,352 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:39:50,353 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:39:50,358 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:39:50,358 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:39:50,359 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:39:50,360 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:39:50,362 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:39:50,362 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:39:50,363 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:39:50,365 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:39:50,366 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:39:50,367 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:39:50,368 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:39:50,369 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:39:50,370 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:39:50,371 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:39:50,372 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:39:50,374 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:39:50,375 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:39:50,377 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:39:50,378 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:39:50,380 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:39:50,381 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:39:50,382 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:39:50,384 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:39:50,386 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:39:50,724 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:39:50,759 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:39:50,816 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:39:50,820 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf  166.3 K bytes  (1 / 6 files) (0 / 106.0 M bytes)
2026-04-15 20:39:50,925 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits   21.2 M bytes  (2 / 6 files) (166.3 K / 106.0 M bytes)
2026-04-15 20:39:51,235 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits   12.7 M bytes  (3 / 6 files) (21.3 M / 106.0 M bytes)
2026-04-15 20:39:51,475 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits   33.9 M bytes  (4 / 6 files) (34.0 M / 106.0 M bytes)
2026-04-15 20:39:51,844 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf   38.0 M bytes  (5 / 6 files) (67.9 M / 106.0 M bytes)
2026-04-15 20:39:52,252 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf   53.7 K bytes  (6 / 6 files) (105.9 M / 106.0 M bytes)
2026-04-15 20:39:52,330 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:39:52,330 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:39:52,331 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:39:52,331 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:39:52,332 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:39:52,332 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:39:52,333 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf'.
2026-04-15 20:39:52,334 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:39:52,334 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:39:52,335 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits'.
2026-04-15 20:39:52,336 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:39:52,336 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:39:52,337 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits'.
2026-04-15 20:39:52,337 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:39:52,338 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:39:52,338 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:39:52,339 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:39:52,339 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:39:52,340 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:39:52,340 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:39:52,341 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:39:52,342 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits'.
2026-04-15 20:39:52,342 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf'.
2026-04-15 20:39:52,343 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:39:52,344 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf'.
2026-04-15 20:39:52,345 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:39:52,345 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:39:52,346 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:39:52,353 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort
2026-04-15 20:39:52,354 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits ...
2026-04-15 20:39:52,556 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:39:53,076 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:39:54,264 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:39:54,990 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083833334 -70.085031228 81.088275348 -70.085031228 81.088275348 -70.083425112 81.083833334 -70.083425112
2026-04-15 20:39:54,992 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:39:54,996 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:39:55,259 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits']).
2026-04-15 20:39:55,262 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:55,456 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:39:55,457 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:55,655 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:39:55,656 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:55,851 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>, []).
2026-04-15 20:39:55,852 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:56,048 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', []).
2026-04-15 20:39:56,049 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:56,245 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', []).
2026-04-15 20:39:56,246 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:56,441 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits']).
2026-04-15 20:39:56,442 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:56,637 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:39:56,638 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:39:56,639 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:39:56,639 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:39:56,642 - stpipe.step - INFO - Step srctype done
2026-04-15 20:39:56,835 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:39:56,836 - stpipe.step - INFO - Step skipped.
2026-04-15 20:39:57,030 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:39:57,034 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:39:57,188 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:40:35,967 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:41:17,842 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.043486561460879855 DN/s
2026-04-15 20:41:17,843 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:41:17,846 - stpipe.step - INFO - Step straylight done
2026-04-15 20:41:18,041 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:41:18,093 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:41:18,100 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits
2026-04-15 20:41:18,101 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:41:18,101 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:41:18,102 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:41:18,165 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:41:18,362 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:41:18,366 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits
2026-04-15 20:41:18,404 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:41:18,405 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:41:18,406 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:41:18,442 - stpipe.step - INFO - Step fringe done
2026-04-15 20:41:18,638 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:41:18,639 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:18,840 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:41:18,841 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:19,039 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:41:19,045 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits
2026-04-15 20:41:19,046 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:41:19,046 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:41:19,047 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 20:41:19,047 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:41:19,049 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 20:41:19,132 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:41:19,152 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:41:19,153 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:41:19,187 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:41:19,692 - stpipe.step - INFO - Step photom done
2026-04-15 20:41:19,904 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00001_mirifushort_rate.fits>,).
2026-04-15 20:41:19,905 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:20,666 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00001_mirifushort_cal.fits>,).
2026-04-15 20:41:20,667 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:20,909 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00001_mirifushort_cal.fits>,).
2026-04-15 20:41:20,910 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:21,146 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00001_mirifushort_cal.fits>,).
2026-04-15 20:41:21,147 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:21,913 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00001_mirifushort_cal.fits>,).
2026-04-15 20:41:21,914 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:21,917 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort
2026-04-15 20:41:21,918 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:41:21,918 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:41:22,328 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00001_mirifushort_cal.fits
2026-04-15 20:41:22,329 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:41:22,330 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:41:22,749 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:41:22,757 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:41:22,765 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:41:22,774 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:41:22,782 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:41:22,791 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:41:22,799 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:41:22,822 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:41:22,823 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:41:22,824 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:41:22,825 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:41:22,826 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:41:22,828 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:41:22,828 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:41:22,830 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:41:22,834 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:41:22,835 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:41:22,836 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:41:22,837 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:41:22,838 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:41:22,839 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:41:22,841 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:41:22,842 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:41:22,843 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:41:22,844 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:41:22,845 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:41:22,845 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:41:22,846 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:41:22,848 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:41:22,849 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:41:22,849 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:41:22,850 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:41:22,852 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:41:22,853 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:41:22,854 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:41:22,855 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:41:22,856 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:41:22,857 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:41:22,859 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:41:23,230 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:41:23,266 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:41:23,323 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:41:23,327 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:41:23,327 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:41:23,328 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:41:23,328 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:41:23,329 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:41:23,329 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:41:23,330 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf'.
2026-04-15 20:41:23,331 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:41:23,331 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:41:23,332 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits'.
2026-04-15 20:41:23,333 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:41:23,333 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:41:23,334 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits'.
2026-04-15 20:41:23,334 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:41:23,335 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:41:23,335 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:41:23,336 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:41:23,337 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:41:23,337 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:41:23,338 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:41:23,338 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:41:23,339 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits'.
2026-04-15 20:41:23,340 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf'.
2026-04-15 20:41:23,340 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:41:23,341 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf'.
2026-04-15 20:41:23,342 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:41:23,342 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:41:23,343 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:41:23,350 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong
2026-04-15 20:41:23,350 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits ...
2026-04-15 20:41:23,558 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:41:23,969 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:41:24,919 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:41:25,530 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.082703676 -70.084789229 81.090477809 -70.084789229 81.090477809 -70.082140161 81.082703676 -70.082140161
2026-04-15 20:41:25,532 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:41:25,537 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:41:25,738 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits']).
2026-04-15 20:41:25,740 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:25,925 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:41:25,927 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:26,122 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:41:26,123 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:26,311 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>, []).
2026-04-15 20:41:26,312 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:26,500 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', []).
2026-04-15 20:41:26,501 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:26,691 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', []).
2026-04-15 20:41:26,692 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:26,882 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits']).
2026-04-15 20:41:26,884 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:27,077 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:41:27,078 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:41:27,079 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:41:27,080 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:41:27,082 - stpipe.step - INFO - Step srctype done
2026-04-15 20:41:27,268 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:41:27,269 - stpipe.step - INFO - Step skipped.
2026-04-15 20:41:27,459 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:41:27,463 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:41:27,611 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:42:09,975 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:42:52,137 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03838486224412918 DN/s
2026-04-15 20:42:52,138 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:42:52,141 - stpipe.step - INFO - Step straylight done
2026-04-15 20:42:52,329 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:42:52,382 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:42:52,389 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits
2026-04-15 20:42:52,390 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:42:52,390 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:42:52,391 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:42:52,453 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:42:52,642 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:42:52,645 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits
2026-04-15 20:42:52,684 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:42:52,685 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:42:52,686 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:42:52,723 - stpipe.step - INFO - Step fringe done
2026-04-15 20:42:52,913 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:42:52,914 - stpipe.step - INFO - Step skipped.
2026-04-15 20:42:53,103 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:42:53,104 - stpipe.step - INFO - Step skipped.
2026-04-15 20:42:53,293 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:42:53,300 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits
2026-04-15 20:42:53,300 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:42:53,301 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:42:53,302 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 20:42:53,302 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:42:53,303 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 20:42:53,391 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:42:53,412 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:42:53,413 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:42:53,447 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:42:53,929 - stpipe.step - INFO - Step photom done
2026-04-15 20:42:54,122 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifulong_rate.fits>,).
2026-04-15 20:42:54,123 - stpipe.step - INFO - Step skipped.
2026-04-15 20:42:54,738 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00002_mirifulong_cal.fits>,).
2026-04-15 20:42:54,739 - stpipe.step - INFO - Step skipped.
2026-04-15 20:42:54,961 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00002_mirifulong_cal.fits>,).
2026-04-15 20:42:54,961 - stpipe.step - INFO - Step skipped.
2026-04-15 20:42:55,179 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00002_mirifulong_cal.fits>,).
2026-04-15 20:42:55,180 - stpipe.step - INFO - Step skipped.
2026-04-15 20:42:55,811 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00002_mirifulong_cal.fits>,).
2026-04-15 20:42:55,812 - stpipe.step - INFO - Step skipped.
2026-04-15 20:42:55,815 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong
2026-04-15 20:42:55,816 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:42:55,817 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:42:56,154 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00002_mirifulong_cal.fits
2026-04-15 20:42:56,155 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:42:56,156 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:42:56,569 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:42:56,578 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:42:56,586 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:42:56,595 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:42:56,603 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:42:56,612 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:42:56,620 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:42:56,643 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:42:56,645 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:42:56,646 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:42:56,647 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:42:56,648 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:42:56,649 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:42:56,650 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:42:56,651 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:42:56,656 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:42:56,657 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:42:56,657 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:42:56,658 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:42:56,659 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:42:56,660 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:42:56,661 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:42:56,663 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:42:56,664 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:42:56,664 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:42:56,665 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:42:56,666 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:42:56,667 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:42:56,668 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:42:56,669 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:42:56,671 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:42:56,672 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:42:56,673 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:42:56,674 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:42:56,675 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:42:56,676 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:42:56,677 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:42:56,679 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:42:56,680 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:42:56,970 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:42:57,004 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:42:57,062 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:42:57,066 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:42:57,066 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:42:57,067 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:42:57,067 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:42:57,068 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:42:57,068 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:42:57,069 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf'.
2026-04-15 20:42:57,070 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:42:57,071 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:42:57,071 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits'.
2026-04-15 20:42:57,072 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:42:57,073 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:42:57,073 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits'.
2026-04-15 20:42:57,074 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:42:57,074 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:42:57,075 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:42:57,075 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:42:57,076 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:42:57,076 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:42:57,078 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:42:57,078 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:42:57,079 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits'.
2026-04-15 20:42:57,080 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf'.
2026-04-15 20:42:57,080 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:42:57,081 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf'.
2026-04-15 20:42:57,081 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:42:57,082 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:42:57,083 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:42:57,090 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort
2026-04-15 20:42:57,090 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits ...
2026-04-15 20:42:57,296 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:42:57,823 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:42:58,993 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:42:59,710 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.084566892 -70.084198133 81.089008762 -70.084198133 81.089008762 -70.082592008 81.084566892 -70.082592008
2026-04-15 20:42:59,712 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:42:59,716 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:42:59,978 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits']).
2026-04-15 20:42:59,981 - stpipe.step - INFO - Step skipped.
2026-04-15 20:43:00,175 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:43:00,176 - stpipe.step - INFO - Step skipped.
2026-04-15 20:43:00,376 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:43:00,377 - stpipe.step - INFO - Step skipped.
2026-04-15 20:43:00,576 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>, []).
2026-04-15 20:43:00,577 - stpipe.step - INFO - Step skipped.
2026-04-15 20:43:00,771 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', []).
2026-04-15 20:43:00,772 - stpipe.step - INFO - Step skipped.
2026-04-15 20:43:00,968 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', []).
2026-04-15 20:43:00,969 - stpipe.step - INFO - Step skipped.
2026-04-15 20:43:01,166 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits']).
2026-04-15 20:43:01,168 - stpipe.step - INFO - Step skipped.
2026-04-15 20:43:01,361 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:43:01,363 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:43:01,363 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:43:01,364 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:43:01,366 - stpipe.step - INFO - Step srctype done
2026-04-15 20:43:01,561 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:43:01,561 - stpipe.step - INFO - Step skipped.
2026-04-15 20:43:01,759 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:43:01,763 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:43:01,919 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:43:40,937 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:44:23,112 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.023011458305972274 DN/s
2026-04-15 20:44:23,113 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:44:23,116 - stpipe.step - INFO - Step straylight done
2026-04-15 20:44:23,316 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:44:23,368 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:44:23,376 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits
2026-04-15 20:44:23,377 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:44:23,378 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:44:23,378 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:44:23,442 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:44:23,640 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:44:23,644 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits
2026-04-15 20:44:23,683 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:44:23,684 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:44:23,685 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:44:23,723 - stpipe.step - INFO - Step fringe done
2026-04-15 20:44:23,924 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:44:23,925 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:24,126 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:44:24,127 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:24,323 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:44:24,329 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits
2026-04-15 20:44:24,330 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:44:24,331 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:44:24,331 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 20:44:24,332 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:44:24,333 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 20:44:24,417 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:44:24,437 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:44:24,438 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:44:24,472 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:44:24,968 - stpipe.step - INFO - Step photom done
2026-04-15 20:44:25,170 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00002_mirifushort_rate.fits>,).
2026-04-15 20:44:25,171 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:25,942 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00002_mirifushort_cal.fits>,).
2026-04-15 20:44:25,943 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:26,177 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00002_mirifushort_cal.fits>,).
2026-04-15 20:44:26,178 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:26,413 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00002_mirifushort_cal.fits>,).
2026-04-15 20:44:26,414 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:27,195 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00002_mirifushort_cal.fits>,).
2026-04-15 20:44:27,196 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:27,199 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort
2026-04-15 20:44:27,200 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:44:27,200 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:44:27,612 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00002_mirifushort_cal.fits
2026-04-15 20:44:27,613 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:44:27,614 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:44:28,030 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:44:28,038 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:44:28,047 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:44:28,055 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:44:28,064 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:44:28,072 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:44:28,080 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:44:28,103 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:44:28,104 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:44:28,106 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:44:28,106 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:44:28,107 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:44:28,109 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:44:28,109 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:44:28,110 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:44:28,115 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:44:28,116 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:44:28,116 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:44:28,117 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:44:28,119 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:44:28,120 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:44:28,121 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:44:28,123 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:44:28,124 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:44:28,125 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:44:28,126 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:44:28,127 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:44:28,128 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:44:28,129 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:44:28,130 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:44:28,130 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:44:28,132 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:44:28,133 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:44:28,133 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:44:28,134 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:44:28,135 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:44:28,137 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:44:28,139 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:44:28,140 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:44:28,553 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:44:28,588 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:44:28,644 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:44:28,647 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:44:28,648 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:44:28,648 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:44:28,649 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:44:28,649 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:44:28,650 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:44:28,650 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf'.
2026-04-15 20:44:28,651 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:44:28,652 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:44:28,652 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits'.
2026-04-15 20:44:28,653 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:44:28,653 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:44:28,654 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits'.
2026-04-15 20:44:28,654 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:44:28,655 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:44:28,655 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:44:28,656 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:44:28,656 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:44:28,657 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:44:28,657 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:44:28,658 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:44:28,658 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits'.
2026-04-15 20:44:28,659 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf'.
2026-04-15 20:44:28,660 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:44:28,660 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf'.
2026-04-15 20:44:28,661 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:44:28,661 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:44:28,662 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:44:28,669 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong
2026-04-15 20:44:28,669 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits ...
2026-04-15 20:44:28,871 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:44:29,273 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:44:30,217 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:44:30,844 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.082048045 -70.085483519 81.089822386 -70.085483519 81.089822386 -70.082834473 81.082048045 -70.082834473
2026-04-15 20:44:30,845 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:44:30,850 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:44:31,055 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits']).
2026-04-15 20:44:31,058 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:31,250 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:44:31,251 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:31,441 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:44:31,443 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:31,633 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>, []).
2026-04-15 20:44:31,633 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:31,819 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', []).
2026-04-15 20:44:31,820 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:32,011 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', []).
2026-04-15 20:44:32,012 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:32,202 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits']).
2026-04-15 20:44:32,203 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:32,395 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:44:32,396 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:44:32,397 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:44:32,398 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:44:32,400 - stpipe.step - INFO - Step srctype done
2026-04-15 20:44:32,587 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:44:32,588 - stpipe.step - INFO - Step skipped.
2026-04-15 20:44:32,776 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:44:32,780 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:44:32,928 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:45:15,374 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:45:57,097 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03224192559719086 DN/s
2026-04-15 20:45:57,098 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:45:57,101 - stpipe.step - INFO - Step straylight done
2026-04-15 20:45:57,294 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:45:57,345 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:45:57,352 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits
2026-04-15 20:45:57,353 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:45:57,354 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:45:57,354 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:45:57,416 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:45:57,608 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:45:57,611 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits
2026-04-15 20:45:57,650 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:45:57,651 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:45:57,652 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:45:57,690 - stpipe.step - INFO - Step fringe done
2026-04-15 20:45:57,879 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:45:57,880 - stpipe.step - INFO - Step skipped.
2026-04-15 20:45:58,068 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:45:58,069 - stpipe.step - INFO - Step skipped.
2026-04-15 20:45:58,260 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:45:58,267 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits
2026-04-15 20:45:58,268 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:45:58,269 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:45:58,269 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 20:45:58,270 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:45:58,270 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 20:45:58,354 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:45:58,374 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:45:58,375 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:45:58,409 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:45:58,868 - stpipe.step - INFO - Step photom done
2026-04-15 20:45:59,056 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifulong_rate.fits>,).
2026-04-15 20:45:59,057 - stpipe.step - INFO - Step skipped.
2026-04-15 20:45:59,677 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00003_mirifulong_cal.fits>,).
2026-04-15 20:45:59,678 - stpipe.step - INFO - Step skipped.
2026-04-15 20:45:59,892 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00003_mirifulong_cal.fits>,).
2026-04-15 20:45:59,894 - stpipe.step - INFO - Step skipped.
2026-04-15 20:46:00,108 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00003_mirifulong_cal.fits>,).
2026-04-15 20:46:00,109 - stpipe.step - INFO - Step skipped.
2026-04-15 20:46:00,738 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00003_mirifulong_cal.fits>,).
2026-04-15 20:46:00,739 - stpipe.step - INFO - Step skipped.
2026-04-15 20:46:00,742 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong
2026-04-15 20:46:00,743 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:46:00,743 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:46:01,080 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00003_mirifulong_cal.fits
2026-04-15 20:46:01,081 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:46:01,081 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:46:01,489 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:46:01,497 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:46:01,506 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:46:01,514 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:46:01,523 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:46:01,531 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:46:01,539 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:46:01,563 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:46:01,564 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:46:01,565 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:46:01,565 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:46:01,567 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:46:01,568 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:46:01,568 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:46:01,570 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:46:01,574 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:46:01,575 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:46:01,576 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:46:01,577 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:46:01,578 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:46:01,579 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:46:01,581 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:46:01,582 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:46:01,583 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:46:01,584 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:46:01,585 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:46:01,586 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:46:01,587 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:46:01,588 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:46:01,589 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:46:01,590 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:46:01,591 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:46:01,592 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:46:01,593 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:46:01,594 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:46:01,595 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:46:01,596 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:46:01,597 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:46:01,599 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:46:01,889 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:46:01,924 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:46:01,980 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:46:01,984 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:46:01,984 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:46:01,985 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:46:01,985 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:46:01,985 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:46:01,986 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:46:01,986 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf'.
2026-04-15 20:46:01,987 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:46:01,988 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:46:01,988 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits'.
2026-04-15 20:46:01,989 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:46:01,990 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:46:01,990 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits'.
2026-04-15 20:46:01,991 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:46:01,991 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:46:01,992 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:46:01,993 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:46:01,993 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:46:01,994 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:46:01,994 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:46:01,995 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:46:01,995 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits'.
2026-04-15 20:46:01,996 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf'.
2026-04-15 20:46:01,997 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:46:01,997 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf'.
2026-04-15 20:46:01,998 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:46:01,999 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:46:01,999 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:46:02,006 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort
2026-04-15 20:46:02,007 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits ...
2026-04-15 20:46:02,211 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:46:02,735 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:46:03,902 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:46:04,616 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083911317 -70.084892431 81.088353293 -70.084892431 81.088353293 -70.083286318 81.083911317 -70.083286318
2026-04-15 20:46:04,618 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:46:04,623 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:46:04,912 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits']).
2026-04-15 20:46:04,916 - stpipe.step - INFO - Step skipped.
2026-04-15 20:46:05,120 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:46:05,121 - stpipe.step - INFO - Step skipped.
2026-04-15 20:46:05,324 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:46:05,325 - stpipe.step - INFO - Step skipped.
2026-04-15 20:46:05,529 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>, []).
2026-04-15 20:46:05,530 - stpipe.step - INFO - Step skipped.
2026-04-15 20:46:05,734 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', []).
2026-04-15 20:46:05,735 - stpipe.step - INFO - Step skipped.
2026-04-15 20:46:05,937 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', []).
2026-04-15 20:46:05,938 - stpipe.step - INFO - Step skipped.
2026-04-15 20:46:06,139 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits']).
2026-04-15 20:46:06,141 - stpipe.step - INFO - Step skipped.
2026-04-15 20:46:06,342 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:46:06,343 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:46:06,344 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:46:06,344 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:46:06,347 - stpipe.step - INFO - Step srctype done
2026-04-15 20:46:06,544 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:46:06,545 - stpipe.step - INFO - Step skipped.
2026-04-15 20:46:06,747 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:46:06,751 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:46:06,906 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:46:45,657 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:47:27,493 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03310890678520996 DN/s
2026-04-15 20:47:27,494 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:47:27,497 - stpipe.step - INFO - Step straylight done
2026-04-15 20:47:27,693 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:47:27,746 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:47:27,753 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits
2026-04-15 20:47:27,754 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:47:27,755 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:47:27,756 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:47:27,818 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:47:28,014 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:47:28,018 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits
2026-04-15 20:47:28,056 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:47:28,057 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:47:28,057 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:47:28,094 - stpipe.step - INFO - Step fringe done
2026-04-15 20:47:28,285 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:47:28,286 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:28,482 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:47:28,483 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:28,680 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:47:28,686 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits
2026-04-15 20:47:28,687 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:47:28,688 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:47:28,688 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 20:47:28,689 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:47:28,690 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 20:47:28,775 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:47:28,795 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:47:28,796 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:47:28,830 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:47:29,330 - stpipe.step - INFO - Step photom done
2026-04-15 20:47:29,536 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00003_mirifushort_rate.fits>,).
2026-04-15 20:47:29,537 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:30,309 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00003_mirifushort_cal.fits>,).
2026-04-15 20:47:30,310 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:30,558 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00003_mirifushort_cal.fits>,).
2026-04-15 20:47:30,560 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:30,802 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00003_mirifushort_cal.fits>,).
2026-04-15 20:47:30,803 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:31,596 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00003_mirifushort_cal.fits>,).
2026-04-15 20:47:31,597 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:31,599 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort
2026-04-15 20:47:31,600 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:47:31,601 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:47:32,013 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00003_mirifushort_cal.fits
2026-04-15 20:47:32,014 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:47:32,015 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:47:32,452 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:47:32,461 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:47:32,469 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:47:32,477 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:47:32,486 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:47:32,495 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:47:32,502 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:47:32,525 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:47:32,527 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:47:32,528 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:47:32,528 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:47:32,529 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:47:32,530 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:47:32,532 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:47:32,533 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:47:32,537 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:47:32,538 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:47:32,538 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:47:32,539 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:47:32,540 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:47:32,541 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:47:32,542 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:47:32,544 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:47:32,545 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:47:32,546 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:47:32,547 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:47:32,548 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:47:32,548 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:47:32,550 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:47:32,551 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:47:32,551 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:47:32,552 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:47:32,553 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:47:32,555 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:47:32,556 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:47:32,556 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:47:32,558 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:47:32,559 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:47:32,561 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:47:33,000 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:47:33,035 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:47:33,094 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:47:33,097 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:47:33,098 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:47:33,098 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:47:33,099 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:47:33,099 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:47:33,100 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:47:33,101 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf'.
2026-04-15 20:47:33,101 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:47:33,102 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:47:33,103 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits'.
2026-04-15 20:47:33,103 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:47:33,104 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:47:33,104 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits'.
2026-04-15 20:47:33,105 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:47:33,106 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:47:33,106 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:47:33,107 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:47:33,108 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:47:33,108 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:47:33,109 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:47:33,109 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:47:33,110 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits'.
2026-04-15 20:47:33,110 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf'.
2026-04-15 20:47:33,111 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:47:33,111 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf'.
2026-04-15 20:47:33,112 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:47:33,112 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:47:33,113 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:47:33,121 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong
2026-04-15 20:47:33,122 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits ...
2026-04-15 20:47:33,328 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:47:33,737 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087363201144
2026-04-15 20:47:34,692 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:47:35,323 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.082783604 -70.084650973 81.090557685 -70.084650973 81.090557685 -70.082001906 81.082783604 -70.082001906
2026-04-15 20:47:35,325 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:47:35,330 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:47:35,546 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits']).
2026-04-15 20:47:35,549 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:35,747 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:47:35,748 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:35,945 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:47:35,946 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:36,143 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>, []).
2026-04-15 20:47:36,144 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:36,340 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', []).
2026-04-15 20:47:36,341 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:36,539 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', []).
2026-04-15 20:47:36,540 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:36,735 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits']).
2026-04-15 20:47:36,737 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:36,932 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:47:36,933 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:47:36,934 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:47:36,935 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:47:36,937 - stpipe.step - INFO - Step srctype done
2026-04-15 20:47:37,131 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:47:37,133 - stpipe.step - INFO - Step skipped.
2026-04-15 20:47:37,329 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:47:37,333 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:47:37,485 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:48:20,457 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:49:02,833 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.0391109474003315 DN/s
2026-04-15 20:49:02,834 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:49:02,837 - stpipe.step - INFO - Step straylight done
2026-04-15 20:49:03,024 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:49:03,076 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:49:03,083 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits
2026-04-15 20:49:03,084 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:49:03,085 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:49:03,086 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:49:03,148 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:49:03,337 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:49:03,341 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits
2026-04-15 20:49:03,379 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:49:03,380 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:49:03,381 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:49:03,419 - stpipe.step - INFO - Step fringe done
2026-04-15 20:49:03,604 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:49:03,605 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:03,795 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:49:03,796 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:03,988 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:49:03,994 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits
2026-04-15 20:49:03,995 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:49:03,996 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:49:03,997 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 20:49:03,997 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:49:03,998 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 20:49:04,083 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:49:04,102 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:49:04,103 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:49:04,136 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:49:04,593 - stpipe.step - INFO - Step photom done
2026-04-15 20:49:04,782 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifulong_rate.fits>,).
2026-04-15 20:49:04,783 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:05,386 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00004_mirifulong_cal.fits>,).
2026-04-15 20:49:05,388 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:05,606 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00004_mirifulong_cal.fits>,).
2026-04-15 20:49:05,607 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:05,825 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00004_mirifulong_cal.fits>,).
2026-04-15 20:49:05,826 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:06,451 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00004_mirifulong_cal.fits>,).
2026-04-15 20:49:06,452 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:06,455 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong
2026-04-15 20:49:06,456 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:49:06,456 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:49:06,797 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00004_mirifulong_cal.fits
2026-04-15 20:49:06,798 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:49:06,799 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:49:07,213 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:49:07,221 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:49:07,229 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:49:07,237 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:49:07,245 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:49:07,254 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:49:07,262 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:49:07,285 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:49:07,286 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:49:07,287 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:49:07,288 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:49:07,289 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:49:07,290 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:49:07,291 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:49:07,292 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:49:07,296 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:49:07,297 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:49:07,298 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:49:07,299 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:49:07,300 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:49:07,301 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:49:07,302 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:49:07,304 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:49:07,305 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:49:07,305 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:49:07,306 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:49:07,307 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:49:07,308 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:49:07,309 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:49:07,310 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:49:07,311 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:49:07,312 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:49:07,313 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:49:07,314 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:49:07,314 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:49:07,315 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:49:07,316 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:49:07,318 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:49:07,319 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:49:07,604 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:49:07,641 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:49:07,698 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:49:07,702 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:49:07,702 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:49:07,703 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:49:07,703 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:49:07,704 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:49:07,704 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:49:07,705 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf'.
2026-04-15 20:49:07,706 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:49:07,706 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:49:07,706 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits'.
2026-04-15 20:49:07,707 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:49:07,708 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:49:07,709 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits'.
2026-04-15 20:49:07,710 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:49:07,710 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:49:07,711 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:49:07,711 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:49:07,712 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:49:07,712 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:49:07,713 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:49:07,713 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:49:07,714 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits'.
2026-04-15 20:49:07,715 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf'.
2026-04-15 20:49:07,715 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:49:07,716 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf'.
2026-04-15 20:49:07,716 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:49:07,717 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:49:07,717 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:49:07,725 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort
2026-04-15 20:49:07,725 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits ...
2026-04-15 20:49:07,927 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:49:08,449 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:49:09,613 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:49:10,333 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.084646809 -70.084059877 81.089088648 -70.084059877 81.089088648 -70.082453752 81.084646809 -70.082453752
2026-04-15 20:49:10,335 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:49:10,340 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:49:10,599 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits']).
2026-04-15 20:49:10,602 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:10,803 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:49:10,804 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:11,006 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:49:11,007 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:11,212 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>, []).
2026-04-15 20:49:11,214 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:11,415 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', []).
2026-04-15 20:49:11,416 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:11,614 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', []).
2026-04-15 20:49:11,616 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:11,814 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits']).
2026-04-15 20:49:11,815 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:12,020 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:49:12,021 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:49:12,021 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:49:12,022 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:49:12,024 - stpipe.step - INFO - Step srctype done
2026-04-15 20:49:12,229 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:49:12,230 - stpipe.step - INFO - Step skipped.
2026-04-15 20:49:12,431 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:49:12,435 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:49:12,589 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:49:51,478 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:50:33,372 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.0282004626121796 DN/s
2026-04-15 20:50:33,373 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:50:33,376 - stpipe.step - INFO - Step straylight done
2026-04-15 20:50:33,567 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:50:33,619 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:50:33,627 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits
2026-04-15 20:50:33,627 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:50:33,628 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:50:33,629 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:50:33,691 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:50:33,879 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:50:33,883 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits
2026-04-15 20:50:33,921 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:50:33,922 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:50:33,923 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:50:33,959 - stpipe.step - INFO - Step fringe done
2026-04-15 20:50:34,153 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:50:34,154 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:34,350 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:50:34,351 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:34,549 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:50:34,556 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits
2026-04-15 20:50:34,556 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:50:34,557 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:50:34,558 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 20:50:34,559 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:50:34,559 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 20:50:34,643 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:50:34,662 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:50:34,663 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:50:34,697 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:50:35,184 - stpipe.step - INFO - Step photom done
2026-04-15 20:50:35,382 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03104_00004_mirifushort_rate.fits>,).
2026-04-15 20:50:35,383 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:36,148 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00004_mirifushort_cal.fits>,).
2026-04-15 20:50:36,148 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:36,379 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00004_mirifushort_cal.fits>,).
2026-04-15 20:50:36,380 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:36,610 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00004_mirifushort_cal.fits>,).
2026-04-15 20:50:36,611 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:37,373 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00004_mirifushort_cal.fits>,).
2026-04-15 20:50:37,374 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:37,377 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort
2026-04-15 20:50:37,378 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:50:37,379 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:50:37,773 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03104_00004_mirifushort_cal.fits
2026-04-15 20:50:37,774 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:50:37,774 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:50:38,188 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:50:38,196 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:50:38,204 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:50:38,213 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:50:38,221 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:50:38,230 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:50:38,237 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:50:38,261 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:50:38,262 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:50:38,263 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:50:38,264 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:50:38,265 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:50:38,266 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:50:38,267 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:50:38,268 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:50:38,273 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:50:38,274 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:50:38,275 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:50:38,276 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:50:38,277 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:50:38,277 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:50:38,279 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:50:38,280 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:50:38,281 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:50:38,282 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:50:38,283 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:50:38,284 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:50:38,285 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:50:38,286 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:50:38,288 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:50:38,288 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:50:38,289 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:50:38,290 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:50:38,291 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:50:38,292 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:50:38,292 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:50:38,294 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:50:38,295 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:50:38,297 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:50:38,627 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:50:38,661 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:50:38,718 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:50:38,721 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf  125.0 K bytes  (1 / 6 files) (0 / 105.9 M bytes)
2026-04-15 20:50:39,042 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits   21.2 M bytes  (2 / 6 files) (125.0 K / 105.9 M bytes)
2026-04-15 20:50:39,351 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits   12.7 M bytes  (3 / 6 files) (21.3 M / 105.9 M bytes)
2026-04-15 20:50:39,608 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits   33.9 M bytes  (4 / 6 files) (34.0 M / 105.9 M bytes)
2026-04-15 20:50:39,935 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf   38.0 M bytes  (5 / 6 files) (67.9 M / 105.9 M bytes)
2026-04-15 20:50:40,344 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf   40.4 K bytes  (6 / 6 files) (105.9 M / 105.9 M bytes)
2026-04-15 20:50:40,426 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:50:40,427 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:50:40,428 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:50:40,428 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:50:40,429 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:50:40,429 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:50:40,430 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf'.
2026-04-15 20:50:40,430 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:50:40,431 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:50:40,431 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits'.
2026-04-15 20:50:40,432 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:50:40,432 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:50:40,433 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits'.
2026-04-15 20:50:40,435 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:50:40,435 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:50:40,436 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:50:40,436 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:50:40,437 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:50:40,438 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:50:40,438 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:50:40,439 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:50:40,439 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits'.
2026-04-15 20:50:40,440 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf'.
2026-04-15 20:50:40,440 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:50:40,441 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf'.
2026-04-15 20:50:40,442 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:50:40,442 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:50:40,443 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:50:40,450 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong
2026-04-15 20:50:40,451 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits ...
2026-04-15 20:50:40,646 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:50:41,042 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:50:41,971 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:50:42,574 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.081895218 -70.085603352 81.089830477 -70.085603352 81.089830477 -70.082960725 81.081895218 -70.082960725
2026-04-15 20:50:42,576 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:50:42,581 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:50:42,777 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits']).
2026-04-15 20:50:42,780 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:42,963 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:50:42,964 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:43,145 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:50:43,145 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:43,325 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>, []).
2026-04-15 20:50:43,326 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:43,514 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', []).
2026-04-15 20:50:43,515 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:43,697 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits', []).
2026-04-15 20:50:43,698 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:43,878 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits']).
2026-04-15 20:50:43,880 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:44,064 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:50:44,065 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:50:44,066 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:50:44,067 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:50:44,069 - stpipe.step - INFO - Step srctype done
2026-04-15 20:50:44,248 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:50:44,249 - stpipe.step - INFO - Step skipped.
2026-04-15 20:50:44,432 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:50:44,436 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:50:44,585 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:51:27,122 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:52:09,047 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03529491648077965 DN/s
2026-04-15 20:52:09,048 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:52:09,051 - stpipe.step - INFO - Step straylight done
2026-04-15 20:52:09,236 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:52:09,287 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:52:09,294 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits
2026-04-15 20:52:09,295 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:52:09,296 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:52:09,296 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:52:09,358 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:52:09,545 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:52:09,548 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits
2026-04-15 20:52:09,587 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:52:09,588 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:52:09,589 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:52:09,625 - stpipe.step - INFO - Step fringe done
2026-04-15 20:52:09,814 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:52:09,815 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:10,006 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:52:10,007 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:10,199 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:52:10,205 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits
2026-04-15 20:52:10,206 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:52:10,206 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:52:10,207 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 20:52:10,208 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:52:10,208 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 20:52:10,292 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:52:10,312 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:52:10,313 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:52:10,347 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:52:10,809 - stpipe.step - INFO - Step photom done
2026-04-15 20:52:10,994 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifulong_rate.fits>,).
2026-04-15 20:52:10,995 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:11,600 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00001_mirifulong_cal.fits>,).
2026-04-15 20:52:11,602 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:11,813 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00001_mirifulong_cal.fits>,).
2026-04-15 20:52:11,814 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:12,029 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00001_mirifulong_cal.fits>,).
2026-04-15 20:52:12,030 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:12,651 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00001_mirifulong_cal.fits>,).
2026-04-15 20:52:12,652 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:12,654 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong
2026-04-15 20:52:12,656 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:52:12,656 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:52:12,978 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00001_mirifulong_cal.fits
2026-04-15 20:52:12,979 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:52:12,980 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:52:13,385 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:52:13,393 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:52:13,401 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:52:13,409 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:52:13,418 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:52:13,426 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:52:13,434 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:52:13,457 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:52:13,458 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:52:13,459 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:52:13,460 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:52:13,461 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:52:13,462 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:52:13,463 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:52:13,464 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:52:13,469 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:52:13,469 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:52:13,470 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:52:13,471 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:52:13,472 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:52:13,473 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:52:13,474 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:52:13,475 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:52:13,476 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:52:13,477 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:52:13,478 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:52:13,479 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:52:13,480 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:52:13,481 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:52:13,482 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:52:13,482 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:52:13,483 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:52:13,484 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:52:13,486 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:52:13,486 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:52:13,487 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:52:13,488 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:52:13,490 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:52:13,491 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:52:13,776 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:52:13,811 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:52:13,868 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:52:13,872 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf  166.4 K bytes  (1 / 6 files) (0 / 106.0 M bytes)
2026-04-15 20:52:13,963 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits   21.2 M bytes  (2 / 6 files) (166.4 K / 106.0 M bytes)
2026-04-15 20:52:14,233 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits   12.7 M bytes  (3 / 6 files) (21.3 M / 106.0 M bytes)
2026-04-15 20:52:14,449 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits   33.9 M bytes  (4 / 6 files) (34.0 M / 106.0 M bytes)
2026-04-15 20:52:14,858 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf   38.0 M bytes  (5 / 6 files) (67.9 M / 106.0 M bytes)
2026-04-15 20:52:15,220 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf   53.7 K bytes  (6 / 6 files) (105.9 M / 106.0 M bytes)
2026-04-15 20:52:15,281 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:52:15,282 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:52:15,282 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:52:15,283 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:52:15,283 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:52:15,284 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:52:15,284 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf'.
2026-04-15 20:52:15,285 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:52:15,286 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:52:15,286 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits'.
2026-04-15 20:52:15,287 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:52:15,287 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:52:15,288 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits'.
2026-04-15 20:52:15,288 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:52:15,289 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:52:15,289 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:52:15,290 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:52:15,291 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:52:15,291 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:52:15,292 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:52:15,292 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:52:15,293 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits'.
2026-04-15 20:52:15,294 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf'.
2026-04-15 20:52:15,294 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:52:15,295 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf'.
2026-04-15 20:52:15,295 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:52:15,296 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:52:15,296 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:52:15,303 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort
2026-04-15 20:52:15,304 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits ...
2026-04-15 20:52:15,495 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:52:16,018 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:52:17,161 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:52:17,858 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083830182 -70.085111400 81.088370896 -70.085111400 81.088370896 -70.083515133 81.083830182 -70.083515133
2026-04-15 20:52:17,860 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:52:17,865 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:52:18,122 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits']).
2026-04-15 20:52:18,125 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:18,318 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:52:18,319 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:18,512 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:52:18,512 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:18,703 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>, []).
2026-04-15 20:52:18,704 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:18,900 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', []).
2026-04-15 20:52:18,901 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:19,091 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits', []).
2026-04-15 20:52:19,092 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:19,286 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits']).
2026-04-15 20:52:19,288 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:19,483 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:52:19,484 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:52:19,485 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:52:19,486 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:52:19,488 - stpipe.step - INFO - Step srctype done
2026-04-15 20:52:19,678 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:52:19,679 - stpipe.step - INFO - Step skipped.
2026-04-15 20:52:19,874 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:52:19,878 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:52:20,064 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:53:00,674 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:53:42,576 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03795078981461246 DN/s
2026-04-15 20:53:42,577 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:53:42,580 - stpipe.step - INFO - Step straylight done
2026-04-15 20:53:42,775 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:53:42,827 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:53:42,835 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits
2026-04-15 20:53:42,835 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:53:42,836 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:53:42,837 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:53:42,899 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:53:43,094 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:53:43,098 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits
2026-04-15 20:53:43,136 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:53:43,137 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:53:43,138 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:53:43,174 - stpipe.step - INFO - Step fringe done
2026-04-15 20:53:43,368 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:53:43,369 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:43,563 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:53:43,564 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:43,758 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:53:43,764 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits
2026-04-15 20:53:43,765 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:53:43,766 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:53:43,766 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 20:53:43,767 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:53:43,767 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 20:53:43,852 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:53:43,872 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:53:43,872 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:53:43,906 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:53:44,399 - stpipe.step - INFO - Step photom done
2026-04-15 20:53:44,593 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00001_mirifushort_rate.fits>,).
2026-04-15 20:53:44,593 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:45,358 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00001_mirifushort_cal.fits>,).
2026-04-15 20:53:45,359 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:45,591 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00001_mirifushort_cal.fits>,).
2026-04-15 20:53:45,592 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:45,823 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00001_mirifushort_cal.fits>,).
2026-04-15 20:53:45,824 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:46,578 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00001_mirifushort_cal.fits>,).
2026-04-15 20:53:46,578 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:46,581 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort
2026-04-15 20:53:46,582 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:53:46,583 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:53:46,978 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00001_mirifushort_cal.fits
2026-04-15 20:53:46,979 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:53:46,980 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:53:47,394 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:53:47,402 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:53:47,410 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:53:47,418 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:53:47,427 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:53:47,435 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:53:47,443 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:53:47,466 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:53:47,467 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:53:47,468 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:53:47,469 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:53:47,470 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:53:47,471 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:53:47,472 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:53:47,473 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:53:47,477 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:53:47,478 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:53:47,480 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:53:47,481 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:53:47,482 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:53:47,483 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:53:47,484 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:53:47,486 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:53:47,487 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:53:47,488 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:53:47,489 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:53:47,489 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:53:47,490 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:53:47,492 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:53:47,493 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:53:47,494 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:53:47,494 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:53:47,496 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:53:47,497 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:53:47,498 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:53:47,499 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:53:47,500 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:53:47,501 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:53:47,503 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:53:47,826 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:53:47,861 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:53:47,916 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:53:47,920 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:53:47,920 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:53:47,921 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:53:47,921 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:53:47,922 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:53:47,922 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:53:47,923 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf'.
2026-04-15 20:53:47,923 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:53:47,924 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:53:47,924 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits'.
2026-04-15 20:53:47,925 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:53:47,925 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:53:47,926 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits'.
2026-04-15 20:53:47,927 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:53:47,927 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:53:47,928 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:53:47,928 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:53:47,928 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:53:47,929 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:53:47,929 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:53:47,930 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:53:47,931 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits'.
2026-04-15 20:53:47,931 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf'.
2026-04-15 20:53:47,932 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:53:47,932 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf'.
2026-04-15 20:53:47,933 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:53:47,933 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:53:47,934 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:53:47,941 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong
2026-04-15 20:53:47,942 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits ...
2026-04-15 20:53:48,139 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:53:48,533 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087363201144
2026-04-15 20:53:49,463 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:53:50,074 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.082628860 -70.084770835 81.090563839 -70.084770835 81.090563839 -70.082128193 81.082628860 -70.082128193
2026-04-15 20:53:50,076 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:53:50,081 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:53:50,273 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits']).
2026-04-15 20:53:50,276 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:50,464 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:53:50,465 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:50,658 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:53:50,659 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:50,846 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>, []).
2026-04-15 20:53:50,847 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:51,037 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', []).
2026-04-15 20:53:51,039 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:51,225 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits', []).
2026-04-15 20:53:51,226 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:51,409 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits']).
2026-04-15 20:53:51,410 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:51,595 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:53:51,595 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:53:51,596 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:53:51,597 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:53:51,599 - stpipe.step - INFO - Step srctype done
2026-04-15 20:53:51,781 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:53:51,782 - stpipe.step - INFO - Step skipped.
2026-04-15 20:53:51,970 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:53:51,974 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:53:52,122 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:54:34,563 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:55:16,399 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.005880868062376976 DN/s
2026-04-15 20:55:16,400 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:55:16,403 - stpipe.step - INFO - Step straylight done
2026-04-15 20:55:16,588 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:55:16,640 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:55:16,647 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits
2026-04-15 20:55:16,648 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:55:16,648 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:55:16,649 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:55:16,710 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:55:16,893 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:55:16,896 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits
2026-04-15 20:55:16,935 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:55:16,936 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:55:16,937 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:55:16,973 - stpipe.step - INFO - Step fringe done
2026-04-15 20:55:17,157 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:55:17,159 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:17,347 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:55:17,348 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:17,525 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:55:17,531 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits
2026-04-15 20:55:17,532 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:55:17,533 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:55:17,534 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 20:55:17,534 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:55:17,535 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 20:55:17,618 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:55:17,638 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:55:17,639 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:55:17,672 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:55:18,125 - stpipe.step - INFO - Step photom done
2026-04-15 20:55:18,300 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifulong_rate.fits>,).
2026-04-15 20:55:18,302 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:18,907 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00002_mirifulong_cal.fits>,).
2026-04-15 20:55:18,908 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:19,124 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00002_mirifulong_cal.fits>,).
2026-04-15 20:55:19,125 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:19,351 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00002_mirifulong_cal.fits>,).
2026-04-15 20:55:19,352 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:19,985 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00002_mirifulong_cal.fits>,).
2026-04-15 20:55:19,987 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:19,989 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong
2026-04-15 20:55:19,990 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:55:19,991 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:55:20,315 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00002_mirifulong_cal.fits
2026-04-15 20:55:20,316 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:55:20,317 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:55:20,723 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:55:20,731 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:55:20,739 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:55:20,747 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:55:20,756 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:55:20,765 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:55:20,773 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:55:20,796 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:55:20,797 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:55:20,798 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:55:20,799 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:55:20,800 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:55:20,802 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:55:20,802 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:55:20,803 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:55:20,808 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:55:20,809 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:55:20,810 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:55:20,811 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:55:20,812 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:55:20,813 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:55:20,814 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:55:20,815 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:55:20,816 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:55:20,818 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:55:20,818 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:55:20,819 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:55:20,820 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:55:20,821 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:55:20,822 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:55:20,823 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:55:20,824 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:55:20,824 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:55:20,827 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:55:20,827 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:55:20,828 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:55:20,829 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:55:20,831 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:55:20,832 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:55:21,106 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:55:21,141 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:55:21,199 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:55:21,203 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:55:21,203 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:55:21,204 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:55:21,204 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:55:21,205 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:55:21,205 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:55:21,206 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf'.
2026-04-15 20:55:21,206 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:55:21,207 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:55:21,207 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits'.
2026-04-15 20:55:21,208 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:55:21,208 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:55:21,209 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits'.
2026-04-15 20:55:21,210 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:55:21,211 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:55:21,211 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:55:21,212 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:55:21,213 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:55:21,213 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:55:21,214 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:55:21,215 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:55:21,215 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits'.
2026-04-15 20:55:21,216 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf'.
2026-04-15 20:55:21,217 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:55:21,217 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf'.
2026-04-15 20:55:21,218 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:55:21,219 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:55:21,219 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:55:21,226 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort
2026-04-15 20:55:21,227 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits ...
2026-04-15 20:55:21,423 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:55:21,941 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087363201144
2026-04-15 20:55:23,078 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:55:23,782 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.084563754 -70.084278877 81.089104314 -70.084278877 81.089104314 -70.082682602 81.084563754 -70.082682602
2026-04-15 20:55:23,784 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:55:23,788 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:55:24,053 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits']).
2026-04-15 20:55:24,057 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:24,259 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:55:24,260 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:24,459 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:55:24,461 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:24,653 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>, []).
2026-04-15 20:55:24,654 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:24,852 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', []).
2026-04-15 20:55:24,853 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:25,050 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits', []).
2026-04-15 20:55:25,051 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:25,246 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits']).
2026-04-15 20:55:25,248 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:25,442 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:55:25,444 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:55:25,444 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:55:25,445 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:55:25,447 - stpipe.step - INFO - Step srctype done
2026-04-15 20:55:25,640 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:55:25,640 - stpipe.step - INFO - Step skipped.
2026-04-15 20:55:25,837 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:55:25,841 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:55:25,993 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:56:06,748 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:56:48,545 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.02364093816878588 DN/s
2026-04-15 20:56:48,546 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:56:48,549 - stpipe.step - INFO - Step straylight done
2026-04-15 20:56:48,746 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:56:48,798 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:56:48,805 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits
2026-04-15 20:56:48,806 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:56:48,806 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:56:48,807 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:56:48,872 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:56:49,069 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:56:49,073 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits
2026-04-15 20:56:49,116 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:56:49,117 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:56:49,118 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:56:49,156 - stpipe.step - INFO - Step fringe done
2026-04-15 20:56:49,353 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:56:49,354 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:49,551 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:56:49,553 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:49,751 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:56:49,757 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits
2026-04-15 20:56:49,758 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:56:49,758 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:56:49,759 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 20:56:49,760 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:56:49,760 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 20:56:49,844 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:56:49,865 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:56:49,866 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:56:49,900 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:56:50,392 - stpipe.step - INFO - Step photom done
2026-04-15 20:56:50,589 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00002_mirifushort_rate.fits>,).
2026-04-15 20:56:50,590 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:51,344 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00002_mirifushort_cal.fits>,).
2026-04-15 20:56:51,345 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:51,581 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00002_mirifushort_cal.fits>,).
2026-04-15 20:56:51,581 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:51,815 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00002_mirifushort_cal.fits>,).
2026-04-15 20:56:51,815 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:52,581 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00002_mirifushort_cal.fits>,).
2026-04-15 20:56:52,583 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:52,586 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort
2026-04-15 20:56:52,587 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:56:52,587 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:56:52,982 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00002_mirifushort_cal.fits
2026-04-15 20:56:52,983 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:56:52,984 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:56:53,399 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:56:53,407 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:56:53,416 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:56:53,424 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:56:53,432 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:56:53,440 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:56:53,448 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:56:53,471 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:56:53,473 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:56:53,474 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:56:53,475 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:56:53,476 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:56:53,477 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:56:53,478 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:56:53,479 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:56:53,483 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:56:53,484 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:56:53,485 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:56:53,486 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:56:53,487 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:56:53,488 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:56:53,489 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:56:53,491 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:56:53,491 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:56:53,492 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:56:53,494 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:56:53,494 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:56:53,495 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:56:53,496 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:56:53,497 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:56:53,498 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:56:53,499 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:56:53,500 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:56:53,501 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:56:53,502 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:56:53,503 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:56:53,504 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:56:53,506 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:56:53,507 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:56:53,910 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:56:53,945 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:56:54,001 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:56:54,005 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:56:54,005 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:56:54,006 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:56:54,006 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:56:54,007 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:56:54,007 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:56:54,008 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf'.
2026-04-15 20:56:54,009 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:56:54,009 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:56:54,010 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits'.
2026-04-15 20:56:54,010 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:56:54,011 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:56:54,011 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits'.
2026-04-15 20:56:54,012 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:56:54,012 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:56:54,013 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:56:54,014 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:56:54,014 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:56:54,015 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:56:54,016 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:56:54,016 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:56:54,017 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits'.
2026-04-15 20:56:54,018 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf'.
2026-04-15 20:56:54,019 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:56:54,019 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf'.
2026-04-15 20:56:54,020 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:56:54,021 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:56:54,021 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:56:54,028 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong
2026-04-15 20:56:54,029 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits ...
2026-04-15 20:56:54,232 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:56:54,641 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087363201144
2026-04-15 20:56:55,575 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:56:56,185 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.081973335 -70.085465028 81.089908525 -70.085465028 81.089908525 -70.082822408 81.081973335 -70.082822408
2026-04-15 20:56:56,186 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:56:56,191 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:56:56,388 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits']).
2026-04-15 20:56:56,391 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:56,574 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:56:56,575 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:56,762 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:56:56,763 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:56,949 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>, []).
2026-04-15 20:56:56,950 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:57,136 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', []).
2026-04-15 20:56:57,137 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:57,319 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits', []).
2026-04-15 20:56:57,320 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:57,501 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits']).
2026-04-15 20:56:57,502 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:57,688 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:56:57,689 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:56:57,689 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:56:57,690 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:56:57,692 - stpipe.step - INFO - Step srctype done
2026-04-15 20:56:57,879 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:56:57,880 - stpipe.step - INFO - Step skipped.
2026-04-15 20:56:58,078 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:56:58,082 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:56:58,231 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:57:40,709 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:58:22,548 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.009333323687314987 DN/s
2026-04-15 20:58:22,549 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:58:22,552 - stpipe.step - INFO - Step straylight done
2026-04-15 20:58:22,739 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:58:22,791 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:58:22,798 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits
2026-04-15 20:58:22,799 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:58:22,799 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:58:22,800 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:58:22,861 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:58:23,047 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:58:23,051 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits
2026-04-15 20:58:23,089 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:58:23,090 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:58:23,091 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:58:23,127 - stpipe.step - INFO - Step fringe done
2026-04-15 20:58:23,313 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:58:23,314 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:23,502 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:58:23,503 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:23,698 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:58:23,704 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits
2026-04-15 20:58:23,705 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:58:23,706 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:58:23,706 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 20:58:23,707 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:58:23,708 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 20:58:23,792 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:58:23,813 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:58:23,813 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:58:23,847 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:58:24,308 - stpipe.step - INFO - Step photom done
2026-04-15 20:58:24,494 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifulong_rate.fits>,).
2026-04-15 20:58:24,495 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:25,108 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00003_mirifulong_cal.fits>,).
2026-04-15 20:58:25,109 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:25,325 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00003_mirifulong_cal.fits>,).
2026-04-15 20:58:25,326 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:25,543 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00003_mirifulong_cal.fits>,).
2026-04-15 20:58:25,544 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:26,181 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00003_mirifulong_cal.fits>,).
2026-04-15 20:58:26,182 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:26,185 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong
2026-04-15 20:58:26,186 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:58:26,186 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:58:26,511 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00003_mirifulong_cal.fits
2026-04-15 20:58:26,512 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:58:26,512 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:58:26,918 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:58:26,926 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:58:26,934 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:58:26,942 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:58:26,951 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:58:26,959 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:58:26,967 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:58:26,991 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:58:26,992 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:58:26,993 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:58:26,993 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:58:26,995 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:58:26,996 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:58:26,997 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:58:26,998 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:58:27,002 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:58:27,003 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:58:27,004 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:58:27,005 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:58:27,006 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:58:27,006 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:58:27,009 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:58:27,011 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:58:27,011 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:58:27,012 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:58:27,013 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:58:27,014 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:58:27,015 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:58:27,016 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:58:27,017 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:58:27,018 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:58:27,019 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:58:27,020 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:58:27,021 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:58:27,022 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:58:27,023 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:58:27,024 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:58:27,025 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:58:27,028 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:58:27,302 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:58:27,336 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:58:27,392 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:58:27,395 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:58:27,396 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:58:27,396 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:58:27,397 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:58:27,397 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:58:27,398 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:58:27,398 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf'.
2026-04-15 20:58:27,399 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:58:27,400 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:58:27,400 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits'.
2026-04-15 20:58:27,401 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:58:27,401 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:58:27,402 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits'.
2026-04-15 20:58:27,403 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:58:27,403 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:58:27,403 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:58:27,404 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:58:27,405 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:58:27,405 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:58:27,406 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:58:27,406 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:58:27,407 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits'.
2026-04-15 20:58:27,408 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf'.
2026-04-15 20:58:27,408 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:58:27,409 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf'.
2026-04-15 20:58:27,409 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:58:27,410 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:58:27,410 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:58:27,417 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort
2026-04-15 20:58:27,417 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits ...
2026-04-15 20:58:27,606 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:58:28,123 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 20:58:29,278 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:58:29,979 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083908282 -70.084973079 81.088448955 -70.084973079 81.088448955 -70.083376815 81.083908282 -70.083376815
2026-04-15 20:58:29,981 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:58:29,986 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:58:30,247 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits']).
2026-04-15 20:58:30,250 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:30,452 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:58:30,453 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:30,640 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:58:30,641 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:30,826 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>, []).
2026-04-15 20:58:30,827 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:31,029 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', []).
2026-04-15 20:58:31,030 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:31,229 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits', []).
2026-04-15 20:58:31,230 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:31,423 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits']).
2026-04-15 20:58:31,425 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:31,609 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:58:31,610 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 20:58:31,610 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:58:31,611 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 20:58:31,614 - stpipe.step - INFO - Step srctype done
2026-04-15 20:58:31,807 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:58:31,808 - stpipe.step - INFO - Step skipped.
2026-04-15 20:58:31,994 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:58:31,998 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 20:58:32,151 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 20:59:12,742 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 20:59:54,479 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03585385811497813 DN/s
2026-04-15 20:59:54,480 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 20:59:54,483 - stpipe.step - INFO - Step straylight done
2026-04-15 20:59:54,680 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:59:54,734 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:59:54,741 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits
2026-04-15 20:59:54,742 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 20:59:54,742 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 20:59:54,743 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 20:59:54,806 - stpipe.step - INFO - Step flat_field done
2026-04-15 20:59:55,007 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:59:55,011 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits
2026-04-15 20:59:55,050 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:59:55,051 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:59:55,052 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:59:55,090 - stpipe.step - INFO - Step fringe done
2026-04-15 20:59:55,294 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:59:55,295 - stpipe.step - INFO - Step skipped.
2026-04-15 20:59:55,494 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:59:55,495 - stpipe.step - INFO - Step skipped.
2026-04-15 20:59:55,693 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:59:55,699 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits
2026-04-15 20:59:55,700 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 20:59:55,701 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 20:59:55,701 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 20:59:55,702 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 20:59:55,703 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 20:59:55,786 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:59:55,806 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 20:59:55,807 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 20:59:55,841 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 20:59:56,330 - stpipe.step - INFO - Step photom done
2026-04-15 20:59:56,526 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00003_mirifushort_rate.fits>,).
2026-04-15 20:59:56,527 - stpipe.step - INFO - Step skipped.
2026-04-15 20:59:57,280 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00003_mirifushort_cal.fits>,).
2026-04-15 20:59:57,282 - stpipe.step - INFO - Step skipped.
2026-04-15 20:59:57,522 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00003_mirifushort_cal.fits>,).
2026-04-15 20:59:57,523 - stpipe.step - INFO - Step skipped.
2026-04-15 20:59:57,755 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00003_mirifushort_cal.fits>,).
2026-04-15 20:59:57,756 - stpipe.step - INFO - Step skipped.
2026-04-15 20:59:58,529 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00003_mirifushort_cal.fits>,).
2026-04-15 20:59:58,530 - stpipe.step - INFO - Step skipped.
2026-04-15 20:59:58,533 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort
2026-04-15 20:59:58,535 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:59:58,535 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:59:58,933 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00003_mirifushort_cal.fits
2026-04-15 20:59:58,933 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:59:58,934 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:59:59,350 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:59:59,358 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:59:59,366 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:59:59,374 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 20:59:59,383 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 20:59:59,391 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 20:59:59,399 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 20:59:59,423 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:59:59,424 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:59:59,425 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:59:59,426 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:59:59,427 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:59:59,428 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:59:59,429 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:59:59,430 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:59:59,434 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:59:59,435 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:59:59,436 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:59:59,438 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:59:59,439 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:59:59,440 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:59:59,441 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:59:59,443 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:59:59,444 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:59:59,445 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:59:59,446 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:59:59,447 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:59:59,448 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:59:59,449 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:59:59,451 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:59:59,452 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:59:59,453 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:59:59,454 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:59:59,454 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:59:59,455 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:59:59,456 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:59:59,457 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:59:59,459 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:59:59,460 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:59:59,791 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 20:59:59,826 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 20:59:59,882 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:59:59,886 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 20:59:59,886 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 20:59:59,887 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 20:59:59,887 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 20:59:59,888 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 20:59:59,888 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 20:59:59,889 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf'.
2026-04-15 20:59:59,889 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 20:59:59,890 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:59:59,890 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits'.
2026-04-15 20:59:59,891 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 20:59:59,891 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 20:59:59,892 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits'.
2026-04-15 20:59:59,893 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:59:59,893 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:59:59,894 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:59:59,894 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 20:59:59,895 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 20:59:59,895 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 20:59:59,896 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 20:59:59,896 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 20:59:59,897 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits'.
2026-04-15 20:59:59,898 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf'.
2026-04-15 20:59:59,898 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 20:59:59,899 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf'.
2026-04-15 20:59:59,900 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 20:59:59,900 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 20:59:59,901 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:59:59,908 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong
2026-04-15 20:59:59,909 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits ...
2026-04-15 21:00:00,096 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:00:00,492 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087369538972
2026-04-15 21:00:01,428 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:00:02,032 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.082708732 -70.084632184 81.090643663 -70.084632184 81.090643663 -70.081989541 81.082708732 -70.081989541
2026-04-15 21:00:02,033 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:00:02,038 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:00:02,230 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits']).
2026-04-15 21:00:02,233 - stpipe.step - INFO - Step skipped.
2026-04-15 21:00:02,422 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:00:02,423 - stpipe.step - INFO - Step skipped.
2026-04-15 21:00:02,606 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:00:02,607 - stpipe.step - INFO - Step skipped.
2026-04-15 21:00:02,788 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>, []).
2026-04-15 21:00:02,789 - stpipe.step - INFO - Step skipped.
2026-04-15 21:00:02,969 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', []).
2026-04-15 21:00:02,970 - stpipe.step - INFO - Step skipped.
2026-04-15 21:00:03,149 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits', []).
2026-04-15 21:00:03,149 - stpipe.step - INFO - Step skipped.
2026-04-15 21:00:03,335 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits']).
2026-04-15 21:00:03,336 - stpipe.step - INFO - Step skipped.
2026-04-15 21:00:03,526 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:00:03,528 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:00:03,529 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:00:03,530 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:00:03,533 - stpipe.step - INFO - Step srctype done
2026-04-15 21:00:03,720 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:00:03,721 - stpipe.step - INFO - Step skipped.
2026-04-15 21:00:03,902 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:00:03,905 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:00:04,059 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:00:46,945 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:01:28,690 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.026404837146401405 DN/s
2026-04-15 21:01:28,690 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:01:28,693 - stpipe.step - INFO - Step straylight done
2026-04-15 21:01:28,877 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:01:28,929 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:01:28,936 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits
2026-04-15 21:01:28,937 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:01:28,937 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:01:28,938 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:01:29,000 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:01:29,183 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:01:29,187 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits
2026-04-15 21:01:29,225 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:01:29,226 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:01:29,227 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:01:29,264 - stpipe.step - INFO - Step fringe done
2026-04-15 21:01:29,446 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:01:29,448 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:29,630 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:01:29,631 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:29,815 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:01:29,821 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits
2026-04-15 21:01:29,821 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:01:29,822 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:01:29,823 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 21:01:29,824 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:01:29,825 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 21:01:29,908 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:01:29,928 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:01:29,930 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:01:29,963 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:01:30,425 - stpipe.step - INFO - Step photom done
2026-04-15 21:01:30,618 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifulong_rate.fits>,).
2026-04-15 21:01:30,619 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:31,234 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00004_mirifulong_cal.fits>,).
2026-04-15 21:01:31,235 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:31,456 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00004_mirifulong_cal.fits>,).
2026-04-15 21:01:31,457 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:31,672 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00004_mirifulong_cal.fits>,).
2026-04-15 21:01:31,673 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:32,300 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00004_mirifulong_cal.fits>,).
2026-04-15 21:01:32,301 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:32,303 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong
2026-04-15 21:01:32,305 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:01:32,305 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:01:32,643 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00004_mirifulong_cal.fits
2026-04-15 21:01:32,644 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:01:32,645 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:01:33,061 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:01:33,069 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:01:33,077 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:01:33,085 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:01:33,094 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:01:33,103 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:01:33,111 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:01:33,135 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:01:33,136 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:01:33,137 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:01:33,138 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:01:33,139 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:01:33,140 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:01:33,141 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:01:33,142 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:01:33,147 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:01:33,148 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:01:33,149 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:01:33,150 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:01:33,151 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:01:33,152 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:01:33,153 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:01:33,154 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:01:33,155 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:01:33,156 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:01:33,157 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:01:33,158 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:01:33,159 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:01:33,161 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:01:33,162 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:01:33,163 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:01:33,163 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:01:33,164 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:01:33,165 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:01:33,167 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:01:33,168 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:01:33,169 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:01:33,170 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:01:33,172 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:01:33,517 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs003/l2asn.json',).
2026-04-15 21:01:33,552 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:01:33,608 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['area', 'barshadow', 'camera', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pathloss', 'photom', 'regions', 'sflat', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:01:33,611 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:01:33,612 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:01:33,612 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:01:33,613 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:01:33,613 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:01:33,614 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:01:33,614 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf'.
2026-04-15 21:01:33,615 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:01:33,616 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:01:33,616 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits'.
2026-04-15 21:01:33,618 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:01:33,618 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:01:33,619 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits'.
2026-04-15 21:01:33,619 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:01:33,620 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:01:33,621 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:01:33,621 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:01:33,622 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:01:33,622 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:01:33,623 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:01:33,623 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:01:33,624 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits'.
2026-04-15 21:01:33,624 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf'.
2026-04-15 21:01:33,625 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:01:33,626 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf'.
2026-04-15 21:01:33,626 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:01:33,627 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:01:33,628 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:01:33,635 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort
2026-04-15 21:01:33,636 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits ...
2026-04-15 21:01:33,830 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:01:34,359 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087363201144
2026-04-15 21:01:35,531 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:01:36,242 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.084643613 -70.084140230 81.089184145 -70.084140230 81.089184145 -70.082543955 81.084643613 -70.082543955
2026-04-15 21:01:36,243 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:01:36,248 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:01:36,509 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits']).
2026-04-15 21:01:36,512 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:36,708 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:01:36,709 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:36,905 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:01:36,906 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:37,106 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>, []).
2026-04-15 21:01:37,108 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:37,304 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', []).
2026-04-15 21:01:37,305 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:37,502 - stpipe.step - INFO - Step imprint_subtract running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits', []).
2026-04-15 21:01:37,503 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:37,698 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits']).
2026-04-15 21:01:37,699 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:37,900 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:01:37,901 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:01:37,902 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:01:37,903 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:01:37,905 - stpipe.step - INFO - Step srctype done
2026-04-15 21:01:38,106 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:01:38,106 - stpipe.step - INFO - Step skipped.
2026-04-15 21:01:38,308 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:01:38,312 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:01:38,466 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:02:19,030 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:03:01,189 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.028399678046269673 DN/s
2026-04-15 21:03:01,189 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:03:01,193 - stpipe.step - INFO - Step straylight done
2026-04-15 21:03:01,389 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:03:01,441 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:03:01,449 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits
2026-04-15 21:03:01,450 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:03:01,450 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:03:01,451 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:03:01,514 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:03:01,707 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:03:01,711 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits
2026-04-15 21:03:01,749 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:03:01,750 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:03:01,751 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:03:01,788 - stpipe.step - INFO - Step fringe done
2026-04-15 21:03:01,983 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:03:01,984 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:02,186 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:03:02,187 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:02,383 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:03:02,390 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits
2026-04-15 21:03:02,390 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:03:02,391 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:03:02,391 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 21:03:02,392 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:03:02,393 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 21:03:02,476 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:03:02,496 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:03:02,497 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:03:02,531 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:03:03,016 - stpipe.step - INFO - Step photom done
2026-04-15 21:03:03,215 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523003001_03106_00004_mirifushort_rate.fits>,).
2026-04-15 21:03:03,216 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:03,979 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00004_mirifushort_cal.fits>,).
2026-04-15 21:03:03,981 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:04,216 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00004_mirifushort_cal.fits>,).
2026-04-15 21:03:04,217 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:04,456 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00004_mirifushort_cal.fits>,).
2026-04-15 21:03:04,458 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:05,242 - stpipe.step - INFO - Step extract_1d running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00004_mirifushort_cal.fits>,).
2026-04-15 21:03:05,243 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:05,245 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort
2026-04-15 21:03:05,247 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:03:05,247 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:03:05,646 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage2/jw01523003001_03106_00004_mirifushort_cal.fits
2026-04-15 21:03:05,647 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:03:05,647 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
Reduce the backgrounds individually. This will be needed for the Master Background step in calwebb_spec3, but is unnecessary if doing calwebb_spec2 pixel based background instead.
if dospec2bg:
    for file in bgfiles:
        asnfile = os.path.join(bg_dir, 'l2asn.json')
        writel2asn(file, '', selfcalfiles, asnfile, 'Level2')
        Spec2Pipeline.call(asnfile, steps=spec2dict, save_results=True, output_dir=spec2_bgdir)
else:
    print('Skipping Spec2 processing for BG data')
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:03:05,979 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:03:05,987 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:03:05,995 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:03:06,003 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:03:06,012 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:03:06,021 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:03:06,028 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:03:06,052 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:03:06,053 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:03:06,054 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:03:06,055 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:03:06,056 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:03:06,057 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:03:06,058 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:03:06,059 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:03:06,064 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:03:06,064 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:03:06,065 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:03:06,066 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:03:06,067 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:03:06,068 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:03:06,069 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:03:06,070 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:03:06,071 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:03:06,072 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:03:06,073 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:03:06,074 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:03:06,075 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:03:06,076 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:03:06,077 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:03:06,078 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:03:06,079 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:03:06,080 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:03:06,081 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:03:06,081 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:03:06,082 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:03:06,083 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:03:06,085 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:03:06,086 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:03:06,418 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:03:06,451 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:03:06,508 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:03:06,512 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf  810.3 K bytes  (1 / 3 files) (0 / 1.6 M bytes)
2026-04-15 21:03:06,718 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits  555.8 K bytes  (2 / 3 files) (810.3 K / 1.6 M bytes)
2026-04-15 21:03:06,828 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf  250.9 K bytes  (3 / 3 files) (1.4 M / 1.6 M bytes)
2026-04-15 21:03:06,917 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:03:06,917 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:03:06,918 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:03:06,918 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:03:06,919 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:03:06,920 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:03:06,920 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:03:06,921 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:03:06,922 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf'.
2026-04-15 21:03:06,922 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:03:06,923 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:03:06,923 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:03:06,924 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits'.
2026-04-15 21:03:06,924 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:03:06,926 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:03:06,926 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits'.
2026-04-15 21:03:06,927 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:03:06,927 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:03:06,928 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:03:06,928 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:03:06,929 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:03:06,929 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:03:06,930 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:03:06,930 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:03:06,931 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:03:06,932 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits'.
2026-04-15 21:03:06,932 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:03:06,933 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf'.
2026-04-15 21:03:06,934 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:03:06,934 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:03:06,935 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:03:06,935 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf'.
2026-04-15 21:03:06,936 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:03:06,936 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:03:06,937 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:03:06,944 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong
2026-04-15 21:03:06,945 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits ...
2026-04-15 21:03:07,143 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:03:07,544 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.000008757701947
2026-04-15 21:03:08,476 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:03:09,083 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.026388733 -70.078928397 81.034183346 -70.078928397 81.034183346 -70.076269606 81.026388733 -70.076269606
2026-04-15 21:03:09,084 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:03:09,090 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:03:09,287 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], []).
2026-04-15 21:03:09,290 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:09,476 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:03:09,478 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:09,662 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:03:09,663 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:09,848 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>, []).
2026-04-15 21:03:09,849 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:10,031 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>, []).
2026-04-15 21:03:10,032 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:10,217 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:03:10,218 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:03:10,219 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:03:10,219 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:03:10,222 - stpipe.step - INFO - Step srctype done
2026-04-15 21:03:10,406 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:03:10,407 - stpipe.step - INFO - Step skipped.
2026-04-15 21:03:10,591 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:03:10,595 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:03:10,743 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:03:53,515 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:04:35,579 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03666830621659756 DN/s
2026-04-15 21:04:35,580 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:04:35,583 - stpipe.step - INFO - Step straylight done
2026-04-15 21:04:35,775 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:04:35,826 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:04:35,834 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits
2026-04-15 21:04:35,834 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:04:35,835 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:04:35,836 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:04:35,898 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:04:36,087 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:04:36,090 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits
2026-04-15 21:04:36,129 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:04:36,130 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:04:36,131 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:04:36,168 - stpipe.step - INFO - Step fringe done
2026-04-15 21:04:36,354 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:04:36,355 - stpipe.step - INFO - Step skipped.
2026-04-15 21:04:36,542 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:04:36,543 - stpipe.step - INFO - Step skipped.
2026-04-15 21:04:36,731 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:04:36,739 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits
2026-04-15 21:04:36,739 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:04:36,740 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:04:36,741 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 21:04:36,741 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:04:36,742 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 21:04:36,826 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:04:36,846 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:04:36,846 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:04:36,880 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:04:37,326 - stpipe.step - INFO - Step photom done
2026-04-15 21:04:37,516 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifulong_rate.fits>,).
2026-04-15 21:04:37,518 - stpipe.step - INFO - Step skipped.
2026-04-15 21:04:38,112 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifulong_cal.fits>,).
2026-04-15 21:04:38,113 - stpipe.step - INFO - Step skipped.
2026-04-15 21:04:38,327 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifulong_cal.fits>,).
2026-04-15 21:04:38,328 - stpipe.step - INFO - Step skipped.
2026-04-15 21:04:38,539 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifulong_cal.fits>,).
2026-04-15 21:04:38,540 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:04:38,541 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:04:38,542 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:04:38,542 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:04:38,560 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['3', '4']
2026-04-15 21:04:38,560 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['long', 'long']
2026-04-15 21:04:38,561 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:04:38,865 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:04:38,866 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:04:38,869 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:04:38,872 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:04:38,872 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:04:38,873 - jwst.cube_build.ifu_cube - INFO - Axis 1    51  26.00  81.03028604   0.20000000  -5.10000008   5.10000008
2026-04-15 21:04:38,874 - jwst.cube_build.ifu_cube - INFO - Axis 2    51  26.00 -70.07759900   0.20000000  -5.10000008   5.10000008
2026-04-15 21:04:38,875 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:04:38,875 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:04:38,876 - jwst.cube_build.ifu_cube - INFO - Axis 3  2486   1.00  15.40774059  15.40774059  28.69605064
2026-04-15 21:04:38,877 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 3, long
2026-04-15 21:04:38,878 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 4, long
2026-04-15 21:04:38,878 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['long']
2026-04-15 21:04:38,879 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifulong_s3d.fits
2026-04-15 21:04:39,840 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 638 with wavelength below 15.404848098754883
2026-04-15 21:04:49,144 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:04:49,145 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:04:49,155 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 2
2026-04-15 21:04:49,427 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.026209757 -70.078987844 81.026209757 -70.076210066 81.034362322 -70.076210066 81.034362322 -70.078987844
2026-04-15 21:04:49,431 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:04:49,540 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifulong_s3d.fits
2026-04-15 21:04:49,778 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c75feaad0>,).
2026-04-15 21:04:49,793 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:04:49,797 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:04:49,800 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:04:49,801 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:04:50,129 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:04:50,138 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:04:50,309 - py.warnings - WARNING - /home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/photutils/detection/daofinder.py:226: NoDetectionsWarning: No sources were found.
  warnings.warn('No sources were found.', NoDetectionsWarning)
2026-04-15 21:04:50,310 - jwst.extract_1d.ifu - WARNING - Auto source detection failed.
2026-04-15 21:04:50,311 - jwst.extract_1d.ifu - INFO - Using target coordinates.
2026-04-15 21:04:50,314 - jwst.extract_1d.ifu - INFO - Using x_center = 19, y_center = 29, based on TARG_RA and TARG_DEC
2026-04-15 21:05:02,585 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:05:03,739 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:05:05,280 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifulong_x1d.fits
2026-04-15 21:05:05,281 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:05:05,281 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong
2026-04-15 21:05:05,284 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:05:05,284 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:05:05,610 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifulong_cal.fits
2026-04-15 21:05:05,610 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:05:05,611 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:05:05,954 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:05:05,963 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:05:05,971 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:05:05,979 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:05:05,988 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:05:05,996 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:05:06,004 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:05:06,027 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:05:06,029 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:05:06,030 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:05:06,030 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:05:06,031 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:05:06,032 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:05:06,033 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:05:06,034 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:05:06,039 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:05:06,040 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:05:06,041 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:05:06,042 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:05:06,043 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:05:06,044 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:05:06,045 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:05:06,046 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:05:06,048 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:05:06,049 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:05:06,049 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:05:06,050 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:05:06,052 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:05:06,052 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:05:06,054 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:05:06,055 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:05:06,056 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:05:06,057 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:05:06,058 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:05:06,059 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:05:06,060 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:05:06,061 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:05:06,062 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:05:06,064 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:05:06,276 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:05:06,310 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:05:06,369 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:05:06,373 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:05:06,374 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:05:06,374 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:05:06,374 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:05:06,375 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:05:06,375 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:05:06,376 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:05:06,376 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:05:06,377 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf'.
2026-04-15 21:05:06,378 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:05:06,379 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:05:06,379 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:05:06,380 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits'.
2026-04-15 21:05:06,381 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:05:06,381 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:05:06,382 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits'.
2026-04-15 21:05:06,383 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:05:06,383 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:05:06,384 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:05:06,384 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:05:06,385 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:05:06,386 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:05:06,386 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:05:06,387 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:05:06,388 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:05:06,388 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits'.
2026-04-15 21:05:06,389 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:05:06,390 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf'.
2026-04-15 21:05:06,390 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:05:06,391 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:05:06,391 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:05:06,392 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf'.
2026-04-15 21:05:06,393 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:05:06,393 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:05:06,394 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:05:06,401 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort
2026-04-15 21:05:06,402 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits ...
2026-04-15 21:05:06,598 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:05:07,117 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.000008757701947
2026-04-15 21:05:08,284 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:05:08,965 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.028254684 -70.078388227 81.032754141 -70.078388227 81.032754141 -70.076785915 81.028254684 -70.076785915
2026-04-15 21:05:08,967 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:05:08,972 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:05:09,230 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], []).
2026-04-15 21:05:09,234 - stpipe.step - INFO - Step skipped.
2026-04-15 21:05:09,430 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:05:09,431 - stpipe.step - INFO - Step skipped.
2026-04-15 21:05:09,627 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:05:09,629 - stpipe.step - INFO - Step skipped.
2026-04-15 21:05:09,828 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>, []).
2026-04-15 21:05:09,829 - stpipe.step - INFO - Step skipped.
2026-04-15 21:05:10,020 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>, []).
2026-04-15 21:05:10,021 - stpipe.step - INFO - Step skipped.
2026-04-15 21:05:10,217 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:05:10,219 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:05:10,219 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:05:10,220 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:05:10,223 - stpipe.step - INFO - Step srctype done
2026-04-15 21:05:10,417 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:05:10,418 - stpipe.step - INFO - Step skipped.
2026-04-15 21:05:10,612 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:05:10,615 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:05:10,771 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:05:48,050 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:06:29,830 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.04418910225028949 DN/s
2026-04-15 21:06:29,830 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:06:29,833 - stpipe.step - INFO - Step straylight done
2026-04-15 21:06:30,010 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:06:30,061 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:06:30,068 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits
2026-04-15 21:06:30,069 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:06:30,070 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:06:30,071 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:06:30,132 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:06:30,317 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:06:30,321 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits
2026-04-15 21:06:30,360 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:06:30,361 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:06:30,361 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:06:30,398 - stpipe.step - INFO - Step fringe done
2026-04-15 21:06:30,577 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:06:30,578 - stpipe.step - INFO - Step skipped.
2026-04-15 21:06:30,750 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:06:30,751 - stpipe.step - INFO - Step skipped.
2026-04-15 21:06:30,928 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:06:30,934 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits
2026-04-15 21:06:30,935 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:06:30,936 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:06:30,936 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 21:06:30,937 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:06:30,938 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 21:06:31,021 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:06:31,041 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:06:31,042 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:06:31,075 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:06:31,536 - stpipe.step - INFO - Step photom done
2026-04-15 21:06:31,715 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00001_mirifushort_rate.fits>,).
2026-04-15 21:06:31,716 - stpipe.step - INFO - Step skipped.
2026-04-15 21:06:32,457 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifushort_cal.fits>,).
2026-04-15 21:06:32,458 - stpipe.step - INFO - Step skipped.
2026-04-15 21:06:32,685 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifushort_cal.fits>,).
2026-04-15 21:06:32,685 - stpipe.step - INFO - Step skipped.
2026-04-15 21:06:32,906 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifushort_cal.fits>,).
2026-04-15 21:06:32,907 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:06:32,908 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:06:32,908 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:06:32,910 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:06:32,919 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['1', '2']
2026-04-15 21:06:32,920 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['long', 'long']
2026-04-15 21:06:32,921 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:06:33,225 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:06:33,226 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:06:33,229 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:06:33,232 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:06:33,233 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:06:33,234 - jwst.cube_build.ifu_cube - INFO - Axis 1    47  24.00  81.03050441   0.13000000  -3.05499989   3.05499989
2026-04-15 21:06:33,234 - jwst.cube_build.ifu_cube - INFO - Axis 2    49  25.00 -70.07758707   0.13000000  -3.18499988   3.18499988
2026-04-15 21:06:33,235 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:06:33,236 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:06:33,237 - jwst.cube_build.ifu_cube - INFO - Axis 3  4068   1.00   6.52953386   6.52953386  11.70048332
2026-04-15 21:06:33,237 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 1, long
2026-04-15 21:06:33,238 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 2, long
2026-04-15 21:06:33,239 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['long']
2026-04-15 21:06:33,239 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifushort_s3d.fits
2026-04-15 21:06:34,223 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3145 with wavelength below 6.5286736488342285
2026-04-15 21:06:40,037 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2150 with wavelength above 11.702359199523926
2026-04-15 21:06:45,861 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:06:45,862 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:06:45,878 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 1
2026-04-15 21:06:46,220 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.028066858 -70.078453721 81.028066858 -70.076720388 81.032941967 -70.076720388 81.032941967 -70.078453721
2026-04-15 21:06:46,223 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:06:46,346 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifushort_s3d.fits
2026-04-15 21:06:46,592 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c7725eea0>,).
2026-04-15 21:06:46,597 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:06:46,601 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:06:46,604 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:06:46,605 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:06:46,921 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:06:46,931 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:06:47,244 - py.warnings - WARNING - /home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/photutils/detection/daofinder.py:226: NoDetectionsWarning: No sources were found.
  warnings.warn('No sources were found.', NoDetectionsWarning)
2026-04-15 21:06:47,245 - jwst.extract_1d.ifu - WARNING - Auto source detection failed.
2026-04-15 21:06:47,246 - jwst.extract_1d.ifu - INFO - Using target coordinates.
2026-04-15 21:06:47,249 - jwst.extract_1d.ifu - INFO - Using x_center = 15, y_center = 29, based on TARG_RA and TARG_DEC
2026-04-15 21:07:07,557 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:07:08,695 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:07:11,083 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifushort_x1d.fits
2026-04-15 21:07:11,084 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:07:11,085 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort
2026-04-15 21:07:11,087 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:07:11,087 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:07:11,483 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00001_mirifushort_cal.fits
2026-04-15 21:07:11,484 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:07:11,484 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:07:11,846 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:07:11,855 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:07:11,863 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:07:11,871 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:07:11,880 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:07:11,888 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:07:11,896 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:07:11,919 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:07:11,921 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:07:11,922 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:07:11,922 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:07:11,924 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:07:11,925 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:07:11,926 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:07:11,927 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:07:11,931 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:07:11,933 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:07:11,933 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:07:11,934 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:07:11,935 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:07:11,936 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:07:11,937 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:07:11,939 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:07:11,940 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:07:11,940 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:07:11,942 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:07:11,942 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:07:11,944 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:07:11,944 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:07:11,945 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:07:11,946 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:07:11,947 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:07:11,948 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:07:11,950 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:07:11,951 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:07:11,952 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:07:11,953 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:07:11,955 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:07:11,956 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:07:12,157 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:07:12,192 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:07:12,248 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:07:12,251 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:07:12,252 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:07:12,253 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:07:12,253 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:07:12,254 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:07:12,254 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:07:12,255 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:07:12,256 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:07:12,256 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf'.
2026-04-15 21:07:12,257 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:07:12,257 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:07:12,258 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:07:12,259 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits'.
2026-04-15 21:07:12,259 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:07:12,260 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:07:12,260 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits'.
2026-04-15 21:07:12,261 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:07:12,261 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:07:12,262 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:07:12,262 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:07:12,263 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:07:12,263 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:07:12,264 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:07:12,264 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:07:12,265 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:07:12,266 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits'.
2026-04-15 21:07:12,267 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:07:12,267 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf'.
2026-04-15 21:07:12,268 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:07:12,268 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:07:12,269 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:07:12,270 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf'.
2026-04-15 21:07:12,270 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:07:12,271 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:07:12,272 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:07:12,278 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong
2026-04-15 21:07:12,279 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits ...
2026-04-15 21:07:12,460 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:07:12,855 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.000008757068164
2026-04-15 21:07:13,766 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0145.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0144.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0143.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:07:14,364 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.027562329 -70.078457705 81.035356794 -70.078457705 81.035356794 -70.075798903 81.027562329 -70.075798903
2026-04-15 21:07:14,365 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:07:14,370 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:07:14,556 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], []).
2026-04-15 21:07:14,559 - stpipe.step - INFO - Step skipped.
2026-04-15 21:07:14,738 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:07:14,739 - stpipe.step - INFO - Step skipped.
2026-04-15 21:07:14,907 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:07:14,908 - stpipe.step - INFO - Step skipped.
2026-04-15 21:07:15,073 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>, []).
2026-04-15 21:07:15,074 - stpipe.step - INFO - Step skipped.
2026-04-15 21:07:15,241 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>, []).
2026-04-15 21:07:15,242 - stpipe.step - INFO - Step skipped.
2026-04-15 21:07:15,411 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:07:15,412 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:07:15,413 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:07:15,413 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:07:15,416 - stpipe.step - INFO - Step srctype done
2026-04-15 21:07:15,580 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:07:15,580 - stpipe.step - INFO - Step skipped.
2026-04-15 21:07:15,748 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:07:15,752 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:07:15,900 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:07:58,385 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:08:40,293 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.032497795298695564 DN/s
2026-04-15 21:08:40,294 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:08:40,297 - stpipe.step - INFO - Step straylight done
2026-04-15 21:08:40,483 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:08:40,535 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:08:40,542 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0824.fits
2026-04-15 21:08:40,543 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:08:40,544 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:08:40,545 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:08:40,606 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:08:40,786 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:08:40,790 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0074.fits
2026-04-15 21:08:40,828 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:08:40,829 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:08:40,829 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:08:40,865 - stpipe.step - INFO - Step fringe done
2026-04-15 21:08:41,039 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:08:41,040 - stpipe.step - INFO - Step skipped.
2026-04-15 21:08:41,220 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:08:41,221 - stpipe.step - INFO - Step skipped.
2026-04-15 21:08:41,396 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:08:41,403 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits
2026-04-15 21:08:41,404 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:08:41,404 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:08:41,405 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 21:08:41,406 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:08:41,406 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 21:08:41,490 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:08:41,509 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:08:41,511 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:08:41,544 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:08:41,962 - stpipe.step - INFO - Step photom done
2026-04-15 21:08:42,129 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifulong_rate.fits>,).
2026-04-15 21:08:42,131 - stpipe.step - INFO - Step skipped.
2026-04-15 21:08:42,728 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifulong_cal.fits>,).
2026-04-15 21:08:42,729 - stpipe.step - INFO - Step skipped.
2026-04-15 21:08:42,929 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifulong_cal.fits>,).
2026-04-15 21:08:42,930 - stpipe.step - INFO - Step skipped.
2026-04-15 21:08:43,126 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifulong_cal.fits>,).
2026-04-15 21:08:43,127 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:08:43,128 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:08:43,128 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:08:43,129 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:08:43,139 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['3', '4']
2026-04-15 21:08:43,139 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['long', 'long']
2026-04-15 21:08:43,140 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:08:43,449 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:08:43,450 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:08:43,454 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:08:43,456 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:08:43,457 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:08:43,458 - jwst.cube_build.ifu_cube - INFO - Axis 1    51  26.00  81.03145956   0.20000000  -5.10000008   5.10000008
2026-04-15 21:08:43,459 - jwst.cube_build.ifu_cube - INFO - Axis 2    51  26.00 -70.07712830   0.20000000  -5.10000008   5.10000008
2026-04-15 21:08:43,460 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:08:43,461 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:08:43,462 - jwst.cube_build.ifu_cube - INFO - Axis 3  2486   1.00  15.40774059  15.40774059  28.69605064
2026-04-15 21:08:43,462 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 3, long
2026-04-15 21:08:43,463 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 4, long
2026-04-15 21:08:43,464 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['long']
2026-04-15 21:08:43,464 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifulong_s3d.fits
2026-04-15 21:08:44,370 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 638 with wavelength below 15.404848098754883
2026-04-15 21:08:53,619 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:08:53,620 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:08:53,630 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 2
2026-04-15 21:08:53,889 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.027383371 -70.078517146 81.027383371 -70.075739369 81.035535752 -70.075739369 81.035535752 -70.078517146
2026-04-15 21:08:53,893 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:08:54,005 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifulong_s3d.fits
2026-04-15 21:08:54,228 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c76e446b0>,).
2026-04-15 21:08:54,232 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:08:54,235 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:08:54,239 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:08:54,239 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:08:54,553 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:08:54,558 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:08:54,729 - py.warnings - WARNING - /home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/photutils/detection/daofinder.py:226: NoDetectionsWarning: No sources were found.
  warnings.warn('No sources were found.', NoDetectionsWarning)
2026-04-15 21:08:54,730 - jwst.extract_1d.ifu - WARNING - Auto source detection failed.
2026-04-15 21:08:54,730 - jwst.extract_1d.ifu - INFO - Using target coordinates.
2026-04-15 21:08:54,733 - jwst.extract_1d.ifu - INFO - Using x_center = 26, y_center = 20, based on TARG_RA and TARG_DEC
2026-04-15 21:09:06,928 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:09:08,078 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:09:09,660 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifulong_x1d.fits
2026-04-15 21:09:09,660 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:09:09,661 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong
2026-04-15 21:09:09,663 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:09:09,664 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:09:09,993 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifulong_cal.fits
2026-04-15 21:09:09,994 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:09:09,995 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:09:10,337 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:09:10,345 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:09:10,353 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:09:10,361 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:09:10,369 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:09:10,378 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:09:10,385 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:09:10,408 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:09:10,409 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:09:10,410 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:09:10,411 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:09:10,412 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:09:10,413 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:09:10,413 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:09:10,415 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:09:10,419 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:09:10,421 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:09:10,422 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:09:10,422 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:09:10,423 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:09:10,425 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:09:10,426 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:09:10,428 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:09:10,429 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:09:10,429 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:09:10,431 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:09:10,431 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:09:10,432 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:09:10,433 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:09:10,435 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:09:10,436 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:09:10,437 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:09:10,438 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:09:10,439 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:09:10,440 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:09:10,441 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:09:10,442 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:09:10,443 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:09:10,445 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:09:10,650 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:09:10,685 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:09:10,741 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:09:10,745 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:09:10,745 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:09:10,746 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:09:10,746 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:09:10,747 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:09:10,747 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:09:10,748 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:09:10,748 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:09:10,749 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf'.
2026-04-15 21:09:10,750 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:09:10,751 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:09:10,752 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:09:10,752 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits'.
2026-04-15 21:09:10,753 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:09:10,753 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:09:10,754 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits'.
2026-04-15 21:09:10,755 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:09:10,755 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:09:10,756 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:09:10,756 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:09:10,757 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:09:10,757 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:09:10,758 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:09:10,759 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:09:10,760 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:09:10,760 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits'.
2026-04-15 21:09:10,761 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:09:10,761 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf'.
2026-04-15 21:09:10,762 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:09:10,762 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:09:10,763 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:09:10,764 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf'.
2026-04-15 21:09:10,764 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:09:10,765 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:09:10,765 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:09:10,772 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort
2026-04-15 21:09:10,773 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits ...
2026-04-15 21:09:10,966 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:09:11,483 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.000008757701947
2026-04-15 21:09:12,605 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0146.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0143.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0146.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:09:13,281 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.029428240 -70.077917531 81.033927617 -70.077917531 81.033927617 -70.076315214 81.029428240 -70.076315214
2026-04-15 21:09:13,283 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:09:13,288 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:09:13,531 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], []).
2026-04-15 21:09:13,534 - stpipe.step - INFO - Step skipped.
2026-04-15 21:09:13,722 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:09:13,723 - stpipe.step - INFO - Step skipped.
2026-04-15 21:09:13,907 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:09:13,908 - stpipe.step - INFO - Step skipped.
2026-04-15 21:09:14,085 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>, []).
2026-04-15 21:09:14,085 - stpipe.step - INFO - Step skipped.
2026-04-15 21:09:14,273 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>, []).
2026-04-15 21:09:14,274 - stpipe.step - INFO - Step skipped.
2026-04-15 21:09:14,474 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:09:14,475 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:09:14,475 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:09:14,476 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:09:14,478 - stpipe.step - INFO - Step srctype done
2026-04-15 21:09:14,670 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:09:14,671 - stpipe.step - INFO - Step skipped.
2026-04-15 21:09:14,861 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:09:14,864 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:09:15,023 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:09:51,990 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:10:33,722 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.0255751573564694 DN/s
2026-04-15 21:10:33,723 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:10:33,726 - stpipe.step - INFO - Step straylight done
2026-04-15 21:10:33,914 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:10:33,967 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:10:33,973 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0819.fits
2026-04-15 21:10:33,974 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:10:33,975 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:10:33,975 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:10:34,036 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:10:34,224 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:10:34,228 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0071.fits
2026-04-15 21:10:34,267 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:10:34,268 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:10:34,269 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:10:34,305 - stpipe.step - INFO - Step fringe done
2026-04-15 21:10:34,491 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:10:34,492 - stpipe.step - INFO - Step skipped.
2026-04-15 21:10:34,669 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:10:34,670 - stpipe.step - INFO - Step skipped.
2026-04-15 21:10:34,861 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:10:34,867 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0222.fits
2026-04-15 21:10:34,868 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:10:34,869 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:10:34,869 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 21:10:34,870 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:10:34,870 - jwst.photom.photom - INFO -  band: LONG
2026-04-15 21:10:34,954 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:10:34,973 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:10:34,974 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:10:35,007 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:10:35,458 - stpipe.step - INFO - Step photom done
2026-04-15 21:10:35,646 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02101_00002_mirifushort_rate.fits>,).
2026-04-15 21:10:35,647 - stpipe.step - INFO - Step skipped.
2026-04-15 21:10:36,385 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifushort_cal.fits>,).
2026-04-15 21:10:36,386 - stpipe.step - INFO - Step skipped.
2026-04-15 21:10:36,613 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifushort_cal.fits>,).
2026-04-15 21:10:36,614 - stpipe.step - INFO - Step skipped.
2026-04-15 21:10:36,848 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifushort_cal.fits>,).
2026-04-15 21:10:36,849 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:10:36,849 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:10:36,850 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:10:36,851 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:10:36,861 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['1', '2']
2026-04-15 21:10:36,861 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['long', 'long']
2026-04-15 21:10:36,862 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:10:37,166 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:10:37,166 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:10:37,170 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:10:37,173 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:10:37,174 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:10:37,174 - jwst.cube_build.ifu_cube - INFO - Axis 1    47  24.00  81.03167793   0.13000000  -3.05499989   3.05499989
2026-04-15 21:10:37,175 - jwst.cube_build.ifu_cube - INFO - Axis 2    49  25.00 -70.07711637   0.13000000  -3.18499988   3.18499988
2026-04-15 21:10:37,176 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:10:37,176 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:10:37,177 - jwst.cube_build.ifu_cube - INFO - Axis 3  4068   1.00   6.52953386   6.52953386  11.70048332
2026-04-15 21:10:37,178 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 1, long
2026-04-15 21:10:37,178 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 2, long
2026-04-15 21:10:37,179 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['long']
2026-04-15 21:10:37,179 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifushort_s3d.fits
2026-04-15 21:10:38,157 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3145 with wavelength below 6.5286736488342285
2026-04-15 21:10:43,981 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2150 with wavelength above 11.702359199523926
2026-04-15 21:10:49,818 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:10:49,819 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:10:49,834 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 1
2026-04-15 21:10:50,179 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.029240429 -70.077983023 81.029240429 -70.076249689 81.034115428 -70.076249689 81.034115428 -70.077983023
2026-04-15 21:10:50,184 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:10:50,308 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifushort_s3d.fits
2026-04-15 21:10:50,558 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c72b95310>,).
2026-04-15 21:10:50,562 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:10:50,566 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:10:50,569 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:10:50,569 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:10:50,884 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:10:50,896 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:10:51,205 - py.warnings - WARNING - /home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/photutils/detection/daofinder.py:226: NoDetectionsWarning: No sources were found.
  warnings.warn('No sources were found.', NoDetectionsWarning)
2026-04-15 21:10:51,206 - jwst.extract_1d.ifu - WARNING - Auto source detection failed.
2026-04-15 21:10:51,206 - jwst.extract_1d.ifu - INFO - Using target coordinates.
2026-04-15 21:10:51,209 - jwst.extract_1d.ifu - INFO - Using x_center = 26, y_center = 16, based on TARG_RA and TARG_DEC
2026-04-15 21:11:11,450 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:11:12,590 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:11:14,979 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifushort_x1d.fits
2026-04-15 21:11:14,980 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:11:14,981 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort
2026-04-15 21:11:14,983 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:11:14,984 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:11:15,379 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02101_00002_mirifushort_cal.fits
2026-04-15 21:11:15,380 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:11:15,381 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:11:15,734 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:11:15,743 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:11:15,751 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:11:15,759 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:11:15,767 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:11:15,776 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:11:15,784 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:11:15,810 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:11:15,812 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:11:15,813 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:11:15,814 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:11:15,815 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:11:15,816 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:11:15,817 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:11:15,818 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:11:15,823 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:11:15,824 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:11:15,825 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:11:15,826 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:11:15,827 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:11:15,828 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:11:15,829 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:11:15,831 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:11:15,832 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:11:15,832 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:11:15,834 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:11:15,835 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:11:15,836 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:11:15,837 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:11:15,838 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:11:15,839 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:11:15,840 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:11:15,841 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:11:15,842 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:11:15,843 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:11:15,844 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:11:15,845 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:11:15,847 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:11:15,848 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:11:16,050 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:11:16,083 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:11:16,139 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:11:16,143 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:11:16,144 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:11:16,144 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:11:16,145 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:11:16,145 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:11:16,146 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:11:16,147 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:11:16,147 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:11:16,148 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf'.
2026-04-15 21:11:16,148 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:11:16,149 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:11:16,150 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:11:16,150 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits'.
2026-04-15 21:11:16,151 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:11:16,151 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:11:16,152 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits'.
2026-04-15 21:11:16,153 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:11:16,153 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:11:16,154 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:11:16,155 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:11:16,155 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:11:16,156 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:11:16,156 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:11:16,157 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:11:16,157 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:11:16,158 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits'.
2026-04-15 21:11:16,159 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:11:16,159 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf'.
2026-04-15 21:11:16,160 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:11:16,160 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:11:16,161 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:11:16,161 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf'.
2026-04-15 21:11:16,162 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:11:16,163 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:11:16,164 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:11:16,170 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong
2026-04-15 21:11:16,171 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits ...
2026-04-15 21:11:16,348 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:11:16,743 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.000008757701947
2026-04-15 21:11:17,649 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:11:18,240 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.026536733 -70.078933291 81.034302997 -70.078933291 81.034302997 -70.076286558 81.026536733 -70.076286558
2026-04-15 21:11:18,242 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:11:18,247 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:11:18,439 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], []).
2026-04-15 21:11:18,442 - stpipe.step - INFO - Step skipped.
2026-04-15 21:11:18,611 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:11:18,613 - stpipe.step - INFO - Step skipped.
2026-04-15 21:11:18,780 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:11:18,781 - stpipe.step - INFO - Step skipped.
2026-04-15 21:11:18,945 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>, []).
2026-04-15 21:11:18,946 - stpipe.step - INFO - Step skipped.
2026-04-15 21:11:19,117 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>, []).
2026-04-15 21:11:19,118 - stpipe.step - INFO - Step skipped.
2026-04-15 21:11:19,289 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:11:19,290 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:11:19,291 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:11:19,292 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:11:19,294 - stpipe.step - INFO - Step srctype done
2026-04-15 21:11:19,458 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:11:19,459 - stpipe.step - INFO - Step skipped.
2026-04-15 21:11:19,624 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:11:19,628 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:11:19,775 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:12:02,234 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:12:44,070 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.026807473972439766 DN/s
2026-04-15 21:12:44,071 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:12:44,074 - stpipe.step - INFO - Step straylight done
2026-04-15 21:12:44,253 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:12:44,305 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:12:44,312 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits
2026-04-15 21:12:44,312 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:12:44,313 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:12:44,314 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:12:44,375 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:12:44,549 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:12:44,553 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits
2026-04-15 21:12:44,591 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:12:44,592 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:12:44,593 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:12:44,629 - stpipe.step - INFO - Step fringe done
2026-04-15 21:12:44,807 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:12:44,808 - stpipe.step - INFO - Step skipped.
2026-04-15 21:12:44,990 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:12:44,991 - stpipe.step - INFO - Step skipped.
2026-04-15 21:12:45,173 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:12:45,179 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits
2026-04-15 21:12:45,180 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:12:45,181 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:12:45,181 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 21:12:45,182 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:12:45,183 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 21:12:45,266 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:12:45,286 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:12:45,286 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:12:45,319 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:12:45,737 - stpipe.step - INFO - Step photom done
2026-04-15 21:12:45,917 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifulong_rate.fits>,).
2026-04-15 21:12:45,918 - stpipe.step - INFO - Step skipped.
2026-04-15 21:12:46,508 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifulong_cal.fits>,).
2026-04-15 21:12:46,509 - stpipe.step - INFO - Step skipped.
2026-04-15 21:12:46,714 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifulong_cal.fits>,).
2026-04-15 21:12:46,714 - stpipe.step - INFO - Step skipped.
2026-04-15 21:12:46,921 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifulong_cal.fits>,).
2026-04-15 21:12:46,921 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:12:46,922 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:12:46,923 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:12:46,923 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:12:46,933 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['3', '4']
2026-04-15 21:12:46,934 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['medium', 'medium']
2026-04-15 21:12:46,935 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:12:47,235 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:12:47,236 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:12:47,239 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:12:47,241 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:12:47,242 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:12:47,242 - jwst.cube_build.ifu_cube - INFO - Axis 1    51  26.00  81.03041986   0.20000000  -5.10000008   5.10000008
2026-04-15 21:12:47,243 - jwst.cube_build.ifu_cube - INFO - Axis 2    51  26.00 -70.07760992   0.20000000  -5.10000008   5.10000008
2026-04-15 21:12:47,244 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:12:47,245 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:12:47,245 - jwst.cube_build.ifu_cube - INFO - Axis 3  2830   1.00  13.33861923  13.33861923  24.48033714
2026-04-15 21:12:47,246 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 3, medium
2026-04-15 21:12:47,247 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 4, medium
2026-04-15 21:12:47,248 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['medium']
2026-04-15 21:12:47,249 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifulong_s3d.fits
2026-04-15 21:12:48,162 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 967 with wavelength below 13.33633041381836
2026-04-15 21:12:58,442 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:12:58,443 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:12:58,455 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:12:58,745 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.026343580 -70.078998767 81.026343580 -70.076220989 81.034496150 -70.076220989 81.034496150 -70.078998767
2026-04-15 21:12:58,749 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:12:58,860 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifulong_s3d.fits
2026-04-15 21:12:59,091 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c76a65b70>,).
2026-04-15 21:12:59,095 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:12:59,098 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:12:59,101 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:12:59,102 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:12:59,417 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:12:59,428 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:12:59,667 - py.warnings - WARNING - /home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/photutils/detection/daofinder.py:226: NoDetectionsWarning: No sources were found.
  warnings.warn('No sources were found.', NoDetectionsWarning)
2026-04-15 21:12:59,668 - jwst.extract_1d.ifu - WARNING - Auto source detection failed.
2026-04-15 21:12:59,669 - jwst.extract_1d.ifu - INFO - Using target coordinates.
2026-04-15 21:12:59,672 - jwst.extract_1d.ifu - INFO - Using x_center = 19, y_center = 29, based on TARG_RA and TARG_DEC
2026-04-15 21:13:13,421 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:13:14,550 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:13:16,297 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifulong_x1d.fits
2026-04-15 21:13:16,298 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:13:16,299 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong
2026-04-15 21:13:16,301 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:13:16,302 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:13:16,635 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifulong_cal.fits
2026-04-15 21:13:16,636 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:13:16,636 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:13:16,981 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:13:16,989 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:13:16,997 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:13:17,005 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:13:17,013 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:13:17,022 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:13:17,030 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:13:17,052 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:13:17,053 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:13:17,054 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:13:17,055 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:13:17,056 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:13:17,057 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:13:17,058 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:13:17,059 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:13:17,063 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:13:17,065 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:13:17,066 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:13:17,067 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:13:17,067 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:13:17,068 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:13:17,070 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:13:17,071 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:13:17,072 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:13:17,073 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:13:17,074 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:13:17,075 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:13:17,076 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:13:17,077 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:13:17,078 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:13:17,079 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:13:17,080 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:13:17,081 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:13:17,082 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:13:17,083 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:13:17,083 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:13:17,084 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:13:17,086 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:13:17,088 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:13:17,285 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:13:17,320 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:13:17,376 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:13:17,379 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:13:17,380 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:13:17,381 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:13:17,381 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:13:17,382 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:13:17,382 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:13:17,383 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:13:17,383 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:13:17,384 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf'.
2026-04-15 21:13:17,384 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:13:17,385 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:13:17,385 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:13:17,386 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits'.
2026-04-15 21:13:17,387 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:13:17,388 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:13:17,389 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits'.
2026-04-15 21:13:17,389 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:13:17,390 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:13:17,391 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:13:17,391 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:13:17,392 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:13:17,392 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:13:17,393 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:13:17,393 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:13:17,394 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:13:17,394 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits'.
2026-04-15 21:13:17,395 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:13:17,395 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf'.
2026-04-15 21:13:17,396 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:13:17,397 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:13:17,397 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:13:17,397 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf'.
2026-04-15 21:13:17,398 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:13:17,399 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:13:17,400 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:13:17,407 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort
2026-04-15 21:13:17,407 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits ...
2026-04-15 21:13:17,589 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:13:18,101 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.000008757068164
2026-04-15 21:13:19,236 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:13:19,914 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.028398651 -70.078343125 81.032834725 -70.078343125 81.032834725 -70.076738250 81.028398651 -70.076738250
2026-04-15 21:13:19,916 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:13:19,921 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:13:20,173 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], []).
2026-04-15 21:13:20,176 - stpipe.step - INFO - Step skipped.
2026-04-15 21:13:20,366 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:13:20,368 - stpipe.step - INFO - Step skipped.
2026-04-15 21:13:20,557 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:13:20,558 - stpipe.step - INFO - Step skipped.
2026-04-15 21:13:20,746 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>, []).
2026-04-15 21:13:20,747 - stpipe.step - INFO - Step skipped.
2026-04-15 21:13:20,925 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>, []).
2026-04-15 21:13:20,926 - stpipe.step - INFO - Step skipped.
2026-04-15 21:13:21,102 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:13:21,103 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:13:21,104 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:13:21,105 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:13:21,107 - stpipe.step - INFO - Step srctype done
2026-04-15 21:13:21,298 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:13:21,299 - stpipe.step - INFO - Step skipped.
2026-04-15 21:13:21,490 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:13:21,494 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:13:21,653 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:14:00,367 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:14:42,152 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.0424669047285518 DN/s
2026-04-15 21:14:42,153 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:14:42,156 - stpipe.step - INFO - Step straylight done
2026-04-15 21:14:42,342 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:14:42,393 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:14:42,400 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits
2026-04-15 21:14:42,401 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:14:42,402 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:14:42,402 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:14:42,464 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:14:42,650 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:14:42,653 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits
2026-04-15 21:14:42,692 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:14:42,693 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:14:42,693 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:14:42,730 - stpipe.step - INFO - Step fringe done
2026-04-15 21:14:42,918 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:14:42,918 - stpipe.step - INFO - Step skipped.
2026-04-15 21:14:43,096 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:14:43,098 - stpipe.step - INFO - Step skipped.
2026-04-15 21:14:43,285 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:14:43,291 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits
2026-04-15 21:14:43,292 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:14:43,293 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:14:43,294 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 21:14:43,294 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:14:43,295 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 21:14:43,378 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:14:43,398 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:14:43,399 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:14:43,432 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:14:43,881 - stpipe.step - INFO - Step photom done
2026-04-15 21:14:44,069 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00001_mirifushort_rate.fits>,).
2026-04-15 21:14:44,070 - stpipe.step - INFO - Step skipped.
2026-04-15 21:14:44,812 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifushort_cal.fits>,).
2026-04-15 21:14:44,813 - stpipe.step - INFO - Step skipped.
2026-04-15 21:14:45,043 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifushort_cal.fits>,).
2026-04-15 21:14:45,044 - stpipe.step - INFO - Step skipped.
2026-04-15 21:14:45,277 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifushort_cal.fits>,).
2026-04-15 21:14:45,278 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:14:45,279 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:14:45,279 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:14:45,280 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:14:45,290 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['1', '2']
2026-04-15 21:14:45,291 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['medium', 'medium']
2026-04-15 21:14:45,292 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:14:45,594 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:14:45,595 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:14:45,599 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:14:45,602 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:14:45,602 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:14:45,603 - jwst.cube_build.ifu_cube - INFO - Axis 1    45  23.00  81.03061669   0.13000000  -2.92499989   2.92499989
2026-04-15 21:14:45,603 - jwst.cube_build.ifu_cube - INFO - Axis 2    49  25.00 -70.07754069   0.13000000  -3.18499988   3.18499988
2026-04-15 21:14:45,604 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:14:45,605 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:14:45,605 - jwst.cube_build.ifu_cube - INFO - Axis 3  4243   1.00   5.65960693   5.65960693  10.13073730
2026-04-15 21:14:45,606 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 1, medium
2026-04-15 21:14:45,607 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 2, medium
2026-04-15 21:14:45,607 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['medium']
2026-04-15 21:14:45,608 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifushort_s3d.fits
2026-04-15 21:14:46,597 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3801 with wavelength below 5.658884048461914
2026-04-15 21:14:52,567 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2469 with wavelength above 10.13226318359375
2026-04-15 21:14:58,577 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:14:58,578 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:14:58,594 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 1
2026-04-15 21:14:58,937 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.028285119 -70.078407339 81.028285119 -70.076674006 81.032948257 -70.076674006 81.032948257 -70.078407339
2026-04-15 21:14:58,941 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:14:59,083 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifushort_s3d.fits
2026-04-15 21:14:59,341 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c72e2fd10>,).
2026-04-15 21:14:59,345 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:14:59,349 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:14:59,352 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:14:59,353 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:14:59,669 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:14:59,681 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:15:00,002 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:15:00,003 - jwst.extract_1d.ifu - INFO - Using x_center = 11.2863, y_center = 40.0845
2026-04-15 21:15:20,864 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:15:22,013 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:15:24,495 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifushort_x1d.fits
2026-04-15 21:15:24,496 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:15:24,497 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort
2026-04-15 21:15:24,500 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:15:24,500 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:15:24,890 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00001_mirifushort_cal.fits
2026-04-15 21:15:24,891 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:15:24,892 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:15:25,241 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:15:25,249 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:15:25,258 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:15:25,265 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:15:25,274 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:15:25,282 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:15:25,290 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:15:25,312 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:15:25,313 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:15:25,314 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:15:25,315 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:15:25,316 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:15:25,317 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:15:25,318 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:15:25,319 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:15:25,323 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:15:25,325 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:15:25,325 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:15:25,326 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:15:25,327 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:15:25,329 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:15:25,330 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:15:25,332 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:15:25,332 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:15:25,334 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:15:25,334 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:15:25,335 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:15:25,336 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:15:25,337 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:15:25,339 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:15:25,340 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:15:25,340 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:15:25,341 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:15:25,342 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:15:25,343 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:15:25,344 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:15:25,345 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:15:25,347 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:15:25,348 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:15:25,554 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:15:25,588 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:15:25,644 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:15:25,648 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:15:25,649 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:15:25,650 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:15:25,650 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:15:25,651 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:15:25,651 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:15:25,652 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:15:25,652 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:15:25,653 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf'.
2026-04-15 21:15:25,654 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:15:25,654 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:15:25,655 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:15:25,655 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits'.
2026-04-15 21:15:25,656 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:15:25,656 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:15:25,657 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits'.
2026-04-15 21:15:25,658 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:15:25,659 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:15:25,659 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:15:25,660 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:15:25,660 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:15:25,661 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:15:25,662 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:15:25,662 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:15:25,663 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:15:25,663 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits'.
2026-04-15 21:15:25,664 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:15:25,665 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf'.
2026-04-15 21:15:25,665 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:15:25,666 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:15:25,666 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:15:25,667 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf'.
2026-04-15 21:15:25,667 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:15:25,668 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:15:25,668 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:15:25,675 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong
2026-04-15 21:15:25,675 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits ...
2026-04-15 21:15:25,852 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:15:26,246 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.000008757068164
2026-04-15 21:15:27,153 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0143.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0142.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0144.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:15:27,741 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.027709521 -70.078460935 81.035475657 -70.078460935 81.035475657 -70.075814183 81.027709521 -70.075814183
2026-04-15 21:15:27,742 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:15:27,747 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:15:27,937 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], []).
2026-04-15 21:15:27,940 - stpipe.step - INFO - Step skipped.
2026-04-15 21:15:28,120 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:15:28,121 - stpipe.step - INFO - Step skipped.
2026-04-15 21:15:28,287 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:15:28,288 - stpipe.step - INFO - Step skipped.
2026-04-15 21:15:28,456 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>, []).
2026-04-15 21:15:28,457 - stpipe.step - INFO - Step skipped.
2026-04-15 21:15:28,620 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>, []).
2026-04-15 21:15:28,621 - stpipe.step - INFO - Step skipped.
2026-04-15 21:15:28,785 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:15:28,786 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:15:28,787 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:15:28,788 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:15:28,790 - stpipe.step - INFO - Step srctype done
2026-04-15 21:15:28,960 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:15:28,960 - stpipe.step - INFO - Step skipped.
2026-04-15 21:15:29,126 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:15:29,130 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:15:29,278 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:16:11,827 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:16:53,850 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.015741931274533272 DN/s
2026-04-15 21:16:53,850 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:16:53,853 - stpipe.step - INFO - Step straylight done
2026-04-15 21:16:54,037 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:16:54,094 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:16:54,101 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0840.fits
2026-04-15 21:16:54,101 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:16:54,102 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:16:54,103 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:16:54,176 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:16:54,352 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:16:54,355 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0075.fits
2026-04-15 21:16:54,394 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:16:54,395 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:16:54,395 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:16:54,432 - stpipe.step - INFO - Step fringe done
2026-04-15 21:16:54,605 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:16:54,606 - stpipe.step - INFO - Step skipped.
2026-04-15 21:16:54,770 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:16:54,771 - stpipe.step - INFO - Step skipped.
2026-04-15 21:16:54,934 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:16:54,940 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0221.fits
2026-04-15 21:16:54,941 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:16:54,942 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:16:54,942 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 21:16:54,943 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:16:54,943 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 21:16:55,029 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:16:55,049 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:16:55,050 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:16:55,083 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:16:55,497 - stpipe.step - INFO - Step photom done
2026-04-15 21:16:55,674 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifulong_rate.fits>,).
2026-04-15 21:16:55,675 - stpipe.step - INFO - Step skipped.
2026-04-15 21:16:56,256 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifulong_cal.fits>,).
2026-04-15 21:16:56,257 - stpipe.step - INFO - Step skipped.
2026-04-15 21:16:56,469 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifulong_cal.fits>,).
2026-04-15 21:16:56,470 - stpipe.step - INFO - Step skipped.
2026-04-15 21:16:56,682 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifulong_cal.fits>,).
2026-04-15 21:16:56,683 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:16:56,684 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:16:56,685 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:16:56,685 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:16:56,695 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['3', '4']
2026-04-15 21:16:56,696 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['medium', 'medium']
2026-04-15 21:16:56,696 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:16:57,008 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:16:57,009 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:16:57,012 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:16:57,015 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:16:57,015 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:16:57,016 - jwst.cube_build.ifu_cube - INFO - Axis 1    51  26.00  81.03159259   0.20000000  -5.10000008   5.10000008
2026-04-15 21:16:57,017 - jwst.cube_build.ifu_cube - INFO - Axis 2    51  26.00 -70.07713756   0.20000000  -5.10000008   5.10000008
2026-04-15 21:16:57,018 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:16:57,019 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:16:57,019 - jwst.cube_build.ifu_cube - INFO - Axis 3  2830   1.00  13.33861923  13.33861923  24.48033714
2026-04-15 21:16:57,020 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 3, medium
2026-04-15 21:16:57,021 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 4, medium
2026-04-15 21:16:57,021 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['medium']
2026-04-15 21:16:57,022 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifulong_s3d.fits
2026-04-15 21:16:57,943 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 967 with wavelength below 13.33633041381836
2026-04-15 21:17:08,196 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:17:08,197 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:17:08,210 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:17:08,498 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.027516397 -70.078526401 81.027516397 -70.075748624 81.035668781 -70.075748624 81.035668781 -70.078526401
2026-04-15 21:17:08,502 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:17:08,621 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifulong_s3d.fits
2026-04-15 21:17:08,850 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c76eff7f0>,).
2026-04-15 21:17:08,854 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:17:08,857 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:17:08,861 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:17:08,862 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:17:09,177 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:17:09,188 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:17:09,425 - py.warnings - WARNING - /home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/photutils/detection/daofinder.py:226: NoDetectionsWarning: No sources were found.
  warnings.warn('No sources were found.', NoDetectionsWarning)
2026-04-15 21:17:09,426 - jwst.extract_1d.ifu - WARNING - Auto source detection failed.
2026-04-15 21:17:09,427 - jwst.extract_1d.ifu - INFO - Using target coordinates.
2026-04-15 21:17:09,429 - jwst.extract_1d.ifu - INFO - Using x_center = 27, y_center = 20, based on TARG_RA and TARG_DEC
2026-04-15 21:17:23,252 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:17:24,394 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:17:26,157 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifulong_x1d.fits
2026-04-15 21:17:26,158 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:17:26,159 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong
2026-04-15 21:17:26,161 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:17:26,161 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:17:26,482 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifulong_cal.fits
2026-04-15 21:17:26,483 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:17:26,484 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:17:26,827 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:17:26,835 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:17:26,843 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:17:26,851 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:17:26,859 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:17:26,868 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:17:26,876 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:17:26,899 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:17:26,900 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:17:26,901 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:17:26,902 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:17:26,903 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:17:26,904 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:17:26,905 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:17:26,906 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:17:26,910 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:17:26,911 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:17:26,912 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:17:26,913 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:17:26,914 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:17:26,916 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:17:26,917 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:17:26,919 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:17:26,920 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:17:26,921 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:17:26,922 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:17:26,922 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:17:26,923 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:17:26,924 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:17:26,925 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:17:26,926 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:17:26,927 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:17:26,928 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:17:26,929 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:17:26,930 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:17:26,931 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:17:26,933 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:17:26,934 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:17:26,935 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:17:27,126 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:17:27,160 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:17:27,216 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:17:27,220 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:17:27,221 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:17:27,221 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:17:27,222 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:17:27,222 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:17:27,223 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:17:27,223 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:17:27,224 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:17:27,224 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf'.
2026-04-15 21:17:27,226 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:17:27,226 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:17:27,227 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:17:27,228 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits'.
2026-04-15 21:17:27,228 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:17:27,229 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:17:27,229 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits'.
2026-04-15 21:17:27,230 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:17:27,231 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:17:27,231 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:17:27,232 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:17:27,233 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:17:27,233 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:17:27,234 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:17:27,234 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:17:27,235 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:17:27,235 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits'.
2026-04-15 21:17:27,236 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:17:27,236 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf'.
2026-04-15 21:17:27,237 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:17:27,237 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:17:27,238 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:17:27,238 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf'.
2026-04-15 21:17:27,239 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:17:27,239 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:17:27,240 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:17:27,247 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort
2026-04-15 21:17:27,248 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits ...
2026-04-15 21:17:27,430 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:17:27,942 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.000008757068164
2026-04-15 21:17:29,081 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0144.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0141.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0141.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:17:29,752 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.029571400 -70.077870762 81.034007412 -70.077870762 81.034007412 -70.076265876 81.029571400 -70.076265876
2026-04-15 21:17:29,754 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:17:29,759 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:17:30,010 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], []).
2026-04-15 21:17:30,013 - stpipe.step - INFO - Step skipped.
2026-04-15 21:17:30,206 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:17:30,208 - stpipe.step - INFO - Step skipped.
2026-04-15 21:17:30,392 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:17:30,393 - stpipe.step - INFO - Step skipped.
2026-04-15 21:17:30,576 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>, []).
2026-04-15 21:17:30,577 - stpipe.step - INFO - Step skipped.
2026-04-15 21:17:30,755 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>, []).
2026-04-15 21:17:30,756 - stpipe.step - INFO - Step skipped.
2026-04-15 21:17:30,932 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:17:30,933 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:17:30,934 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:17:30,935 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:17:30,937 - stpipe.step - INFO - Step srctype done
2026-04-15 21:17:31,119 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:17:31,120 - stpipe.step - INFO - Step skipped.
2026-04-15 21:17:31,295 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:17:31,299 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:17:31,451 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:18:10,239 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:18:52,019 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03500221911478961 DN/s
2026-04-15 21:18:52,020 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:18:52,023 - stpipe.step - INFO - Step straylight done
2026-04-15 21:18:52,214 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:18:52,265 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:18:52,272 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0822.fits
2026-04-15 21:18:52,273 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:18:52,274 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:18:52,274 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:18:52,335 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:18:52,532 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:18:52,535 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0073.fits
2026-04-15 21:18:52,573 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:18:52,574 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:18:52,575 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:18:52,611 - stpipe.step - INFO - Step fringe done
2026-04-15 21:18:52,810 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:18:52,811 - stpipe.step - INFO - Step skipped.
2026-04-15 21:18:53,011 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:18:53,012 - stpipe.step - INFO - Step skipped.
2026-04-15 21:18:53,212 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:18:53,218 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0226.fits
2026-04-15 21:18:53,218 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:18:53,219 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:18:53,219 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 21:18:53,220 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:18:53,221 - jwst.photom.photom - INFO -  band: MEDIUM
2026-04-15 21:18:53,304 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:18:53,324 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:18:53,325 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:18:53,358 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:18:53,808 - stpipe.step - INFO - Step photom done
2026-04-15 21:18:53,996 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02103_00002_mirifushort_rate.fits>,).
2026-04-15 21:18:53,997 - stpipe.step - INFO - Step skipped.
2026-04-15 21:18:54,757 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifushort_cal.fits>,).
2026-04-15 21:18:54,759 - stpipe.step - INFO - Step skipped.
2026-04-15 21:18:54,995 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifushort_cal.fits>,).
2026-04-15 21:18:54,996 - stpipe.step - INFO - Step skipped.
2026-04-15 21:18:55,229 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifushort_cal.fits>,).
2026-04-15 21:18:55,230 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:18:55,231 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:18:55,232 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:18:55,232 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:18:55,243 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['1', '2']
2026-04-15 21:18:55,243 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['medium', 'medium']
2026-04-15 21:18:55,244 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:18:55,548 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:18:55,549 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:18:55,552 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:18:55,555 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:18:55,556 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:18:55,556 - jwst.cube_build.ifu_cube - INFO - Axis 1    45  23.00  81.03178941   0.13000000  -2.92499989   2.92499989
2026-04-15 21:18:55,557 - jwst.cube_build.ifu_cube - INFO - Axis 2    49  25.00 -70.07706832   0.13000000  -3.18499988   3.18499988
2026-04-15 21:18:55,558 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:18:55,558 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:18:55,559 - jwst.cube_build.ifu_cube - INFO - Axis 3  4243   1.00   5.65960693   5.65960693  10.13073730
2026-04-15 21:18:55,559 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 1, medium
2026-04-15 21:18:55,561 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 2, medium
2026-04-15 21:18:55,562 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['medium']
2026-04-15 21:18:55,562 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifushort_s3d.fits
2026-04-15 21:18:56,548 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3801 with wavelength below 5.658884048461914
2026-04-15 21:19:02,505 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2469 with wavelength above 10.13226318359375
2026-04-15 21:19:08,536 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:19:08,537 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:19:08,554 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 1
2026-04-15 21:19:08,912 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.029457890 -70.077934970 81.029457890 -70.076201637 81.034120922 -70.076201637 81.034120922 -70.077934970
2026-04-15 21:19:08,916 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:19:09,048 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifushort_s3d.fits
2026-04-15 21:19:09,317 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c72bb1ed0>,).
2026-04-15 21:19:09,321 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:19:09,325 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:19:09,328 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:19:09,329 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:19:09,650 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:19:09,663 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:19:09,987 - py.warnings - WARNING - /home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/photutils/detection/daofinder.py:766: NoDetectionsWarning: Sources were found, but none pass the sharpness, roundness, or peakmax criteria
  warnings.warn('Sources were found, but none pass the sharpness, '
2026-04-15 21:19:09,988 - jwst.extract_1d.ifu - WARNING - Auto source detection failed.
2026-04-15 21:19:09,989 - jwst.extract_1d.ifu - INFO - Using target coordinates.
2026-04-15 21:19:09,992 - jwst.extract_1d.ifu - INFO - Using x_center = 26, y_center = 15, based on TARG_RA and TARG_DEC
2026-04-15 21:19:30,898 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:19:32,036 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:19:34,495 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifushort_x1d.fits
2026-04-15 21:19:34,496 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:19:34,497 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort
2026-04-15 21:19:34,500 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:19:34,500 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:19:34,938 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02103_00002_mirifushort_cal.fits
2026-04-15 21:19:34,938 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:19:34,939 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:19:35,294 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:19:35,302 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:19:35,311 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:19:35,318 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:19:35,327 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:19:35,336 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:19:35,343 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:19:35,366 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:19:35,367 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:19:35,368 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:19:35,369 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:19:35,370 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:19:35,371 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:19:35,372 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:19:35,373 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:19:35,378 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:19:35,379 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:19:35,380 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:19:35,380 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:19:35,381 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:19:35,382 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:19:35,383 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:19:35,385 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:19:35,386 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:19:35,386 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:19:35,387 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:19:35,389 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:19:35,390 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:19:35,391 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:19:35,392 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:19:35,394 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:19:35,395 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:19:35,396 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:19:35,397 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:19:35,398 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:19:35,399 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:19:35,400 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:19:35,401 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:19:35,403 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:19:35,628 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:19:35,663 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:19:35,718 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:19:35,722 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:19:35,723 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:19:35,723 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:19:35,724 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:19:35,724 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:19:35,725 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:19:35,726 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:19:35,726 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:19:35,727 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf'.
2026-04-15 21:19:35,727 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:19:35,728 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:19:35,728 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:19:35,729 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits'.
2026-04-15 21:19:35,730 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:19:35,731 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:19:35,731 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits'.
2026-04-15 21:19:35,732 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:19:35,732 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:19:35,733 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:19:35,733 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:19:35,734 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:19:35,734 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:19:35,735 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:19:35,736 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:19:35,737 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:19:35,737 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits'.
2026-04-15 21:19:35,738 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:19:35,739 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf'.
2026-04-15 21:19:35,740 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:19:35,740 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:19:35,741 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:19:35,741 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf'.
2026-04-15 21:19:35,742 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:19:35,742 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:19:35,743 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:19:35,750 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong
2026-04-15 21:19:35,751 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits ...
2026-04-15 21:19:35,937 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:19:36,334 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.000008757068164
2026-04-15 21:19:37,249 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:19:37,837 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.026462176 -70.078914856 81.034388803 -70.078914856 81.034388803 -70.076274551 81.026462176 -70.076274551
2026-04-15 21:19:37,839 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:19:37,844 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:19:38,051 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], []).
2026-04-15 21:19:38,054 - stpipe.step - INFO - Step skipped.
2026-04-15 21:19:38,244 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:19:38,245 - stpipe.step - INFO - Step skipped.
2026-04-15 21:19:38,435 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:19:38,436 - stpipe.step - INFO - Step skipped.
2026-04-15 21:19:38,628 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>, []).
2026-04-15 21:19:38,629 - stpipe.step - INFO - Step skipped.
2026-04-15 21:19:38,815 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>, []).
2026-04-15 21:19:38,816 - stpipe.step - INFO - Step skipped.
2026-04-15 21:19:39,004 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:19:39,005 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:19:39,006 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:19:39,006 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:19:39,009 - stpipe.step - INFO - Step srctype done
2026-04-15 21:19:39,199 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:19:39,200 - stpipe.step - INFO - Step skipped.
2026-04-15 21:19:39,388 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:19:39,392 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:19:39,543 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:20:22,173 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:21:04,024 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.008646861650049686 DN/s
2026-04-15 21:21:04,025 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:21:04,028 - stpipe.step - INFO - Step straylight done
2026-04-15 21:21:04,223 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:21:04,275 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:21:04,282 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits
2026-04-15 21:21:04,283 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:21:04,284 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:21:04,284 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:21:04,347 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:21:04,540 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:21:04,544 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits
2026-04-15 21:21:04,582 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:21:04,583 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:21:04,584 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:21:04,620 - stpipe.step - INFO - Step fringe done
2026-04-15 21:21:04,810 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:21:04,811 - stpipe.step - INFO - Step skipped.
2026-04-15 21:21:05,000 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:21:05,001 - stpipe.step - INFO - Step skipped.
2026-04-15 21:21:05,191 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:21:05,197 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits
2026-04-15 21:21:05,197 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:21:05,198 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:21:05,199 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 21:21:05,199 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:21:05,200 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 21:21:05,284 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:21:05,304 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:21:05,305 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:21:05,339 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:21:05,763 - stpipe.step - INFO - Step photom done
2026-04-15 21:21:05,959 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifulong_rate.fits>,).
2026-04-15 21:21:05,960 - stpipe.step - INFO - Step skipped.
2026-04-15 21:21:06,588 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifulong_cal.fits>,).
2026-04-15 21:21:06,589 - stpipe.step - INFO - Step skipped.
2026-04-15 21:21:06,817 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifulong_cal.fits>,).
2026-04-15 21:21:06,818 - stpipe.step - INFO - Step skipped.
2026-04-15 21:21:07,031 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifulong_cal.fits>,).
2026-04-15 21:21:07,032 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:21:07,032 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:21:07,033 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:21:07,034 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:21:07,043 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['3', '4']
2026-04-15 21:21:07,044 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['short', 'short']
2026-04-15 21:21:07,044 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:21:07,344 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:21:07,345 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:21:07,349 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:21:07,351 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:21:07,352 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:21:07,353 - jwst.cube_build.ifu_cube - INFO - Axis 1    53  27.00  81.03042549   0.20000000  -5.30000008   5.30000008
2026-04-15 21:21:07,353 - jwst.cube_build.ifu_cube - INFO - Axis 2    51  26.00 -70.07759470   0.20000000  -5.10000008   5.10000008
2026-04-15 21:21:07,354 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:21:07,355 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:21:07,356 - jwst.cube_build.ifu_cube - INFO - Axis 3  3128   1.00  11.54997730  11.54997730  20.95471191
2026-04-15 21:21:07,356 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 3, short
2026-04-15 21:21:07,357 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 4, short
2026-04-15 21:21:07,357 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['short']
2026-04-15 21:21:07,358 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifulong_s3d.fits
2026-04-15 21:21:08,283 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2079 with wavelength below 11.548135757446289
2026-04-15 21:21:19,252 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:21:19,253 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:21:19,267 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:21:19,591 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.026186156 -70.078983542 81.026186156 -70.076205764 81.034664823 -70.076205764 81.034664823 -70.078983542
2026-04-15 21:21:19,595 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:21:19,716 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifulong_s3d.fits
2026-04-15 21:21:19,975 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c75f53f50>,).
2026-04-15 21:21:19,980 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:21:19,983 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:21:19,987 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:21:19,987 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:21:20,305 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:21:20,316 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:21:20,596 - py.warnings - WARNING - /home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/photutils/detection/daofinder.py:226: NoDetectionsWarning: No sources were found.
  warnings.warn('No sources were found.', NoDetectionsWarning)
2026-04-15 21:21:20,597 - jwst.extract_1d.ifu - WARNING - Auto source detection failed.
2026-04-15 21:21:20,597 - jwst.extract_1d.ifu - INFO - Using target coordinates.
2026-04-15 21:21:20,600 - jwst.extract_1d.ifu - INFO - Using x_center = 20, y_center = 29, based on TARG_RA and TARG_DEC
2026-04-15 21:21:35,974 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:21:37,109 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:21:39,029 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifulong_x1d.fits
2026-04-15 21:21:39,030 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:21:39,031 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong
2026-04-15 21:21:39,033 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:21:39,034 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:21:39,352 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifulong_cal.fits
2026-04-15 21:21:39,353 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:21:39,353 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:21:39,700 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:21:39,708 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:21:39,716 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:21:39,724 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:21:39,732 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:21:39,741 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:21:39,748 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:21:39,771 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:21:39,772 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:21:39,773 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:21:39,774 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:21:39,775 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:21:39,776 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:21:39,777 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:21:39,778 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:21:39,783 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:21:39,783 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:21:39,784 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:21:39,785 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:21:39,786 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:21:39,787 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:21:39,788 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:21:39,791 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:21:39,792 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:21:39,793 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:21:39,793 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:21:39,794 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:21:39,796 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:21:39,796 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:21:39,797 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:21:39,798 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:21:39,799 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:21:39,800 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:21:39,801 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:21:39,802 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:21:39,803 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:21:39,804 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:21:39,806 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:21:39,808 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:21:40,008 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:21:40,042 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:21:40,100 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:21:40,104 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:21:40,104 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:21:40,105 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:21:40,105 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:21:40,106 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:21:40,106 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:21:40,107 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:21:40,107 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:21:40,109 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf'.
2026-04-15 21:21:40,109 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:21:40,110 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:21:40,110 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:21:40,111 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits'.
2026-04-15 21:21:40,112 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:21:40,112 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:21:40,113 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits'.
2026-04-15 21:21:40,113 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:21:40,114 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:21:40,114 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:21:40,115 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:21:40,116 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:21:40,116 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:21:40,117 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:21:40,118 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:21:40,118 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:21:40,119 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits'.
2026-04-15 21:21:40,119 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:21:40,120 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf'.
2026-04-15 21:21:40,121 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:21:40,121 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:21:40,122 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:21:40,122 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf'.
2026-04-15 21:21:40,123 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:21:40,123 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:21:40,124 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:21:40,131 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort
2026-04-15 21:21:40,132 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits ...
2026-04-15 21:21:40,310 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:21:40,834 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.000008757068164
2026-04-15 21:21:42,011 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:21:42,703 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.028395073 -70.078423896 81.032929915 -70.078423896 81.032929915 -70.076828813 81.028395073 -70.076828813
2026-04-15 21:21:42,704 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:21:42,709 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:21:42,982 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], []).
2026-04-15 21:21:42,985 - stpipe.step - INFO - Step skipped.
2026-04-15 21:21:43,186 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:21:43,188 - stpipe.step - INFO - Step skipped.
2026-04-15 21:21:43,386 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:21:43,387 - stpipe.step - INFO - Step skipped.
2026-04-15 21:21:43,587 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>, []).
2026-04-15 21:21:43,588 - stpipe.step - INFO - Step skipped.
2026-04-15 21:21:43,785 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>, []).
2026-04-15 21:21:43,786 - stpipe.step - INFO - Step skipped.
2026-04-15 21:21:43,987 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:21:43,988 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:21:43,988 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:21:43,989 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:21:43,992 - stpipe.step - INFO - Step srctype done
2026-04-15 21:21:44,189 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:21:44,190 - stpipe.step - INFO - Step skipped.
2026-04-15 21:21:44,388 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:21:44,392 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:21:44,544 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:22:25,445 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:23:07,714 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.04146666248139182 DN/s
2026-04-15 21:23:07,715 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:23:07,718 - stpipe.step - INFO - Step straylight done
2026-04-15 21:23:07,939 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:23:07,995 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:23:08,007 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits
2026-04-15 21:23:08,008 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:23:08,010 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:23:08,010 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:23:08,080 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:23:08,284 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:23:08,289 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits
2026-04-15 21:23:08,328 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:23:08,329 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:23:08,330 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:23:08,368 - stpipe.step - INFO - Step fringe done
2026-04-15 21:23:08,577 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:23:08,578 - stpipe.step - INFO - Step skipped.
2026-04-15 21:23:08,790 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:23:08,792 - stpipe.step - INFO - Step skipped.
2026-04-15 21:23:08,996 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:23:09,003 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits
2026-04-15 21:23:09,003 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:23:09,004 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:23:09,005 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 21:23:09,005 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:23:09,006 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 21:23:09,092 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:23:09,112 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:23:09,113 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:23:09,147 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:23:09,612 - stpipe.step - INFO - Step photom done
2026-04-15 21:23:09,814 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00001_mirifushort_rate.fits>,).
2026-04-15 21:23:09,815 - stpipe.step - INFO - Step skipped.
2026-04-15 21:23:10,613 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifushort_cal.fits>,).
2026-04-15 21:23:10,614 - stpipe.step - INFO - Step skipped.
2026-04-15 21:23:10,858 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifushort_cal.fits>,).
2026-04-15 21:23:10,859 - stpipe.step - INFO - Step skipped.
2026-04-15 21:23:11,115 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifushort_cal.fits>,).
2026-04-15 21:23:11,116 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:23:11,117 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:23:11,117 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:23:11,118 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:23:11,128 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['1', '2']
2026-04-15 21:23:11,129 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['short', 'short']
2026-04-15 21:23:11,129 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:23:11,434 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:23:11,435 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:23:11,439 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:23:11,442 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:23:11,443 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:23:11,443 - jwst.cube_build.ifu_cube - INFO - Axis 1    47  24.00  81.03066249   0.13000000  -3.05499989   3.05499989
2026-04-15 21:23:11,444 - jwst.cube_build.ifu_cube - INFO - Axis 2    49  25.00 -70.07762635   0.13000000  -3.18499988   3.18499988
2026-04-15 21:23:11,445 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:23:11,445 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:23:11,446 - jwst.cube_build.ifu_cube - INFO - Axis 3  4404   1.00   4.90000010   4.90000010   8.77080059
2026-04-15 21:23:11,447 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 1, short
2026-04-15 21:23:11,447 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 2, short
2026-04-15 21:23:11,448 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['short']
2026-04-15 21:23:11,450 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifushort_s3d.fits
2026-04-15 21:23:12,445 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3697 with wavelength below 4.899390697479248
2026-04-15 21:23:18,555 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2597 with wavelength above 8.772054672241211
2026-04-15 21:23:24,797 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:23:24,798 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:23:24,815 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 1
2026-04-15 21:23:25,242 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.028224935 -70.078493005 81.028224935 -70.076759671 81.033100053 -70.076759671 81.033100053 -70.078493005
2026-04-15 21:23:25,246 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:23:25,383 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifushort_s3d.fits
2026-04-15 21:23:25,674 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c737869d0>,).
2026-04-15 21:23:25,679 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:23:25,683 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:23:25,686 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:23:25,687 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:23:26,020 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:23:26,033 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:23:26,404 - py.warnings - WARNING - /home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/photutils/detection/daofinder.py:750: NoDetectionsWarning: No sources were found.
  warnings.warn('No sources were found.', NoDetectionsWarning)
2026-04-15 21:23:26,406 - jwst.extract_1d.ifu - WARNING - Auto source detection failed.
2026-04-15 21:23:26,406 - jwst.extract_1d.ifu - INFO - Using target coordinates.
2026-04-15 21:23:26,409 - jwst.extract_1d.ifu - INFO - Using x_center = 17, y_center = 31, based on TARG_RA and TARG_DEC
2026-04-15 21:23:48,286 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:23:49,499 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:23:52,053 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifushort_x1d.fits
2026-04-15 21:23:52,054 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:23:52,056 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort
2026-04-15 21:23:52,059 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:23:52,059 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:23:52,496 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00001_mirifushort_cal.fits
2026-04-15 21:23:52,497 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:23:52,498 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:23:52,849 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:23:52,858 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:23:52,867 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:23:52,875 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:23:52,884 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:23:52,893 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:23:52,901 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:23:52,924 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:23:52,926 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:23:52,927 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:23:52,928 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:23:52,929 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:23:52,930 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:23:52,931 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:23:52,932 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:23:52,937 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:23:52,937 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:23:52,939 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:23:52,940 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:23:52,941 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:23:52,942 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:23:52,943 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:23:52,944 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:23:52,945 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:23:52,946 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:23:52,947 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:23:52,947 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:23:52,948 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:23:52,949 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:23:52,950 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:23:52,952 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:23:52,953 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:23:52,954 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:23:52,955 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:23:52,956 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:23:52,957 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:23:52,958 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:23:52,960 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:23:52,961 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:23:53,192 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:23:53,227 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:23:53,286 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:23:53,290 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:23:53,291 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:23:53,291 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:23:53,292 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:23:53,292 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:23:53,293 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:23:53,294 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:23:53,294 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:23:53,295 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf'.
2026-04-15 21:23:53,296 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:23:53,297 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:23:53,297 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:23:53,298 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits'.
2026-04-15 21:23:53,299 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:23:53,299 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:23:53,300 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits'.
2026-04-15 21:23:53,301 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:23:53,301 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:23:53,302 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:23:53,302 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:23:53,303 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:23:53,303 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:23:53,304 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:23:53,304 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:23:53,305 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:23:53,306 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits'.
2026-04-15 21:23:53,306 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:23:53,307 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf'.
2026-04-15 21:23:53,308 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:23:53,308 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:23:53,309 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:23:53,309 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf'.
2026-04-15 21:23:53,310 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:23:53,310 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:23:53,311 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:23:53,318 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong
2026-04-15 21:23:53,319 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits ...
2026-04-15 21:23:53,529 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:23:53,939 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.0000087564343811
2026-04-15 21:23:54,923 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0141.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0140.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0145.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:23:55,547 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.027635116 -70.078442156 81.035561620 -70.078442156 81.035561620 -70.075801829 81.027635116 -70.075801829
2026-04-15 21:23:55,549 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:23:55,554 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:23:55,775 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifulong_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong_rate.fits'], []).
2026-04-15 21:23:55,778 - stpipe.step - INFO - Step skipped.
2026-04-15 21:23:55,976 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:23:55,977 - stpipe.step - INFO - Step skipped.
2026-04-15 21:23:56,173 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:23:56,174 - stpipe.step - INFO - Step skipped.
2026-04-15 21:23:56,370 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>, []).
2026-04-15 21:23:56,371 - stpipe.step - INFO - Step skipped.
2026-04-15 21:23:56,572 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>, []).
2026-04-15 21:23:56,573 - stpipe.step - INFO - Step skipped.
2026-04-15 21:23:56,771 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:23:56,772 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:23:56,773 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:23:56,773 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:23:56,776 - stpipe.step - INFO - Step srctype done
2026-04-15 21:23:56,973 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:23:56,974 - stpipe.step - INFO - Step skipped.
2026-04-15 21:23:57,174 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:23:57,178 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:23:57,331 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:24:40,091 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:25:22,008 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.03228346258401871 DN/s
2026-04-15 21:25:22,008 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:25:22,012 - stpipe.step - INFO - Step straylight done
2026-04-15 21:25:22,235 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:25:22,289 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:25:22,297 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0821.fits
2026-04-15 21:25:22,298 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:25:22,299 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:25:22,299 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:25:22,363 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:25:22,584 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:25:22,588 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0070.fits
2026-04-15 21:25:22,628 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:25:22,629 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:25:22,630 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:25:22,668 - stpipe.step - INFO - Step fringe done
2026-04-15 21:25:22,889 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:25:22,890 - stpipe.step - INFO - Step skipped.
2026-04-15 21:25:23,108 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:25:23,109 - stpipe.step - INFO - Step skipped.
2026-04-15 21:25:23,329 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:25:23,336 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0220.fits
2026-04-15 21:25:23,336 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:25:23,337 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:25:23,338 - jwst.photom.photom - INFO -  detector: MIRIFULONG
2026-04-15 21:25:23,338 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:25:23,339 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 21:25:23,425 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:25:23,446 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:25:23,446 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:25:23,481 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:25:23,924 - stpipe.step - INFO - Step photom done
2026-04-15 21:25:24,149 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifulong_rate.fits>,).
2026-04-15 21:25:24,150 - stpipe.step - INFO - Step skipped.
2026-04-15 21:25:24,809 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifulong_cal.fits>,).
2026-04-15 21:25:24,810 - stpipe.step - INFO - Step skipped.
2026-04-15 21:25:25,062 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifulong_cal.fits>,).
2026-04-15 21:25:25,063 - stpipe.step - INFO - Step skipped.
2026-04-15 21:25:25,320 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifulong_cal.fits>,).
2026-04-15 21:25:25,321 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:25:25,322 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:25:25,323 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:25:25,323 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:25:25,333 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['3', '4']
2026-04-15 21:25:25,334 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['short', 'short']
2026-04-15 21:25:25,335 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:25:25,644 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:25:25,645 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:25:25,649 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:25:25,652 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:25:25,652 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:25:25,653 - jwst.cube_build.ifu_cube - INFO - Axis 1    53  27.00  81.03159837   0.20000000  -5.30000008   5.30000008
2026-04-15 21:25:25,653 - jwst.cube_build.ifu_cube - INFO - Axis 2    51  26.00 -70.07712199   0.20000000  -5.10000008   5.10000008
2026-04-15 21:25:25,654 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:25:25,655 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:25:25,656 - jwst.cube_build.ifu_cube - INFO - Axis 3  3128   1.00  11.54997730  11.54997730  20.95471191
2026-04-15 21:25:25,656 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 3, short
2026-04-15 21:25:25,657 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 4, short
2026-04-15 21:25:25,658 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['short']
2026-04-15 21:25:25,658 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifulong_s3d.fits
2026-04-15 21:25:26,619 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2079 with wavelength below 11.548135757446289
2026-04-15 21:25:37,665 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:25:37,666 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:25:37,680 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:25:38,000 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.027359131 -70.078510831 81.027359131 -70.075733053 81.035837605 -70.075733053 81.035837605 -70.078510831
2026-04-15 21:25:38,004 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:25:38,138 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifulong_s3d.fits
2026-04-15 21:25:38,401 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c76453a50>,).
2026-04-15 21:25:38,405 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:25:38,408 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:25:38,412 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:25:38,413 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:25:38,746 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:25:38,757 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:25:39,042 - py.warnings - WARNING - /home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/photutils/detection/daofinder.py:226: NoDetectionsWarning: No sources were found.
  warnings.warn('No sources were found.', NoDetectionsWarning)
2026-04-15 21:25:39,043 - jwst.extract_1d.ifu - WARNING - Auto source detection failed.
2026-04-15 21:25:39,044 - jwst.extract_1d.ifu - INFO - Using target coordinates.
2026-04-15 21:25:39,047 - jwst.extract_1d.ifu - INFO - Using x_center = 28, y_center = 20, based on TARG_RA and TARG_DEC
2026-04-15 21:25:54,481 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:25:55,647 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:25:57,539 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifulong_x1d.fits
2026-04-15 21:25:57,540 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:25:57,542 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifulong
2026-04-15 21:25:57,544 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:25:57,544 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:25:57,878 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifulong_cal.fits
2026-04-15 21:25:57,878 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:25:57,879 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 21:25:58,224 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:25:58,232 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:25:58,241 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-04-15 21:25:58,250 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:25:58,262 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:25:58,271 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:25:58,279 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec2pipeline_0005.asdf
2026-04-15 21:25:58,301 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 21:25:58,303 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 21:25:58,303 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 21:25:58,305 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 21:25:58,306 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 21:25:58,307 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 21:25:58,308 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 21:25:58,310 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 21:25:58,314 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 21:25:58,316 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:25:58,317 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:25:58,318 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:25:58,318 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:25:58,319 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:25:58,320 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:25:58,322 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:25:58,323 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 21:25:58,324 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 21:25:58,325 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 21:25:58,325 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 21:25:58,326 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 21:25:58,327 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 21:25:58,328 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 21:25:58,330 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 21:25:58,331 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 21:25:58,332 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 21:25:58,333 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:25:58,334 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:25:58,335 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:25:58,336 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:25:58,337 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:25:58,339 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:25:58,573 - stpipe.step - INFO - Step Spec2Pipeline running with args ('./mrs_demo_data/Obs004/l2asn.json',).
2026-04-15 21:25:58,609 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs004/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_bsub: False
  fail_on_exception: True
  save_wfss_esec: False
  steps:
    assign_wcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sip_approx: True
      sip_max_pix_error: 0.01
      sip_degree: None
      sip_max_inv_pix_error: 0.01
      sip_inv_degree: None
      sip_npoints: 12
      slit_y_low: -0.55
      slit_y_high: 0.55
      nrs_ifu_slice_wcs: False
    badpix_selfcal:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      flagfrac_lower: 0.001
      flagfrac_upper: 0.001
      kernel_size: 15
      force_single: False
      save_flagged_bkg: False
    msa_flagging:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    clean_flicker_noise:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      autoparam: False
      fit_method: median
      fit_by_channel: False
      background_method: median
      background_box_size: None
      mask_science_regions: False
      apply_flat_field: False
      n_sigma: 2.0
      fit_histogram: False
      single_mask: True
      user_mask: None
      save_mask: False
      save_background: False
      save_noise: False
    bkg_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      bkg_list: None
      save_combined_background: False
      sigma: 3.0
      maxiters: None
      soss_source_percentile: 35.0
      soss_bkg_percentile: None
      wfss_mmag_extract: None
      wfss_mask: None
      wfss_maxiter: 5
      wfss_rms_stop: 0.0
      wfss_outlier_percent: 1.0
    imprint_subtract:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    extract_2d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      slit_names: None
      source_ids: None
      source_ra: None
      source_dec: None
      source_max_sep: 2.0
      extract_orders: None
      grism_objects: None
      tsgrism_extract_height: None
      wfss_extract_half_height: 5
      wfss_mmag_extract: None
      wfss_nbright: 1000
    master_background_mos:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      sigma_clip: 3.0
      median_kernel: 1
      force_subtract: False
      save_background: False
      user_background: None
      inverse: False
      steps:
        flat_field:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          save_interpolated_flat: False
          user_supplied_flat: None
          inverse: False
        pathloss:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          user_slit_loc: None
        barshadow:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
        photom:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          inverse: False
          source_type: None
          apply_time_correction: True
        pixel_replace:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: True
          output_use_index: True
          save_results: False
          skip: True
          suffix: None
          search_output_file: True
          input_dir: ''
          algorithm: fit_profile
          n_adjacent_cols: 3
        resample_spec:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          pixfrac: 1.0
          kernel: square
          fillval: NAN
          weight_type: exptime
          output_shape: None
          pixel_scale_ratio: 1.0
          pixel_scale: None
          output_wcs: ''
          single: False
          blendheaders: True
          in_memory: True
          propagate_dq: False
        extract_1d:
          pre_hooks: []
          post_hooks: []
          output_file: None
          output_dir: None
          output_ext: .fits
          output_use_model: False
          output_use_index: True
          save_results: False
          skip: False
          suffix: None
          search_output_file: True
          input_dir: ''
          subtract_background: None
          apply_apcorr: True
          extraction_type: box
          use_source_posn: None
          position_offset: 0.0
          model_nod_pair: True
          optimize_psf_location: True
          smoothing_length: None
          bkg_fit: None
          bkg_order: None
          log_increment: 50
          save_profile: False
          save_scene_model: False
          save_residual_image: False
          center_xy: None
          ifu_autocen: True
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.8
          soss_atoca: True
          soss_threshold: 0.01
          soss_n_os: 2
          soss_wave_grid_in: None
          soss_wave_grid_out: None
          soss_estimate: None
          soss_rtol: 0.0001
          soss_max_grid_size: 20000
          soss_tikfac: None
          soss_width: 40.0
          soss_bad_pix: masking
          soss_modelname: None
          soss_order_3: True
    targ_centroid:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      ta_file: None
    wavecorr:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    flat_field:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      save_interpolated_flat: False
      user_supplied_flat: None
      inverse: False
    srctype:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      source_type: None
    straylight:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      clean_showers: False
      shower_plane: 3
      shower_x_stddev: 18.0
      shower_y_stddev: 5.0
      shower_low_reject: 0.1
      shower_high_reject: 99.9
      save_shower_model: False
    fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
    residual_fringe:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: residual_fringe
      search_output_file: False
      input_dir: ''
      save_intermediate_results: False
      ignore_region_min: None
      ignore_region_max: None
    pathloss:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      user_slit_loc: None
    barshadow:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
    wfss_contam:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_simulated_image: False
      save_contam_images: False
      maximum_cores: '1'
      orders: None
      magnitude_limit: None
      wl_oversample: 2
      max_pixels_per_chunk: 5000
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: fit_profile
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: None
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
2026-04-15 21:25:58,668 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l2asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'camera', 'collimator', 'cubepar', 'dflat', 'disperser', 'distortion', 'extract1d', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'mrsxartcorr', 'msa', 'msaoper', 'ote', 'pastasoss', 'pathloss', 'photom', 'psf', 'regions', 'sflat', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 21:25:58,672 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:25:58,672 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:25:58,673 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-04-15 21:25:58,673 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-04-15 21:25:58,674 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-04-15 21:25:58,674 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:25:58,676 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-04-15 21:25:58,676 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-04-15 21:25:58,677 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf'.
2026-04-15 21:25:58,678 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:25:58,678 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-04-15 21:25:58,679 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 21:25:58,679 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits'.
2026-04-15 21:25:58,680 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-04-15 21:25:58,680 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-04-15 21:25:58,681 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits'.
2026-04-15 21:25:58,681 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 21:25:58,683 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 21:25:58,683 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 21:25:58,683 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits'.
2026-04-15 21:25:58,684 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-04-15 21:25:58,685 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-04-15 21:25:58,685 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-04-15 21:25:58,686 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:25:58,686 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-04-15 21:25:58,687 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits'.
2026-04-15 21:25:58,688 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:25:58,688 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf'.
2026-04-15 21:25:58,689 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-04-15 21:25:58,689 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:25:58,690 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:25:58,690 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf'.
2026-04-15 21:25:58,691 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-04-15 21:25:58,692 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf'.
2026-04-15 21:25:58,692 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 21:25:58,699 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort
2026-04-15 21:25:58,700 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits ...
2026-04-15 21:25:58,922 - stpipe.step - INFO - Step assign_wcs running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:25:59,461 - jwst.assign_wcs.miri - INFO - Applied Barycentric velocity correction : 1.000008757068164
2026-04-15 21:26:00,639 - jwst.assign_wcs.miri - INFO - Created a MIRI mir_mrs pipeline with references {'distortion': '/home/runner/crds/references/jwst/miri/jwst_miri_distortion_0140.asdf', 'filteroffset': None, 'specwcs': '/home/runner/crds/references/jwst/miri/jwst_miri_specwcs_0139.asdf', 'regions': '/home/runner/crds/references/jwst/miri/jwst_miri_regions_0142.asdf', 'wavelengthrange': '/home/runner/crds/references/jwst/miri/jwst_miri_wavelengthrange_0011.asdf', 'camera': None, 'collimator': None, 'disperser': None, 'fore': None, 'fpa': None, 'msa': None, 'ote': None, 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 21:26:01,332 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.029567981 -70.077951186 81.034102761 -70.077951186 81.034102761 -70.076356092 81.029567981 -70.076356092
2026-04-15 21:26:01,334 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 21:26:01,339 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 21:26:01,638 - stpipe.step - INFO - Step badpix_selfcal running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03102_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03104_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00003_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs003/stage1/jw01523003001_03106_00004_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02101_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02103_00002_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00001_mirifushort_rate.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort_rate.fits'], []).
2026-04-15 21:26:01,641 - stpipe.step - INFO - Step skipped.
2026-04-15 21:26:01,844 - stpipe.step - INFO - Step msa_flagging running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:26:01,845 - stpipe.step - INFO - Step skipped.
2026-04-15 21:26:02,047 - stpipe.step - INFO - Step clean_flicker_noise running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:26:02,048 - stpipe.step - INFO - Step skipped.
2026-04-15 21:26:02,251 - stpipe.step - INFO - Step imprint_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>, []).
2026-04-15 21:26:02,252 - stpipe.step - INFO - Step skipped.
2026-04-15 21:26:02,455 - stpipe.step - INFO - Step bkg_subtract running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>, []).
2026-04-15 21:26:02,456 - stpipe.step - INFO - Step skipped.
2026-04-15 21:26:02,662 - stpipe.step - INFO - Step srctype running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:26:02,663 - jwst.srctype.srctype - INFO - Input EXP_TYPE is MIR_MRS
2026-04-15 21:26:02,664 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 21:26:02,664 - jwst.srctype.srctype - INFO - Exposure is nodded; setting SRCTYPE = POINT
2026-04-15 21:26:02,667 - stpipe.step - INFO - Step srctype done
2026-04-15 21:26:02,871 - stpipe.step - INFO - Step targ_centroid running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:26:02,872 - stpipe.step - INFO - Step skipped.
2026-04-15 21:26:03,075 - stpipe.step - INFO - Step straylight running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:26:03,078 - jwst.straylight.straylight_step - INFO - Using mrsxartcorr reference file /home/runner/crds/references/jwst/miri/jwst_miri_mrsxartcorr_0001.fits
2026-04-15 21:26:03,232 - jwst.straylight.straylight - INFO - Found parameters for left detector half, applying Cross-Artifact correction.
2026-04-15 21:26:43,851 - jwst.straylight.straylight - INFO - Found parameters for right detector half, applying Cross-Artifact correction.
2026-04-15 21:27:25,712 - jwst.straylight.straylight - INFO - Derived pedestal correction 0.02334722646022967 DN/s
2026-04-15 21:27:25,713 - jwst.straylight.straylight - INFO - Cross-artifact model complete.
2026-04-15 21:27:25,716 - stpipe.step - INFO - Step straylight done
2026-04-15 21:27:25,918 - stpipe.step - INFO - Step flat_field running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:27:25,970 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:27:25,977 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/miri/jwst_miri_flat_0820.fits
2026-04-15 21:27:25,978 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-04-15 21:27:25,979 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-04-15 21:27:25,979 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-04-15 21:27:26,042 - stpipe.step - INFO - Step flat_field done
2026-04-15 21:27:26,240 - stpipe.step - INFO - Step fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:27:26,244 - jwst.fringe.fringe_step - INFO - Using FRINGE reference file: /home/runner/crds/references/jwst/miri/jwst_miri_fringe_0072.fits
2026-04-15 21:27:26,282 - stdatamodels.dynamicdq - WARNING - Keyword CDP_PARTIAL_DATA does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:27:26,283 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:27:26,284 - stdatamodels.dynamicdq - WARNING - Keyword CDP_UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:27:26,320 - stpipe.step - INFO - Step fringe done
2026-04-15 21:27:26,517 - stpipe.step - INFO - Step pathloss running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:27:26,518 - stpipe.step - INFO - Step skipped.
2026-04-15 21:27:26,715 - stpipe.step - INFO - Step barshadow running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:27:26,716 - stpipe.step - INFO - Step skipped.
2026-04-15 21:27:26,911 - stpipe.step - INFO - Step photom running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:27:26,918 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/miri/jwst_miri_photom_0224.fits
2026-04-15 21:27:26,918 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-04-15 21:27:26,919 - jwst.photom.photom - INFO - Using instrument: MIRI
2026-04-15 21:27:26,920 - jwst.photom.photom - INFO -  detector: MIRIFUSHORT
2026-04-15 21:27:26,921 - jwst.photom.photom - INFO -  exp_type: MIR_MRS
2026-04-15 21:27:26,921 - jwst.photom.photom - INFO -  band: SHORT
2026-04-15 21:27:27,006 - stdatamodels.dynamicdq - WARNING - Keyword CDP_LOW_QUAL does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 21:27:27,025 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-04-15 21:27:27,026 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-04-15 21:27:27,060 - jwst.photom.photom - INFO - Applying MRS IFU time dependent correction.
2026-04-15 21:27:27,511 - stpipe.step - INFO - Step photom done
2026-04-15 21:27:27,713 - stpipe.step - INFO - Step residual_fringe running with args (<IFUImageModel(1024, 1032) from jw01523004001_02105_00002_mirifushort_rate.fits>,).
2026-04-15 21:27:27,715 - stpipe.step - INFO - Step skipped.
2026-04-15 21:27:28,480 - stpipe.step - INFO - Step adaptive_trace_model running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifushort_cal.fits>,).
2026-04-15 21:27:28,482 - stpipe.step - INFO - Step skipped.
2026-04-15 21:27:28,722 - stpipe.step - INFO - Step pixel_replace running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifushort_cal.fits>,).
2026-04-15 21:27:28,723 - stpipe.step - INFO - Step skipped.
2026-04-15 21:27:28,960 - stpipe.step - INFO - Step cube_build running with args (<IFUImageModel(1024, 1032) from ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifushort_cal.fits>,).
2026-04-15 21:27:28,961 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:27:28,962 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:27:28,962 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:27:28,963 - jwst.cube_build.cube_build_step - INFO - Setting output type to: multi
2026-04-15 21:27:28,973 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['1', '2']
2026-04-15 21:27:28,974 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['short', 'short']
2026-04-15 21:27:28,975 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:27:29,281 - jwst.cube_build.cube_build - INFO - Output IFUcube are constructed from all the data 
2026-04-15 21:27:29,282 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 1
2026-04-15 21:27:29,286 - jwst.cube_build.ifu_cube - INFO - Increasing spatial region of interest default value set for 4 dithers nan
2026-04-15 21:27:29,289 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:27:29,290 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:27:29,291 - jwst.cube_build.ifu_cube - INFO - Axis 1    47  24.00  81.03183537   0.13000000  -3.05499989   3.05499989
2026-04-15 21:27:29,291 - jwst.cube_build.ifu_cube - INFO - Axis 2    49  25.00 -70.07715364   0.13000000  -3.18499988   3.18499988
2026-04-15 21:27:29,292 - jwst.cube_build.ifu_cube - INFO - Non-linear wavelength dimension; CDELT3 variable
2026-04-15 21:27:29,293 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL     Min & Max (microns)
2026-04-15 21:27:29,294 - jwst.cube_build.ifu_cube - INFO - Axis 3  4404   1.00   4.90000010   4.90000010   8.77080059
2026-04-15 21:27:29,295 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 1, short
2026-04-15 21:27:29,295 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 2, short
2026-04-15 21:27:29,296 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['short']
2026-04-15 21:27:29,297 - jwst.cube_build.ifu_cube - INFO - Output Name: ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifushort_s3d.fits
2026-04-15 21:27:30,273 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3697 with wavelength below 4.899390697479248
2026-04-15 21:27:36,392 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2597 with wavelength above 8.772054672241211
2026-04-15 21:27:42,610 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:27:42,612 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:27:42,629 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 1
2026-04-15 21:27:43,018 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.029397867 -70.078020289 81.029397867 -70.076286956 81.034272875 -70.076286956 81.034272875 -70.078020289
2026-04-15 21:27:43,022 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:27:43,163 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifushort_s3d.fits
2026-04-15 21:27:43,447 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c739917d0>,).
2026-04-15 21:27:43,451 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:27:43,455 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf
2026-04-15 21:27:43,458 - jwst.extract_1d.extract_1d_step - INFO - Turning off residual fringe correction for MIRI MRS data because the input is not a single IFU band
2026-04-15 21:27:43,459 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:27:43,796 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:27:43,809 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:27:44,176 - py.warnings - WARNING - /home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/photutils/detection/daofinder.py:750: NoDetectionsWarning: No sources were found.
  warnings.warn('No sources were found.', NoDetectionsWarning)
2026-04-15 21:27:44,176 - jwst.extract_1d.ifu - WARNING - Auto source detection failed.
2026-04-15 21:27:44,177 - jwst.extract_1d.ifu - INFO - Using target coordinates.
2026-04-15 21:27:44,180 - jwst.extract_1d.ifu - INFO - Using x_center = 28, y_center = 17, based on TARG_RA and TARG_DEC
2026-04-15 21:28:06,147 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:28:07,309 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:28:09,883 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifushort_x1d.fits
2026-04-15 21:28:09,884 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:28:09,885 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/MIRI/MRS/mrs_demo_data/Obs004/stage1/jw01523004001_02105_00002_mirifushort
2026-04-15 21:28:09,888 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 21:28:09,889 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 21:28:10,290 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs004/stage2/jw01523004001_02105_00002_mirifushort_cal.fits
2026-04-15 21:28:10,291 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 21:28:10,291 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
# Print out the time benchmark
time1 = time.perf_counter()
print(f"Runtime so far: {time1 - time0:0.4f} seconds")
print(f"Runtime for Spec2: {time1 - time_spec2} seconds")
Runtime so far: 4476.8553 seconds
Runtime for Spec2: 3732.169375523 seconds

7.-Spec3 Pipeline#

In this section we’ll run the Spec3 (calwebb_spec3) pipeline to produce a composite data cube and extracted spectrumfrom all dithered exposures. We will need to create an association file from all science (*cal.fits) and background (*x1d.fits) data in order for the pipeline to use them appropriately.

Note that the data cubes created by the JWST pipeline are in SURFACE BRIGHTNESS units (MJy/steradian), not flux units. What that means is that if you intend to sum spectra within an aperture you need to be sure to multiply by the pixel area in steradians first in order to get a spectrum in flux units. This correction is already build into the pipeline Extract1D algorithm. The nominal pixel area in steradians is provided in the PIXAR_SR keyword and can be found in the SCI extension header.

Spectral extraction for point sources uses a conical aperture extraction whose radius increases with wavelength, with annular background subtraction and aperture correction. Spectral extraction for extended sources sums the entire image at each wavelength plane (note this is different for each channel).

See https://jwst-docs.stsci.edu/jwst-science-calibration-pipeline/stages-of-jwst-data-processing/calwebb_spec3

If master background subtraction was selected above this will be applied during this stage.

To override certain steps and reference files use the examples below.
time_spec3 = time.perf_counter()
# Set up a dictionary to define how the Spec3 pipeline should be configured

# Boilerplate dictionary setup
spec3dict = defaultdict(dict)

# Overrides for whether or not certain steps should be skipped (example)
#spec3dict['outlier_detection']['skip'] = True

# Master background usage was set up above, propagate that here
if (master_bg is True):
    spec3dict['master_background']['skip'] = False
else:
    spec3dict['master_background']['skip'] = True

# Overrides for various reference files
# Files should be in the base local directory or provide full path
#spec3dict['cube_build']['override_cubepar'] = 'myfile.fits'  # Cube-building parameters
#spec3dict['extract_1d']['override_extract1d'] = 'myfile.asdf'  # Spectral extraction parameters (ASDF file)
#spec3dict['extract_1d']['override_apcorr'] = 'myfile.asdf'  # Aperture correction parameters (ASDF file)
Set certain parameters here to:
  • adjusting performance for the outlier detection step

  • adjust the cube building step

  • adjust the 1d spectral extraction

# Options for adjusting performance for the outlier detection step
#spec3dict['outlier_detection']['kernel_size'] = '11 1'  # Dial this to adjust the detector kernel size
#spec3dict['outlier_detection']['threshold_percent'] = 99.5  # Dial this to be more/less aggressive in outlier flagging (values closer to 100% are less aggressive)

# Run adaptive trace model code if desired to mitigate resampling noise
#spec3dict['adaptive_trace_model']['skip'] = False

# Run pixel replacement code to extrapolate values for otherwise bad pixels
# This can help mitigate 5-10% negative dips in spectra of bright sources
# Use the 'mingrad' algorithm
spec3dict['pixel_replace']['skip'] = False
spec3dict['pixel_replace']['algorithm'] = 'mingrad'
#spec3dict['pixel_replace']['save_results'] = True # Enable if desired to write out these files for spot checking

# Options for adjusting the cube building step
#spec3dict['cube_build']['output_file'] = 'mycube'  # Custom output name
spec3dict['cube_build']['output_type'] = 'band'  # 'band', 'channel' (default), or 'multi' type cube output.  'band' is best for 1d residual fringe correction.
#spec3dict['cube_build']['channel'] = '1'  # Build everything from just channel 1 into a single cube (we could also choose '2','3','4', or 'ALL')
#spec3dict['cube_build']['weighting'] = 'drizzle'  # Algorithm used: 'emsm' or 'drizzle' (default)
#spec3dict['cube_build']['coord_system'] = 'ifualign'  # Cube rotation: 'ifualign', 'skyalign' (default), or 'internal_cal'
#spec3dict['cube_build']['scalexy'] = 0.5  # Output cube spaxel scale (arcsec) if setting it by hand
#spec3dict['cube_build']['scalew'] = 0.002  # Output cube voxel depth in wavelength (micron) if setting it by hand
#spec3dict['cube_build']['ra_center'] = 65.0  # Force cube to be centered at this R.A.
#spec3dict['cube_build']['dec_center'] = -35.0  # Force cube to be centered at this Decl.
#spec3dict['cube_build']['cube_pa'] = 45.0  # Force cube to have this position angle
#spec3dict['cube_build']['nspax_x'] = 61  # Force cube to have this number of spaxels in cube X direction
#spec3dict['cube_build']['nspax_y'] = 61  # Force cube to have this number of spaxels in cube Y direction
#spec3dict['cube_build']['wavemin'] = 4.8  # Custom minimum wavelength for the cube
#spec3dict['cube_build']['wavemax'] = 6.3  # Custom maximum wavelength for the cube

# Options for adjusting the 1d spectral extraction
#spec3dict['extract_1d']['ifu_set_srctype'] = 'POINT' # Force a certain type of spectral extraction ('POINT' or 'EXTENDED')
#spec3dict['extract_1d']['ifu_rscale'] = 2  # Number of FWHM to use for point-source conical aperture extraction radius (default is 2)
spec3dict['extract_1d']['ifu_autocen'] = True  # Enable auto-centering of the extraction aperture (default is True)
#spec3dict['extract_1d']['center_xy'] = (20,20)  # Override aperture location if desired

Define a function to create association files for Stage 3.

def writel3asn(scifiles, bgfiles, asnfile, prodname):
    # Define the basic association of science files
    asn = afl.asn_from_list(scifiles, rule=DMS_Level3_Base, product_name=prodname)

    # Add background files to the association
    for file in bgfiles:
        asn['products'][0]['members'].append({'expname': file, 'exptype': 'background'})

    # Write the association to a json file
    _, serialized = asn.dump()
    with open(asnfile, 'w') as outfile:
        outfile.write(serialized)

Find and sort all of the input files, ensuring use of absolute paths

# Science Files need the cal.fits files
sstring = os.path.join(spec2_dir, 'jw*mirifu*_cal.fits')
calfiles = sorted(glob.glob(sstring))
for ii in range(0, len(calfiles)):
    calfiles[ii] = os.path.abspath(calfiles[ii])
calfiles = np.array(calfiles)
# Check that these are the band/channel to use
calfiles = select_ch_band_files(calfiles, use_ch, use_band)

# Background Files need the x1d.fits files for Master Background subtraction
sstring = os.path.join(spec2_bgdir, 'jw*mirifu*x1d.fits')
bgfiles = sorted(glob.glob(sstring))
for ii in range(0, len(bgfiles)):
    bgfiles[ii] = os.path.abspath(bgfiles[ii])
bgfiles = np.array(bgfiles)
# Check that these are the band/channel to use
bgfiles = select_ch_band_files(bgfiles, use_ch, use_band)

print('Found ' + str(len(calfiles)) + ' science files to process')
print('Found ' + str(len(bgfiles)) + ' background files to process')
Found 24 science files to process
Found 12 background files to process

Make an association file that includes all of the different exposures. If using Master Background subtraction include the background data.

Note that science data must be of type cal.fits and background exposures must be of type x1d.fits
asnfile = os.path.join(sci_dir, 'l3asn.json')
if dospec3:
    writel3asn(calfiles, bgfiles, asnfile, 'Level3')
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
  warnings.warn(err_str, UserWarning, stacklevel=1)

Run calwebb_spec3 using the call method.

if dospec3:
    Spec3Pipeline.call(asnfile, steps=spec3dict, save_results=True, output_dir=spec3_dir)
else:
    print('Skipping Spec3 processing')
2026-04-15 21:28:10,495 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_pars-outlierdetectionstep_0052.asdf    1.2 K bytes  (1 / 1 files) (0 / 1.2 K bytes)
2026-04-15 21:28:10,726 - stpipe.step - INFO - PARS-OUTLIERDETECTIONSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-outlierdetectionstep_0052.asdf
2026-04-15 21:28:10,736 - stpipe.step - INFO - PARS-ADAPTIVETRACEMODELSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-adaptivetracemodelstep_0001.asdf
2026-04-15 21:28:10,745 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-resamplespecstep_0001.asdf
2026-04-15 21:28:10,753 - stpipe.step - INFO - PARS-EXTRACT1DSTEP parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-extract1dstep_0001.asdf
2026-04-15 21:28:10,764 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec3pipeline_0009.asdf    2.7 K bytes  (1 / 1 files) (0 / 2.7 K bytes)
2026-04-15 21:28:10,856 - stpipe.pipeline - INFO - PARS-SPEC3PIPELINE parameters found: /home/runner/crds/references/jwst/miri/jwst_miri_pars-spec3pipeline_0009.asdf
2026-04-15 21:28:10,872 - stpipe.step - INFO - Spec3Pipeline instance created.
2026-04-15 21:28:10,872 - stpipe.step - INFO - AssignMTWcsStep instance created.
2026-04-15 21:28:10,873 - stpipe.step - INFO - MasterBackgroundStep instance created.
2026-04-15 21:28:10,875 - stpipe.step - INFO - OutlierDetectionStep instance created.
2026-04-15 21:28:10,876 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 21:28:10,877 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 21:28:10,878 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 21:28:10,879 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 21:28:10,881 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 21:28:10,882 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 21:28:10,883 - stpipe.step - INFO - Combine1dStep instance created.
2026-04-15 21:28:10,883 - stpipe.step - INFO - SpectralLeakStep instance created.
2026-04-15 21:28:11,105 - stpipe.step - INFO - Step Spec3Pipeline running with args ('./mrs_demo_data/Obs003/l3asn.json',).
2026-04-15 21:28:11,121 - stpipe.step - INFO - Step Spec3Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: ./mrs_demo_data/Obs003/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: ''
  steps:
    assign_mtwcs:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: assign_mtwcs
      search_output_file: True
      input_dir: ''
    master_background:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      median_kernel: 1
      user_background: None
      save_background: False
      force_subtract: False
    outlier_detection:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: False
      input_dir: ''
      weight_type: ivm
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      maskpt: 0.7
      snr: 5.0 4.0
      scale: 1.2 0.7
      backg: 0.0
      kernel_size: 11 1
      threshold_percent: 99.5
      rolling_window_width: 25
      ifu_second_check: False
      save_intermediate_results: False
      resample_data: True
      good_bits: ~DO_NOT_USE
      in_memory: True
      pixmap_stepsize: 1.0
      pixmap_order: 1
    adaptive_trace_model:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: True
      suffix: None
      search_output_file: True
      input_dir: ''
      fit_threshold: 10.0
      oversample: 3
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
    pixel_replace:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      algorithm: mingrad
      n_adjacent_cols: 3
    resample_spec:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      pixfrac: 1.0
      kernel: square
      fillval: NAN
      weight_type: exptime
      output_shape: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      propagate_dq: False
    cube_build:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: True
      output_use_index: True
      save_results: False
      skip: False
      suffix: s3d
      search_output_file: False
      input_dir: ''
      pipeline: 3
      channel: all
      band: all
      grating: all
      filter: all
      output_type: band
      linear_wave: True
      scalexy: 0.0
      scalew: 0.0
      weighting: drizzle
      coord_system: skyalign
      ra_center: None
      dec_center: None
      cube_pa: None
      nspax_x: None
      nspax_y: None
      rois: 0.0
      roiw: 0.0
      weight_power: 2.0
      wavemin: None
      wavemax: None
      single: False
      skip_dqflagging: False
      offset_file: None
      debug_spaxel: -1 -1 -1
    extract_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      subtract_background: None
      apply_apcorr: True
      extraction_type: box
      use_source_posn: None
      position_offset: 0.0
      model_nod_pair: True
      optimize_psf_location: True
      smoothing_length: None
      bkg_fit: None
      bkg_order: None
      log_increment: 50
      save_profile: False
      save_scene_model: False
      save_residual_image: False
      center_xy: None
      ifu_autocen: True
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.8
      soss_atoca: True
      soss_threshold: 0.01
      soss_n_os: 2
      soss_wave_grid_in: None
      soss_wave_grid_out: None
      soss_estimate: None
      soss_rtol: 0.0001
      soss_max_grid_size: 20000
      soss_tikfac: None
      soss_width: 40.0
      soss_bad_pix: masking
      soss_modelname: None
      soss_order_3: True
    photom:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      inverse: False
      source_type: None
      apply_time_correction: True
    combine_1d:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      exptime_key: exposure_time
      sigma_clip: None
    spectral_leak:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
2026-04-15 21:28:11,270 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'l3asn.json' reftypes = ['apcorr', 'area', 'cubepar', 'extract1d', 'mrsptcorr', 'pastasoss', 'photom', 'psf', 'speckernel', 'specprofile']
2026-04-15 21:28:11,272 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_mrsptcorr_0002.fits   49.0 K bytes  (1 / 1 files) (0 / 49.0 K bytes)
2026-04-15 21:28:11,351 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0008.asdf'.
2026-04-15 21:28:11,352 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-04-15 21:28:11,353 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits'.
2026-04-15 21:28:11,353 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf'.
2026-04-15 21:28:11,354 - stpipe.pipeline - INFO - Prefetch for MRSPTCORR reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_mrsptcorr_0002.fits'.
2026-04-15 21:28:11,354 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 21:28:11,355 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/miri/jwst_miri_photom_0225.fits'.
2026-04-15 21:28:11,355 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 21:28:11,356 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 21:28:11,356 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 21:28:11,358 - jwst.pipeline.calwebb_spec3 - INFO - Starting calwebb_spec3 ...
2026-04-15 21:28:32,959 - stpipe.step - INFO - Step master_background running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c73972a50>,).
2026-04-15 21:28:32,964 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-04-15 21:28:33,621 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1, slit MIR_MRS
2026-04-15 21:28:33,627 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2, slit MIR_MRS
2026-04-15 21:28:33,636 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3, slit MIR_MRS
2026-04-15 21:28:33,642 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4, slit MIR_MRS
2026-04-15 21:28:33,651 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 5, slit MIR_MRS
2026-04-15 21:28:33,657 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 6, slit MIR_MRS
2026-04-15 21:28:33,666 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 7, slit MIR_MRS
2026-04-15 21:28:33,672 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 8, slit MIR_MRS
2026-04-15 21:28:33,681 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 9, slit MIR_MRS
2026-04-15 21:28:33,688 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 10, slit MIR_MRS
2026-04-15 21:28:33,698 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 11, slit MIR_MRS
2026-04-15 21:28:33,704 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 12, slit MIR_MRS
2026-04-15 21:28:33,716 - jwst.combine_1d.combine1d - WARNING - 6 elements of output had no corresponding input data;
2026-04-15 21:28:33,716 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-04-15 21:28:58,185 - stpipe.step - INFO - Step master_background done
2026-04-15 21:28:59,914 - stpipe.step - INFO - Step outlier_detection running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c73e88150>,).
2026-04-15 21:28:59,915 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection mode: ifu
2026-04-15 21:28:59,916 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection asn_id: a3001
2026-04-15 21:28:59,917 - jwst.outlier_detection.ifu - INFO - Performing IFU outlier_detection for exptype MIR_MRS
2026-04-15 21:29:00,816 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:00,830 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:00,844 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:00,857 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:00,871 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:00,885 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:00,899 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:00,914 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:00,927 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:00,941 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:00,954 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:00,966 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 3692 (0.35%)
2026-04-15 21:29:01,739 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:01,753 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:01,767 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:01,782 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:01,796 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:01,810 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:01,826 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:01,841 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:01,856 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:01,871 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:01,885 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:01,899 - jwst.outlier_detection.ifu - INFO - Total # pixels flagged as outliers: 4083 (0.39%)
2026-04-15 21:29:02,439 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03102_00001_mirifulong_a3001_crf.fits
2026-04-15 21:29:02,851 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03102_00001_mirifushort_a3001_crf.fits
2026-04-15 21:29:03,184 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03102_00002_mirifulong_a3001_crf.fits
2026-04-15 21:29:03,594 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03102_00002_mirifushort_a3001_crf.fits
2026-04-15 21:29:03,942 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03102_00003_mirifulong_a3001_crf.fits
2026-04-15 21:29:04,363 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03102_00003_mirifushort_a3001_crf.fits
2026-04-15 21:29:04,700 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03102_00004_mirifulong_a3001_crf.fits
2026-04-15 21:29:05,107 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03102_00004_mirifushort_a3001_crf.fits
2026-04-15 21:29:05,440 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03104_00001_mirifulong_a3001_crf.fits
2026-04-15 21:29:05,859 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03104_00001_mirifushort_a3001_crf.fits
2026-04-15 21:29:06,204 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03104_00002_mirifulong_a3001_crf.fits
2026-04-15 21:29:06,663 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03104_00002_mirifushort_a3001_crf.fits
2026-04-15 21:29:07,035 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03104_00003_mirifulong_a3001_crf.fits
2026-04-15 21:29:07,486 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03104_00003_mirifushort_a3001_crf.fits
2026-04-15 21:29:07,870 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03104_00004_mirifulong_a3001_crf.fits
2026-04-15 21:29:08,322 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03104_00004_mirifushort_a3001_crf.fits
2026-04-15 21:29:08,692 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03106_00001_mirifulong_a3001_crf.fits
2026-04-15 21:29:09,142 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03106_00001_mirifushort_a3001_crf.fits
2026-04-15 21:29:09,519 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03106_00002_mirifulong_a3001_crf.fits
2026-04-15 21:29:10,881 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03106_00002_mirifushort_a3001_crf.fits
2026-04-15 21:29:11,255 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03106_00003_mirifulong_a3001_crf.fits
2026-04-15 21:29:11,721 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03106_00003_mirifushort_a3001_crf.fits
2026-04-15 21:29:12,090 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03106_00004_mirifulong_a3001_crf.fits
2026-04-15 21:29:12,546 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/jw01523003001_03106_00004_mirifushort_a3001_crf.fits
2026-04-15 21:29:12,552 - stpipe.step - INFO - Step outlier_detection done
2026-04-15 21:29:13,475 - stpipe.step - INFO - Step adaptive_trace_model running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c73e88150>,).
2026-04-15 21:29:13,477 - stpipe.step - INFO - Step skipped.
2026-04-15 21:29:14,606 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c73e88150>,).
2026-04-15 21:29:14,610 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:14,721 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 3994 total pixels replaced.
2026-04-15 21:29:14,724 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:14,835 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4577 total pixels replaced.
2026-04-15 21:29:14,839 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:14,954 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 3991 total pixels replaced.
2026-04-15 21:29:14,958 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:15,068 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4581 total pixels replaced.
2026-04-15 21:29:15,072 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:15,188 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 3989 total pixels replaced.
2026-04-15 21:29:15,191 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:15,301 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4593 total pixels replaced.
2026-04-15 21:29:15,305 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:15,420 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 3992 total pixels replaced.
2026-04-15 21:29:15,423 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:15,534 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4581 total pixels replaced.
2026-04-15 21:29:15,538 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:15,650 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4124 total pixels replaced.
2026-04-15 21:29:15,654 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:15,760 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4597 total pixels replaced.
2026-04-15 21:29:15,764 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:15,875 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4123 total pixels replaced.
2026-04-15 21:29:15,878 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:15,983 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4598 total pixels replaced.
2026-04-15 21:29:15,987 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:16,097 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4127 total pixels replaced.
2026-04-15 21:29:16,102 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:16,208 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4595 total pixels replaced.
2026-04-15 21:29:16,211 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:16,324 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4123 total pixels replaced.
2026-04-15 21:29:16,328 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:16,436 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4592 total pixels replaced.
2026-04-15 21:29:16,441 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:16,554 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4142 total pixels replaced.
2026-04-15 21:29:16,559 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:16,675 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4671 total pixels replaced.
2026-04-15 21:29:16,679 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:16,793 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4138 total pixels replaced.
2026-04-15 21:29:16,797 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:16,906 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4671 total pixels replaced.
2026-04-15 21:29:16,910 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:17,028 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4142 total pixels replaced.
2026-04-15 21:29:17,033 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:17,149 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4670 total pixels replaced.
2026-04-15 21:29:17,153 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:17,267 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4135 total pixels replaced.
2026-04-15 21:29:17,271 - jwst.pixel_replace.pixel_replace - INFO - Using minimum gradient method.
2026-04-15 21:29:17,383 - jwst.pixel_replace.pixel_replace - INFO - Input MRS frame had 4670 total pixels replaced.
2026-04-15 21:29:17,622 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 21:29:18,504 - stpipe.step - INFO - Step cube_build running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c73e88150>,).
2026-04-15 21:29:18,505 - jwst.cube_build.cube_build_step - INFO - Starting IFU Cube Building Step
2026-04-15 21:29:18,506 - jwst.cube_build.cube_build_step - INFO - Input interpolation: drizzle
2026-04-15 21:29:18,507 - jwst.cube_build.cube_build_step - INFO - Coordinate system to use: skyalign
2026-04-15 21:29:18,507 - jwst.cube_build.cube_build_step - INFO - Setting output type to: band
2026-04-15 21:29:18,710 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI Channels: ['1', '1', '1', '2', '2', '2', '3', '3', '3', '4', '4', '4']
2026-04-15 21:29:18,711 - jwst.cube_build.cube_build - INFO - The desired cubes cover the MIRI subchannels: ['short', 'medium', 'long', 'short', 'medium', 'long', 'short', 'medium', 'long', 'short', 'medium', 'long']
2026-04-15 21:29:18,712 - jwst.cube_build.cube_build - INFO - Reading cube parameter file /home/runner/crds/references/jwst/miri/jwst_miri_cubepar_0014.fits
2026-04-15 21:29:19,058 - jwst.cube_build.cube_build - INFO - Output Cubes are single channel, single sub-channel IFU Cubes
2026-04-15 21:29:19,059 - jwst.cube_build.cube_build_step - INFO - Number of IFU cubes produced by this run = 12
2026-04-15 21:29:19,060 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:29:19,260 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:29:19,476 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:29:19,690 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:29:19,908 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:29:19,909 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:29:19,910 - jwst.cube_build.ifu_cube - INFO - Axis 1    47  24.00  81.08656489   0.13000000  -3.05499989   3.05499989
2026-04-15 21:29:19,911 - jwst.cube_build.ifu_cube - INFO - Axis 2    67  34.00 -70.08390300   0.13000000  -4.35499984   4.35499984
2026-04-15 21:29:19,912 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:29:19,912 - jwst.cube_build.ifu_cube - INFO - Axis 3  1050   1.00   4.90040010   0.00080000   4.90000010   5.74000007
2026-04-15 21:29:19,913 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 1, short
2026-04-15 21:29:19,914 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['short']
2026-04-15 21:29:19,915 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch1-short
2026-04-15 21:29:20,962 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3379 with wavelength below 4.898601539532876
2026-04-15 21:29:20,963 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3474 with wavelength above 5.741398629981802
2026-04-15 21:29:25,985 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3379 with wavelength below 4.89860153953351
2026-04-15 21:29:25,987 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3474 with wavelength above 5.741398629981169
2026-04-15 21:29:30,980 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3379 with wavelength below 4.898601539532876
2026-04-15 21:29:30,981 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3474 with wavelength above 5.741398629981802
2026-04-15 21:29:35,938 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3379 with wavelength below 4.89860153953351
2026-04-15 21:29:35,939 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3474 with wavelength above 5.741398629981169
2026-04-15 21:29:39,914 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:29:39,915 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:29:39,922 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:29:40,284 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:29:40,483 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:29:40,696 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:29:40,909 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:29:41,125 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:29:41,126 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:29:41,127 - jwst.cube_build.ifu_cube - INFO - Axis 1    47  24.00  81.08648228   0.13000000  -3.05499989   3.05499989
2026-04-15 21:29:41,129 - jwst.cube_build.ifu_cube - INFO - Axis 2    67  34.00 -70.08388400   0.13000000  -4.35499984   4.35499984
2026-04-15 21:29:41,131 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:29:41,132 - jwst.cube_build.ifu_cube - INFO - Axis 3  1213   1.00   5.66039985   0.00080000   5.65999985   6.63039982
2026-04-15 21:29:41,133 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 1, medium
2026-04-15 21:29:41,134 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['medium']
2026-04-15 21:29:41,136 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch1-medium
2026-04-15 21:29:42,138 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3662 with wavelength below 5.658443765540777
2026-04-15 21:29:42,139 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3170 with wavelength above 6.631955904769076
2026-04-15 21:29:47,413 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3662 with wavelength below 5.658443765540777
2026-04-15 21:29:47,414 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3170 with wavelength above 6.631955904769076
2026-04-15 21:29:52,679 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3662 with wavelength below 5.658443765540777
2026-04-15 21:29:52,681 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3170 with wavelength above 6.631955904769076
2026-04-15 21:29:57,979 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3662 with wavelength below 5.658443765540777
2026-04-15 21:29:57,980 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3170 with wavelength above 6.631955904769076
2026-04-15 21:30:02,333 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:30:02,334 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:30:02,341 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:30:02,717 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:30:02,918 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:30:03,131 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:30:03,343 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:30:03,556 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:30:03,557 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:30:03,558 - jwst.cube_build.ifu_cube - INFO - Axis 1    47  24.00  81.08657274   0.13000000  -3.05499989   3.05499989
2026-04-15 21:30:03,558 - jwst.cube_build.ifu_cube - INFO - Axis 2    67  34.00 -70.08395599   0.13000000  -4.35499984   4.35499984
2026-04-15 21:30:03,559 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:30:03,560 - jwst.cube_build.ifu_cube - INFO - Axis 3  1400   1.00   6.53040021   0.00080000   6.53000021   7.65000018
2026-04-15 21:30:03,561 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 1, long
2026-04-15 21:30:03,562 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['long']
2026-04-15 21:30:03,562 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch1-long
2026-04-15 21:30:04,562 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3033 with wavelength below 6.528268498504163
2026-04-15 21:30:04,564 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 4193 with wavelength above 7.651731892818956
2026-04-15 21:30:10,222 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3033 with wavelength below 6.528268498504163
2026-04-15 21:30:10,223 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 4193 with wavelength above 7.651731892818956
2026-04-15 21:30:15,864 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3033 with wavelength below 6.528268498504163
2026-04-15 21:30:15,865 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 4193 with wavelength above 7.651731892818956
2026-04-15 21:30:21,517 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 3033 with wavelength below 6.528268498505007
2026-04-15 21:30:21,518 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 4193 with wavelength above 7.651731892818113
2026-04-15 21:30:26,245 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:30:26,246 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:30:26,254 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:30:26,637 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:30:26,637 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:30:26,638 - jwst.cube_build.ifu_cube - INFO - Axis 1    43  22.00  81.08650716   0.17000000  -3.65500004   3.65500004
2026-04-15 21:30:26,639 - jwst.cube_build.ifu_cube - INFO - Axis 2    59  30.00 -70.08382768   0.17000000  -5.01500005   5.01500005
2026-04-15 21:30:26,640 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:30:26,641 - jwst.cube_build.ifu_cube - INFO - Axis 3   970   1.00   7.51065023   0.00130000   7.51000023   8.77100023
2026-04-15 21:30:26,642 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 2, short
2026-04-15 21:30:26,642 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['short']
2026-04-15 21:30:26,643 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch2-short
2026-04-15 21:30:27,576 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2433 with wavelength below 7.507832450399061
2026-04-15 21:30:27,577 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2271 with wavelength above 8.773168010797466
2026-04-15 21:30:32,120 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2433 with wavelength below 7.507832450400023
2026-04-15 21:30:32,121 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2271 with wavelength above 8.773168010796503
2026-04-15 21:30:36,614 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2433 with wavelength below 7.507832450399061
2026-04-15 21:30:36,615 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2271 with wavelength above 8.773168010797466
2026-04-15 21:30:41,159 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2433 with wavelength below 7.507832450400023
2026-04-15 21:30:41,160 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2271 with wavelength above 8.773168010796503
2026-04-15 21:30:44,802 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:30:44,803 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:30:44,808 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:30:45,152 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:30:45,153 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:30:45,154 - jwst.cube_build.ifu_cube - INFO - Axis 1    41  21.00  81.08646099   0.17000000  -3.48500004   3.48500004
2026-04-15 21:30:45,155 - jwst.cube_build.ifu_cube - INFO - Axis 2    59  30.00 -70.08374249   0.17000000  -5.01500005   5.01500005
2026-04-15 21:30:45,155 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:30:45,156 - jwst.cube_build.ifu_cube - INFO - Axis 3  1124   1.00   8.67065008   0.00130000   8.67000008  10.13120008
2026-04-15 21:30:45,157 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 2, medium
2026-04-15 21:30:45,157 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['medium']
2026-04-15 21:30:45,158 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch2-medium
2026-04-15 21:30:46,108 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 1537 with wavelength below 8.667601400109556
2026-04-15 21:30:46,109 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2126 with wavelength above 10.1335987564562
2026-04-15 21:30:50,934 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 1537 with wavelength below 8.667601400109556
2026-04-15 21:30:50,936 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2126 with wavelength above 10.1335987564562
2026-04-15 21:30:55,757 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 1537 with wavelength below 8.667601400109556
2026-04-15 21:30:55,761 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2126 with wavelength above 10.1335987564562
2026-04-15 21:31:00,577 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 1537 with wavelength below 8.667601400109556
2026-04-15 21:31:00,578 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2126 with wavelength above 10.1335987564562
2026-04-15 21:31:04,508 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:31:04,509 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:31:04,515 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:31:04,857 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:31:04,858 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:31:04,859 - jwst.cube_build.ifu_cube - INFO - Axis 1    43  22.00  81.08634942   0.17000000  -3.65500004   3.65500004
2026-04-15 21:31:04,860 - jwst.cube_build.ifu_cube - INFO - Axis 2    59  30.00 -70.08379061   0.17000000  -5.01500005   5.01500005
2026-04-15 21:31:04,860 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:31:04,861 - jwst.cube_build.ifu_cube - INFO - Axis 3  1300   1.00  10.01065023   0.00130000  10.01000023  11.70000023
2026-04-15 21:31:04,862 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 2, long
2026-04-15 21:31:04,862 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['long']
2026-04-15 21:31:04,863 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch2-long
2026-04-15 21:31:05,816 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 984 with wavelength below 10.007327663197035
2026-04-15 21:31:05,817 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2080 with wavelength above 11.70267279916737
2026-04-15 21:31:11,021 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 984 with wavelength below 10.007327663197035
2026-04-15 21:31:11,022 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2080 with wavelength above 11.70267279916737
2026-04-15 21:31:16,253 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 984 with wavelength below 10.007327663197035
2026-04-15 21:31:16,255 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2080 with wavelength above 11.70267279916737
2026-04-15 21:31:21,470 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 984 with wavelength below 10.007327663198316
2026-04-15 21:31:21,471 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 2080 with wavelength above 11.70267279916609
2026-04-15 21:31:25,789 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:31:25,790 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:31:25,797 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:31:26,147 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:31:26,338 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:31:26,544 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:31:26,749 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:31:26,956 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:31:26,957 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:31:26,957 - jwst.cube_build.ifu_cube - INFO - Axis 1    49  25.00  81.08704168   0.20000000  -4.90000007   4.90000007
2026-04-15 21:31:26,958 - jwst.cube_build.ifu_cube - INFO - Axis 2    59  30.00 -70.08381667   0.20000000  -5.90000009   5.90000009
2026-04-15 21:31:26,959 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:31:26,960 - jwst.cube_build.ifu_cube - INFO - Axis 3   769   1.00  11.55125019   0.00250000  11.55000019  13.47250015
2026-04-15 21:31:26,961 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 3, short
2026-04-15 21:31:26,962 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['short']
2026-04-15 21:31:26,962 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch3-short
2026-04-15 21:31:27,899 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 1806 with wavelength below 11.546439300025126
2026-04-15 21:31:27,902 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 157 with wavelength above 13.476061038473377
2026-04-15 21:31:32,563 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 1806 with wavelength below 11.54643930002659
2026-04-15 21:31:32,565 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 157 with wavelength above 13.476061038471913
2026-04-15 21:31:37,211 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 1806 with wavelength below 11.54643930002659
2026-04-15 21:31:37,212 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 157 with wavelength above 13.476061038471913
2026-04-15 21:31:41,880 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 1806 with wavelength below 11.546439300025126
2026-04-15 21:31:41,882 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 157 with wavelength above 13.476061038473377
2026-04-15 21:31:45,656 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:31:45,657 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:31:45,662 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:31:45,989 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:31:46,179 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:31:46,385 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:31:46,590 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:31:46,798 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:31:46,799 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:31:46,800 - jwst.cube_build.ifu_cube - INFO - Axis 1    47  24.00  81.08699522   0.20000000  -4.70000007   4.70000007
2026-04-15 21:31:46,801 - jwst.cube_build.ifu_cube - INFO - Axis 2    59  30.00 -70.08375904   0.20000000  -5.90000009   5.90000009
2026-04-15 21:31:46,801 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:31:46,802 - jwst.cube_build.ifu_cube - INFO - Axis 3   892   1.00  13.34125015   0.00250000  13.34000015  15.57000010
2026-04-15 21:31:46,803 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 3, medium
2026-04-15 21:31:46,804 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['medium']
2026-04-15 21:31:46,804 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch3-medium
2026-04-15 21:31:47,735 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 936 with wavelength below 13.336085437749636
2026-04-15 21:31:47,736 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 456 with wavelength above 15.57391481758176
2026-04-15 21:31:52,661 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 936 with wavelength below 13.336085437749636
2026-04-15 21:31:52,662 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 456 with wavelength above 15.57391481758176
2026-04-15 21:31:57,590 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 936 with wavelength below 13.336085437749636
2026-04-15 21:31:57,591 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 456 with wavelength above 15.57391481758176
2026-04-15 21:32:02,500 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 936 with wavelength below 13.336085437751324
2026-04-15 21:32:02,501 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 456 with wavelength above 15.573914817580073
2026-04-15 21:32:06,542 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:32:06,543 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:32:06,548 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:32:06,884 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:32:07,072 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:32:07,275 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:32:07,478 - jwst.cube_build.ifu_cube - INFO - Mapping all pixels to output to determine IFU foot print
2026-04-15 21:32:07,683 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:32:07,684 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:32:07,685 - jwst.cube_build.ifu_cube - INFO - Axis 1    47  24.00  81.08691251   0.20000000  -4.70000007   4.70000007
2026-04-15 21:32:07,686 - jwst.cube_build.ifu_cube - INFO - Axis 2    59  30.00 -70.08378264   0.20000000  -5.90000009   5.90000009
2026-04-15 21:32:07,687 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:32:07,688 - jwst.cube_build.ifu_cube - INFO - Axis 3  1028   1.00  15.41124985   0.00250000  15.40999985  17.97999979
2026-04-15 21:32:07,691 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 3, long
2026-04-15 21:32:07,691 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['long']
2026-04-15 21:32:07,692 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch3-long
2026-04-15 21:32:08,616 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 754 with wavelength below 15.405681102293547
2026-04-15 21:32:08,618 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 968 with wavelength above 17.984318535086693
2026-04-15 21:32:13,812 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 754 with wavelength below 15.405681102295494
2026-04-15 21:32:13,814 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 968 with wavelength above 17.984318535084746
2026-04-15 21:32:18,997 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 754 with wavelength below 15.405681102293547
2026-04-15 21:32:18,998 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 968 with wavelength above 17.984318535086693
2026-04-15 21:32:24,193 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 754 with wavelength below 15.405681102295494
2026-04-15 21:32:24,195 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 968 with wavelength above 17.984318535084746
2026-04-15 21:32:28,522 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:32:28,522 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:32:28,528 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:32:28,868 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:32:28,869 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:32:28,869 - jwst.cube_build.ifu_cube - INFO - Axis 1    35  18.00  81.08626944   0.34999999  -6.12499990   6.12499990
2026-04-15 21:32:28,870 - jwst.cube_build.ifu_cube - INFO - Axis 2    41  21.00 -70.08379645   0.34999999  -7.17499988   7.17499988
2026-04-15 21:32:28,871 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:32:28,872 - jwst.cube_build.ifu_cube - INFO - Axis 3   542   1.00  17.70300076   0.00600000  17.70000076  20.95200079
2026-04-15 21:32:28,872 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 4, short
2026-04-15 21:32:28,873 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['short']
2026-04-15 21:32:28,874 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch4-short
2026-04-15 21:32:41,007 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:32:41,008 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:32:41,011 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:32:41,314 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:32:41,315 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:32:41,316 - jwst.cube_build.ifu_cube - INFO - Axis 1    35  18.00  81.08626387   0.34999999  -6.12499990   6.12499990
2026-04-15 21:32:41,317 - jwst.cube_build.ifu_cube - INFO - Axis 2    41  21.00 -70.08381211   0.34999999  -7.17499988   7.17499988
2026-04-15 21:32:41,317 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:32:41,318 - jwst.cube_build.ifu_cube - INFO - Axis 3   632   1.00  20.69300053   0.00600000  20.69000053  24.48200057
2026-04-15 21:32:41,319 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 4, medium
2026-04-15 21:32:41,320 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['medium']
2026-04-15 21:32:41,321 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch4-medium
2026-04-15 21:32:42,124 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 249 with wavelength below 20.682598635781634
2026-04-15 21:32:45,287 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 249 with wavelength below 20.682598635781634
2026-04-15 21:32:48,432 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 249 with wavelength below 20.682598635781634
2026-04-15 21:32:51,593 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 249 with wavelength below 20.682598635784423
2026-04-15 21:32:53,967 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:32:53,968 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:32:53,971 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:32:54,280 - jwst.cube_build.ifu_cube - INFO - Cube Geometry:
2026-04-15 21:32:54,280 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL       CDELT(arcsec)  Min & Max (xi, eta arcsec)
2026-04-15 21:32:54,281 - jwst.cube_build.ifu_cube - INFO - Axis 1    35  18.00  81.08613067   0.34999999  -6.12499990   6.12499990
2026-04-15 21:32:54,282 - jwst.cube_build.ifu_cube - INFO - Axis 2    41  21.00 -70.08380297   0.34999999  -7.17499988   7.17499988
2026-04-15 21:32:54,283 - jwst.cube_build.ifu_cube - INFO - axis#  Naxis  CRPIX    CRVAL      CDELT(microns)  Min & Max (microns)
2026-04-15 21:32:54,283 - jwst.cube_build.ifu_cube - INFO - Axis 3   717   1.00  24.40299962   0.00600000  24.39999962  28.70199966
2026-04-15 21:32:54,284 - jwst.cube_build.ifu_cube - INFO - Cube covers channel, subchannel: 4, long
2026-04-15 21:32:54,285 - jwst.cube_build.ifu_cube - INFO - Subchannel listing: ['long']
2026-04-15 21:32:54,285 - jwst.cube_build.ifu_cube - INFO - Output Name: Level3_ch4-long
2026-04-15 21:32:55,084 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 13075 with wavelength below 24.391886480783615
2026-04-15 21:32:58,295 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 13075 with wavelength below 24.391886480786855
2026-04-15 21:33:01,516 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 13075 with wavelength below 24.391886480783615
2026-04-15 21:33:04,748 - jwst.cube_build.ifu_cube - INFO - # of detector pixels not mapped to output plane: 13075 with wavelength below 24.391886480786855
2026-04-15 21:33:07,174 - jwst.cube_build.ifu_cube - INFO - Average # of holes/wavelength plane is < 1
2026-04-15 21:33:07,175 - jwst.cube_build.ifu_cube - INFO - Total # of holes for IFU cube is : 0
2026-04-15 21:33:07,179 - jwst.cube_build.ifu_cube - INFO - Number of spectral tear planes adjusted: 0
2026-04-15 21:33:07,484 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.084126557 -70.085094649 81.084126557 -70.082711316 81.089003226 -70.082711316 81.089003226 -70.085094649
2026-04-15 21:33:07,486 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.084043948 -70.085075654 81.084043948 -70.082692321 81.088920612 -70.082692321 81.088920612 -70.085075654
2026-04-15 21:33:07,488 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.084134400 -70.085147637 81.084134400 -70.082764303 81.089011081 -70.082764303 81.089011081 -70.085147637
2026-04-15 21:33:07,490 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083595827 -70.085197098 81.083595827 -70.082458209 81.089418500 -70.082458209 81.089418500 -70.085197098
2026-04-15 21:33:07,492 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083688301 -70.085111913 81.083688301 -70.082373024 81.089233681 -70.082373024 81.089233681 -70.085111913
2026-04-15 21:33:07,494 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083438092 -70.085160032 81.083438092 -70.082421143 81.089260754 -70.082421143 81.089260754 -70.085160032
2026-04-15 21:33:07,496 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083127237 -70.085427735 81.083127237 -70.082205512 81.090956129 -70.082205512 81.090956129 -70.085427735
2026-04-15 21:33:07,498 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083243890 -70.085370110 81.083243890 -70.082147888 81.090746557 -70.082147888 81.090746557 -70.085370110
2026-04-15 21:33:07,500 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.083161176 -70.085393717 81.083161176 -70.082171494 81.090663851 -70.082171494 81.090663851 -70.085393717
2026-04-15 21:33:07,502 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.081417086 -70.085740825 81.081417086 -70.081851936 81.091121795 -70.081851936 81.091121795 -70.085740825
2026-04-15 21:33:07,504 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.081411507 -70.085756490 81.081411507 -70.081867601 81.091116224 -70.081867601 81.091116224 -70.085756490
2026-04-15 21:33:07,506 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  81.081278318 -70.085747347 81.081278318 -70.081858458 81.090983030 -70.081858458 81.090983030 -70.085747347
2026-04-15 21:33:07,784 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch1-short_s3d.fits
2026-04-15 21:33:08,000 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch1-medium_s3d.fits
2026-04-15 21:33:08,245 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch1-long_s3d.fits
2026-04-15 21:33:08,449 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch2-short_s3d.fits
2026-04-15 21:33:08,660 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch2-medium_s3d.fits
2026-04-15 21:33:08,871 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch2-long_s3d.fits
2026-04-15 21:33:09,078 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch3-short_s3d.fits
2026-04-15 21:33:09,284 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch3-medium_s3d.fits
2026-04-15 21:33:10,207 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch3-long_s3d.fits
2026-04-15 21:33:10,402 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch4-short_s3d.fits
2026-04-15 21:33:10,604 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch4-medium_s3d.fits
2026-04-15 21:33:10,800 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch4-long_s3d.fits
2026-04-15 21:33:10,801 - stpipe.step - INFO - Step cube_build done
2026-04-15 21:33:11,591 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c439066d0>,).
2026-04-15 21:33:11,710 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:33:11,716 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0007.asdf  810.3 K bytes  (1 / 1 files) (0 / 810.3 K bytes)
2026-04-15 21:33:11,830 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0007.asdf
2026-04-15 21:33:11,835 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:33:12,163 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:33:12,166 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:33:12,291 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:33:12,291 - jwst.extract_1d.ifu - INFO - Using x_center = 24.025, y_center = 36.408
2026-04-15 21:33:18,113 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:33:18,925 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:33:19,856 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:33:20,629 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:33:20,635 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0007.asdf
2026-04-15 21:33:20,640 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:33:21,010 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:33:21,015 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:33:21,170 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:33:21,171 - jwst.extract_1d.ifu - INFO - Using x_center = 23.1472, y_center = 35.9291
2026-04-15 21:33:27,849 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:33:29,156 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:33:30,087 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:33:30,955 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:33:30,961 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0007.asdf
2026-04-15 21:33:30,966 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:33:31,291 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:33:31,296 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:33:31,470 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:33:31,471 - jwst.extract_1d.ifu - INFO - Using x_center = 24.3219, y_center = 37.7782
2026-04-15 21:33:39,203 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:33:41,188 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:33:42,131 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:33:43,070 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:33:43,076 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0005.asdf  810.3 K bytes  (1 / 1 files) (0 / 810.3 K bytes)
2026-04-15 21:33:43,206 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0005.asdf
2026-04-15 21:33:43,212 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:33:43,535 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:33:43,537 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:33:43,632 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:33:43,633 - jwst.extract_1d.ifu - INFO - Using x_center = 21.5428, y_center = 29.8388
2026-04-15 21:33:48,851 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:33:51,041 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:33:52,774 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:33:53,500 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:33:53,505 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0005.asdf
2026-04-15 21:33:53,510 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:33:53,836 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:33:53,838 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:33:53,946 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:33:53,946 - jwst.extract_1d.ifu - INFO - Using x_center = 20.479, y_center = 27.9363
2026-04-15 21:34:00,017 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:34:04,890 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:34:05,824 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:34:06,624 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:34:06,629 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0005.asdf
2026-04-15 21:34:06,635 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:34:06,959 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:34:06,962 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:34:07,092 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:34:07,093 - jwst.extract_1d.ifu - INFO - Using x_center = 20.2757, y_center = 29.1418
2026-04-15 21:34:14,147 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:34:16,343 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:34:17,273 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:34:18,186 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:34:18,192 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0006.asdf  810.3 K bytes  (1 / 1 files) (0 / 810.3 K bytes)
2026-04-15 21:34:18,435 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0006.asdf
2026-04-15 21:34:18,441 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:34:18,767 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:34:18,769 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:34:18,851 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:34:18,851 - jwst.extract_1d.ifu - INFO - Using x_center = 27.7428, y_center = 29.5822
2026-04-15 21:34:23,015 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:34:24,614 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:34:25,550 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:34:26,168 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:34:26,174 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0006.asdf
2026-04-15 21:34:26,180 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:34:26,506 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:34:26,508 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:34:26,604 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:34:26,605 - jwst.extract_1d.ifu - INFO - Using x_center = 26.3118, y_center = 28.4666
2026-04-15 21:34:31,453 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:34:32,568 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:34:34,292 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:34:34,970 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:34:34,976 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0006.asdf
2026-04-15 21:34:34,981 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:34:35,312 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:34:35,315 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:34:35,427 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:34:35,428 - jwst.extract_1d.ifu - INFO - Using x_center = 26.0272, y_center = 28.7846
2026-04-15 21:34:41,091 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:34:42,251 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:34:43,188 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:34:43,949 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:34:43,955 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0004.asdf  810.2 K bytes  (1 / 1 files) (0 / 810.2 K bytes)
2026-04-15 21:34:44,089 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0004.asdf
2026-04-15 21:34:44,095 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:34:44,437 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:34:44,439 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:34:44,469 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:34:44,470 - jwst.extract_1d.ifu - INFO - Using x_center = 16.4101, y_center = 20.1683
2026-04-15 21:34:47,312 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:34:48,148 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:34:49,079 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:34:49,581 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:34:49,587 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0004.asdf
2026-04-15 21:34:49,592 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:34:49,925 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:34:49,927 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:34:49,961 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:34:49,962 - jwst.extract_1d.ifu - INFO - Using x_center = 16.418, y_center = 20.2902
2026-04-15 21:34:53,339 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:34:54,229 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:34:56,000 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:34:56,582 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds/references/jwst/miri/jwst_miri_extract1d_0004.asdf
2026-04-15 21:34:56,588 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/miri/jwst_miri_apcorr_0004.asdf
2026-04-15 21:34:56,593 - jwst.extract_1d.ifu - INFO - Source type = POINT
2026-04-15 21:34:56,926 - jwst.extract_1d.ifu - INFO - Input model does not break out variance information. Passing only generalized errors.
2026-04-15 21:34:56,927 - jwst.extract_1d.ifu - INFO - Using auto source detection.
2026-04-15 21:34:56,944 - jwst.extract_1d.ifu - INFO - Auto source detection success.
2026-04-15 21:34:56,945 - jwst.extract_1d.ifu - INFO - Using x_center = 15.9157, y_center = 20.1747
2026-04-15 21:35:00,740 - jwst.extract_1d.ifu - INFO - Applying 1d residual fringe correction.
2026-04-15 21:35:01,558 - jwst.extract_1d.ifu - INFO - Applying ERR covariance prefactor of 1.8
2026-04-15 21:35:02,517 - jwst.extract_1d.ifu - INFO - Applying Aperture correction.
2026-04-15 21:35:03,218 - stpipe.step - INFO - Step extract_1d done
2026-04-15 21:35:04,013 - stpipe.step - INFO - Step spectral_leak running with args (<jwst.datamodels.container.ModelContainer object at 0x7f8c67e3ddd0>,).
2026-04-15 21:35:04,079 - jwst.spectral_leak.spectral_leak_step - INFO - Found CH 1B in input data
2026-04-15 21:35:04,080 - jwst.spectral_leak.spectral_leak_step - INFO - Found CH 3A in the input data
2026-04-15 21:35:04,294 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch1-short_x1d.fits
2026-04-15 21:35:04,369 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch1-medium_x1d.fits
2026-04-15 21:35:04,444 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch1-long_x1d.fits
2026-04-15 21:35:04,519 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch2-short_x1d.fits
2026-04-15 21:35:04,594 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch2-medium_x1d.fits
2026-04-15 21:35:04,669 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch2-long_x1d.fits
2026-04-15 21:35:04,744 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch3-short_x1d.fits
2026-04-15 21:35:04,820 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch3-medium_x1d.fits
2026-04-15 21:35:04,894 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch3-long_x1d.fits
2026-04-15 21:35:04,969 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch4-short_x1d.fits
2026-04-15 21:35:05,044 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch4-medium_x1d.fits
2026-04-15 21:35:05,119 - stpipe.step - INFO - Saved model in ./mrs_demo_data/Obs003/stage3/Level3_ch4-long_x1d.fits
2026-04-15 21:35:05,120 - stpipe.step - INFO - Step spectral_leak done
2026-04-15 21:35:05,125 - jwst.pipeline.calwebb_spec3 - INFO - Ending calwebb_spec3
2026-04-15 21:35:05,145 - stpipe.step - INFO - Step Spec3Pipeline done
2026-04-15 21:35:05,146 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
# Print out the time benchmark
time1 = time.perf_counter()
print(f"Runtime so far: {time1 - time0:0.4f} seconds")
print(f"Runtime for Spec3: {time1 - time_spec3} seconds")
Runtime so far: 4891.7107 seconds
Runtime for Spec3: 414.85116032099995 seconds

8.-Plot the spectra#

Here we’ll plot the spectra to see what our source looks like.

if doviz:
    # Find and sort all of the input files

    # Science Files
    # Use the final extracted spectra (x1d.fits)
    sstring = sorted(glob.glob(os.path.join(spec3_dir, '*x1d.fits')))
    x1dfiles = np.array(sorted(sstring))
if doviz:
    # Make normal plots
    %matplotlib inline
    # Interactive plots
    #%matplotlib notebook

    rc('axes', linewidth=2)
    fig, ax = plt.subplots(1, 1, figsize=(10, 3), dpi=150)

    if (len(x1dfiles) > 0):
        hdu = fits.open(x1dfiles[0])
        objname = hdu[0].header['TARGPROP']
        hdu.close()
    else:
        objname = 'Unknown'

    ymin, ymax = np.nan, np.nan
    for file in x1dfiles:
        x1d = fits.open(file)
        x1ddata = x1d[1].data
        wave = x1ddata['WAVELENGTH']
        # MRS x1d files have both regular ('flux') and residual-fringe (RF) corrected ('rf_flux') spectra.
        # The RF-corrected spectra will have NaN values if RF correction was disabled or failed to converge.
        # Plot the RF corrected spectrum if available, otherwise plot the regular spectrum.
        if (np.nansum(x1ddata['RF_FLUX']) != 0):
            flux = x1ddata['RF_FLUX']
        else:
            flux = x1ddata['FLUX']
        ymin = np.nanmin([ymin, np.nanpercentile(flux, 2)])
        ymax = np.nanmax([ymax, np.nanpercentile(flux, 99.5)])

        # labels
        label = x1d[0].header['CHANNEL'] + x1d[0].header['BAND']

        plt.plot(wave, flux, label=label)

        x1d.close()

    plt.xlabel(r'Wavelength ($\mu$m)')
    plt.ylabel('Flux (Jy)')
    plt.title(objname)
    plt.ylim(ymin, ymax)
    plt.legend(fontsize=8, loc='center left', bbox_to_anchor=(1, 0.5))
    plt.grid()
    plt.tight_layout()
    plt.savefig('mrs_example_plot.png')
../../../_images/652afc159e9ebe6514d3c4aa1ddfc8b764c0ccecd221b3b23b5e5c199212c23d.png

stsci_logo