stsci_logo

NIRCam Wide Field Slitless Spectroscopy (WFSS) Pipeline Notebook#

Authors: B. Hilbert, R. Plesha
Last Updated: Aug 20, 2026
Pipeline Version: 3.0.0 (Build 13.0)

Purpose:#

This notebook provides a framework for processing generic Near-Infrared Camera (NIRCam) wide field slitless spectroscopy (WFSS) data through the James Webb Space Telescope (JWST) pipeline. Data from a single proposal and observation ID is assumed to be located in one observation folder 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 uses data from the Program ID 1345 observation 012 (PI: Finkelstein). The observations use the F356W and F115W NIRCam filters and both the GRISMR and GRISMC NIRCam grisms

In this example notebook we will only look at the F356W data, as the F115W data from the shortwave channel is not used in the WFSS data reduction and calibration. A NIRCam WFSS observation sequence typically consists of dispersed exposures using a grism followed by a direct image and out of field images in the same blocking filter to help identify the sources in the field. If the second grism is used, the dispersed/direct/out of field pattern of exposures is then repeated. In Observation 12 of program 1345, the exposure sequence follows the pattern: GRISMR dithers -> direct image -> out of field -> GRISMC dithers -> direct image -> out of field.

Example input data to use will be downloaded automatically unless disabled by the dodownload parameter (i.e., to use local files instead).

JWST pipeline version and CRDS context: This notebook was written for the calibration pipeline version given above. The JWST Calibration Reference Data System (CRDS) context used is associated with the pipeline version as listed here. If you use different pipeline version or CRDS context, please read the relevant release notes (here for pipeline, here for CRDS) for possibly relevant changes. The results of this notebook may differ from the products hosted on the MAST archive depending on the pipeline version and CRDS context you are using.

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:
XXX XX, 2026: original notebook released

Future Updates:

  • In pipeline version 3.2, the extract-1D and photom steps will be reversed. Update documentation for this.

  • In pipeline version 3.2, full paths to the i2d, segm, and cat.ecsv files in spec2 association files will be supported. Update association file creation cell and associated documentation. Remove os.chdir calls in the cell that calls spec2.

  • In pipeline version 3.2, the bug where the user-supplied output directory for spec3 products is ignored will be corrected. Remove the os.chdir calls in the cell that calls spec3.

  • The bug where sources that are present on both detectors lead to NaNs in the c1d file is being worked on. Once this is fixed, update the text around the figure showing the spec3 results.


Table of Contents#

  1. Configuration

  2. Package Imports

  3. Directory Setup

  4. Demo Mode Setup (Data Download)

  5. Detector 1 Pipeline

  6. Image2 Pipeline

  7. Image3 Pipeline

  8. Visualize Image3 Output Products

  9. Spec2 Pipeline

  10. Understanding Spec2 Output Products

  11. Spec3 Pipeline

  12. Understanding Spec3 Output Products


1. Configuration#


Set basic configuration for running notebook.

Install dependencies and parameters#

To make sure that the pipeline version is compatabile with the steps discussed below and the required dependencies and packages are installed, you can create a fresh conda environment and install the provided requirements.txt file:

conda create -n nrc_wfss python=3.13
conda activate nrc_wfss
pip install -r requirements.txt

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

  • demo_mode

  • sci_dir (directory where the data are / will be)

  • dodownload (download the data locally)

  • pipeline modules:

    • dodet1 (run detector1)

    • doimage2 (run image2)

    • doimage3 (run image3)

    • dospec2 (run spec2)

    • dospec3 (run spec3)

  • doviz (show visualizations of the data within the notebook)

  • program (proposal ID of your data for the level 3 association files)

  • sci_observtn (observation of your data for level 3 the association files)

# Basic import necessary for configuration
import os

# Establish what directory we're currently working in
cwd = os.getcwd()
Adjust any parameters in the cell directly below this before running to ensure demo_mode runs correctly.

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 everything through the pipeline. This will all happen in a local directory unless modified in the configuration below (variable data_dir).

# -----------------------------Demo Mode---------------------------------
# Use the provided example for demonstration purposes
demo_mode = True

if demo_mode:
    program = '01345'
    sci_observtn = '012'

    # Create a directory for the data called "nrc_wfss_demo_data" 
    # located in the directory you are currently in
    data_dir = os.path.join(cwd, 'nrc_wfss_demo_data')
    sci_dir = os.path.join(data_dir, f"PID{program}/obs{sci_observtn}")

    print(f'Running in demonstration mode using example data from program {program} obs{sci_observtn}!')
    print(f'Data located in: {sci_dir}')

    # To download the demo data
    dodownload = True
Running in demonstration mode using example data from program 01345 obs012!
Data located in: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012

Set demo_mode = False if you want to process your own data that has already been downloaded. To do so, in the cell below, provide the program ID in the program variable, the observation ID in the sci_observtn variable, and the top path level location of the data in the sci_dir variable. The notebook expects that the uncal files are in a directory under sci_dir called uncal.

If you would like to additionally download the data for a specific program through this notebook, you can additionally set the dodownload variable to True below, and the data will be downloaded to the provided sci_dir directory.

# --------------------------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
    program = '01345' # modify this to your specific program
    sci_observtn = '012' # modify this to your specific program
    sci_dir = os.path.join(user_home_dir, f'nrc_wfss_demo_data/PID{program}/obs{sci_observtn}/')

    # If you would like to download your data using astroquery, set dodownload below
    # to True, and don't skip the Demo Mode Setup section
    dodownload = False  
                        
    print(f'Running using user input data from: {sci_dir} for program {program} obs{sci_observtn}')

Set any of the variables below to be True (do the processing) or False (don’t do the processing). To run this notebook from start to completion, it is expected that the output products from each of the stages below are located in the appropriate directories as set in #3. Directory Setup. If these output products do not exist, any of the later stages of the pipeline may not work as intended.

# --------------------------Set Processing Steps--------------------------
# 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.

# Visualization of products within the notebook
doviz = True # Visualize outputs

# Science processing
dodet1 = True    # calwebb_detector1; files saved in "stage1" directory
doimage2 = True  # calwebb_image2; files saved in "stage2_img" directory
doimage3 = True  # calwebb_image3; files saved in "stage3_img" directory
dospec2 = True   # calwebb_spec2; files saved in "stage2_spec" directory
dospec3 = True   # calwebb_spec3; files saved in "stage3_spec" directory

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. The pipeline will fetch and download the needed reference files to this directory.

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 context (if overriding to use a specific version of reference
# files; leave commented out to use latest reference files by default)
# %env CRDS_CONTEXT  jwst_1584.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'

# Show the CRDS path in use
print(f"CRDS local filepath: {os.environ['CRDS_PATH']}")
print(f"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#


# Basic system utilities for interacting with files
# ----------------------General Imports------------------------------------
import glob
import time
from pathlib import Path

# Data calculations and manipulation
import numpy as np
import pandas as pd
import json
from collections import defaultdict

# -----------------------Plotting Imports----------------------------------
from matplotlib import pyplot as plt
from matplotlib import colors
# interactive plots within the notebook
%matplotlib inline

# -----------------------Astronomy Imports--------------------------------
# ASCII files, and downloading demo files
from astroquery.mast import Observations
from astroquery.mast.utils import remove_duplicate_products

# Astropy routines for visualizing detected sources:
import astropy.units as u
from astropy.io import fits
from astropy.table import Table
from astropy.coordinates import SkyCoord

# JWST calibration pipeline
import jwst
import crds

from jwst.pipeline import Detector1Pipeline
from jwst.pipeline import Image2Pipeline
from jwst.pipeline import Image3Pipeline
from jwst.pipeline import Spec2Pipeline
from jwst.pipeline import Spec3Pipeline

# JWST pipeline utilities
from jwst import datamodels
from jwst.associations import asn_from_list  # 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

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

Define convenience functions#

These functions are used within the notebook and assist with plotting, finding the appropriate extension for a specific source in spec2 cal data, and verifying what steps and reference files were used for a provided file. These may be useful for your own analysis outside of this notebook, but are written for this notebook in particular.

Plotting Spec2 & Spec3 convenience functions#

# Plot the i2d image for a specific source as well as the catalog x/y centroid for that source
def plot_i2d_plus_source(catname, source_id, ax):
    # Open the i2d & catalog and find the associated source number            
    i2dname = catname.replace('cat.ecsv', 'i2d.fits')
    
    cat = Table.read(catname)
    cat_line = cat[cat['label'] == source_id]
    
    # Plot the image
    with fits.open(i2dname) as i2d:
        display_vals = [np.nanpercentile(i2d[1].data, 1), np.nanpercentile(i2d[1].data, 98)]
        ax_i2d.imshow(i2d[1].data, vmin=display_vals[0], vmax=display_vals[1], origin='lower', cmap='gist_gray_r')
    
    # Plot up the source catalog
    xcentroid = cat_line['xcentroid'][0]
    ycentroid = cat_line['ycentroid'][0]
    ax.set_xlim(xcentroid - 50, xcentroid + 50)
    ax.set_ylim(ycentroid - 50, ycentroid + 50)
    if cat_line['is_extended'] is True:
        cat_color = 'deepskyblue'
        cat_marker = 'o'
    else:
        cat_color = 'deeppink'
        cat_marker = 's'
    ax.scatter(xcentroid, ycentroid, s=20, facecolors='None', edgecolors=cat_color, marker=cat_marker, alpha=0.9)
    ax.annotate(source_id, 
                (xcentroid+0.5, ycentroid+0.5), 
                fontsize=10,
                color=cat_color)
    
    return ax
# Plot the wavelength vs. flux values for x1d & c1d spectra for a specific source
def plot_spectrum(specfile, source_id_num, source_fluxes, ax, image3_dir, ext=1, colors=[], alpha=0.3, legend=True):

    # Trim off some of the edges where the flux is unreliable/noisy
    plot_limits = {'F356W': {'wavemin': 3.15, 'wavemax': 3.9}
                   }    
    
    with fits.open(specfile) as spec:

        # Pull out relevant keywords
        grism = spec[0].header['PUPIL']
        filtername = spec[0].header['FILTER']
        catname = os.path.join(image3_dir, spec[0].header['SCATFILE'])
        try:
            label = f"{grism} dither {spec[0].header['DIT_PATT']}"
        except KeyError:
            label = f"{grism}"  # There is no dither in the c1d files

        # Find where in the file the source data are
        wh_spec_source = np.where(spec[ext].data['SOURCE_ID'] == source_id_num)[0]
        
        # If the source isn't in the file, then return a blank axis
        if not len(wh_spec_source):
            status = f'Source {source_id_num} not found in {specfile}'
            return ax, catname, source_fluxes, grism, status

        status = f'Source {source_id_num} found in {specfile}'
        
        # Grab the wavelength & flux data and trim off the edges for visalization purposes
        wave = spec[ext].data['WAVELENGTH'][wh_spec_source]
        flux = spec[ext].data['FLUX'][wh_spec_source]
        
        wavemin = plot_limits[filtername]['wavemin']
        wavemax = plot_limits[filtername]['wavemax']
        wh_wave = np.where((wave >= wavemin) & (wave <= wavemax)) # Cut off the noisy edges
        wave = wave[wh_wave]
        flux = flux[wh_wave]

        if np.all(~np.isfinite(flux)):
            status += ((f' BUT there are no finite pixel values for source {source_id_num} {grism}. '
                        f'Source likely on edge of detector; not plotting'))
        else:
            source_fluxes.extend(flux) # Keep the flux to set the limits of the plot later
    
    if grism == 'GRISMR':
        linestyle = '-'
        color = colors[0]
    else:
        linestyle = '--'
        color = colors[1]

    ax.plot(wave, flux, label=label, ls=linestyle, color=color, alpha=alpha)
    if legend:
        ax.legend(bbox_to_anchor=(1, 1))

    return ax, catname, source_fluxes, grism, status
# Plot the spec2 cal files for a specific source
def plot_spec2_cal(x1dfile, source_id, ax):

    cal_file = x1dfile.replace('x1d.fits', 'cal.fits')

    # Collect basic info on which extension contains the source ID
    cal_status = []
    
    with fits.open(cal_file) as cal_hdu:
        wh_cal, status = find_source_ext(cal_hdu, source_id)
        cal_status.append(status)
        present = True

        # If the source isn't in the file, then return a blank axis
        if wh_cal == -999:
            present = False
            return ax, present, cal_status

        # If the GRISMC element was used, flip the data so that we can look at the cal image
        # with the same orientation (dispersion along rows) as data using the GRISMR element.
        pupil = cal_hdu[0].header['PUPIL']
        if pupil == 'GRISMC':
            cal_data = np.transpose(cal_hdu[wh_cal].data)
        else:
            cal_data = cal_hdu[wh_cal].data

        yd, xd = cal_data.shape
        xstart, xend = xd // 3, 2 * xd // 3
        vmin = np.nanpercentile(cal_data[:, xstart:xend], 5)
        vmax = np.nanpercentile(cal_data[:, xstart:xend], 90)
        if vmin <= 0:
            vmin = 1e-9
        ax.imshow(cal_data, norm=colors.LogNorm(vmin=vmin, vmax=vmax), origin='lower', aspect='auto')

        # Dispersion direction depends on the detector and grism. 
        # A module, GRISMR: dispersion is in the +x direction
        # B module, GRISMR: dispersion is in the -x direction
        # A module, GRISMC: dispersion is in the +y direction (-x direction after transpose above)
        # B module, GRISMC: dispersion is in the +y direction (-x direction after transpose above)
        
        # Flip the x-axis such that the image will always have wavelength increasing to the right
        detector = cal_hdu[0].header['DETECTOR']
        if ((detector == 'NRCBLONG') or ((detector == 'NRCALONG') and (pupil == 'GRISMC'))):
            ax.invert_xaxis()
   
    return ax, present, cal_status
# Find the extension in a cal file that contains the given source ID
def find_source_ext(cal_hdu, source_id):    
    # Look for cal extension, but check only in the SCI extensions; ignore ERR, DQ, etc
    # Fill in with a source ID of -999 for all other extensions to get the right extension value
    cal_source_ids = np.array([cal_hdu[ext].header['SOURCEID'] if cal_hdu[ext].header['EXTNAME'] == 'SCI'
                               else -999 for ext in range(len(cal_hdu))[1:-1]]) 

    try:
        wh_cal = np.where(cal_source_ids == source_id)[0][0] + 1  # Add 1 to account for the primary header
    except IndexError:
        # This source doesn't exist
        status = f'Source {source_id} not present in {cal_hdu[0].header['FILENAME']}'
        return -999, status

    status = f"Extension {wh_cal} in {cal_hdu[0].header['FILENAME']} contains the data for source {source_id} from our catalog"

    return wh_cal, status
# Quickly see all of the steps that were run on a specified file
def check_steps_run(filename):
    
    # Read in file as datamodel
    dm = datamodels.open(filename)
    
    # Check which steps were run
    print(f"{dm.meta.filename} - {dm.meta.exposure.type}")
    for step, status in dm.meta.cal_step.instance.items():
        print(f"{step}: {status}")
    print()
# Quickly see all of the reference files that were used on a specified file
def check_ref_file_used(filename):

    # Read in file as datamodel
    dm = datamodels.open(filename)

    # Check which reference files were used
    print(f"{dm.meta.filename} - {dm.meta.exposure.type}")
    for step, status in dm.meta.ref_file.instance.items():
        print(f"{step}: {status}")
    print()
# Find the closest source_id for a given RA/Dec
def find_closest_source_id(ra, dec, catalog_name):
    
    # Open the source catalog
    cat = Table.read(catalog_name)
    
    # Set up a skycoord object for the given RA/Dec
    c = SkyCoord(ra=ra*u.degree, dec=dec*u.degree)

    # Find the closest match to those coordinates in the source catalog
    nearest_id, distance_2d, distance_3d = c.match_to_catalog_sky(cat['sky_centroid']) 

    return cat['label'][nearest_id]
# Start a timer to keep track of runtime
time0 = time.perf_counter()

3. 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
image2_dir = os.path.join(sci_dir, 'stage2_img')  # calwebb_image2 pipeline outputs will go here
image3_dir = os.path.join(sci_dir, 'stage3_img')  # calwebb_image3 pipeline outputs will go here
spec2_dir = os.path.join(sci_dir, 'stage2_spec')  # calwebb_spec2 pipeline outputs will go here
spec3_dir = os.path.join(sci_dir, 'stage3_spec')  # calwebb_spec3 pipeline outputs will go here

# We need to check that the desired output directories exist, and if not create them
for cal_dir in [sci_dir, uncal_dir, det1_dir, image2_dir, image3_dir, spec2_dir, spec3_dir]:
    os.makedirs(cal_dir, exist_ok=True)

4. Demo Mode Setup (Data Download)#


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.

In order to reduce data volume, we focus on data taken through the F356W filter and start with uncalibrated data products, or _uncal files. Since the shortwave channel data are not typically used in the data reduction of WFSS data, we ignore the F115W data in this notebook. To download only the F356W data, we use the filters field in query_criteria and include only F356W. Note that if the observation does not have a level 3 product for any reason, the obs_id field in query_criteria will need to be changed to search on the string of the format “jw*+program+sci_observtn+*”.

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

Note – if for some reason this section does not work, this is equivalent to downloading the _uncal.fits files from this MAST search:
https://mast.stsci.edu/search/ui/#/jwst/results?instruments=NIRCAM&program_id=1345&obs_id=012&custom_col_sel_0=nircam_filter&custom_col_val_0=F356W

if dodownload:
    if demo_mode:
        # Obtain a list of observation IDs for the specified demo program
        sci_obs_id_table = Observations.query_criteria(instrument_name=["NIRCAM/IMAGE", "NIRCAM/WFSS", "NIRCAM/GRISM"],
                                                       provenance_name=["CALJWST"],  # Executed observations
                                                       filters=['F356W'],  # Data for Specific Filter
                                                       obs_id=['jw*' + program + '-o' + sci_observtn + '*']
                                                       )
    
    else:
        sci_obs_id_table = Observations.query_criteria(instrument_name=["NIRCAM/IMAGE", "NIRCAM/WFSS", "NIRCAM/GRISM"],
                                                       provenance_name=["CALJWST"],  # Executed observations
                                                       obs_id=['jw*' + program + '-o' + sci_observtn + '*']
                                                       )

Using the obs_id column in the list of observations below, you can see that there is an entry for each of the two grisms, as well as an entry containing the undispersed data (where the “filters” column mentions only F356W).

# Remove the s_region column in order to make the table more readable
sci_obs_id_table.remove_column('s_region')
sci_obs_id_table
Table masked=True length=3
intentTypeobs_collectionprovenance_nameinstrument_nameprojectfilterswave_regiontarget_nametarget_classificationobs_ids_ras_decdataproduct_typeproposal_picalib_levelt_mint_maxt_exptimewavelength_regionem_minem_maxobs_titlet_obs_releaseproposal_idproposal_typesequence_numberjpegURLdataURLdataRightsmtFlagsrcDenobsidobjIDwave_minwave_max
str7str4str7str12str4str12str8str12str96str37float64float64str8str22int64float64float64float64str8float64float64str62float64str4str3int64str62str64str6boolfloat64str9str10float64float64
scienceJWSTCALJWSTNIRCAM/GRISMJWSTF356W;GRISMRINFRAREDNIRCAM-WFSS5Galaxy; Emission line galaxies; High-redshift galaxies; Lyman-break galaxies; Primordial galaxiejw01345-o012_t026_nircam_f356w-grismr214.9418020833333352.893788888888885spectrumFinkelstein, Steven L.359937.15714803240659937.17454586805311.366INFRARED3140.03980.0The Cosmic Evolution Early Release Science (CEERS) Survey free59938.251793891345ERS----mast:JWST/product/jw01345-o012_t026_nircam_f356w-grismr_x1d.fitsPUBLICFalsenan35543286211541724203140.03980.0
scienceJWSTCALJWSTNIRCAM/GRISMJWSTF356W;GRISMCINFRAREDNIRCAM-WFSS5Galaxy; Emission line galaxies; High-redshift galaxies; Lyman-break galaxies; Primordial galaxiejw01345-o012_t026_nircam_f356w-grismc214.9418020833333352.893788888888885spectrumFinkelstein, Steven L.359937.1965413310259937.213939155095311.366INFRARED3140.03980.0The Cosmic Evolution Early Release Science (CEERS) Survey free59938.251793891345ERS----mast:JWST/product/jw01345-o012_t026_nircam_f356w-grismc_x1d.fitsPUBLICFalsenan35543286311541725623140.03980.0
scienceJWSTCALJWSTNIRCAM/IMAGEJWSTF356WINFRAREDNIRCAM-WFSS5Galaxy; Emissiojw01345-o012_t026_nircam_clear-f356w214.9418020833333352.893788888888885imageFinkelstein, Steven L.359937.1774035648159937.805354872681868.196INFRARED3140.03980.0The Cosmic Evolution Early Release Science (CEERS) Survey free59938.251793891345ERS--mast:JWST/product/jw01345-o012_t026_nircam_clear-f356w_i2d.jpgmast:JWST/product/jw01345-o012_t026_nircam_clear-f356w_i2d.fitsPUBLICFalsenan10745036611541724783140.03980.0
# Turn the list of visits into a list of uncalibrated data files
if dodownload:
    # Define types of files to select
    file_dict = {'uncal': {'product_type': 'SCIENCE',
                           'productSubGroupDescription': 'UNCAL',
                           'calib_level': [1]}}

    batch_size = 5  # 5 files at a time maximizes the download speed.

    # This is necessary when there are many exposures in a program
    # split up our list of files into batches according to our batch size.
    obs_batches = [sci_obs_id_table[i:i+batch_size] for i in range(0, len(sci_obs_id_table), batch_size)]
    
    # Science files
    sci_files_to_download = []
    # Loop over visits, identifying uncalibrated files associated with each
    for exposure in (obs_batches):
        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'])
 
    sci_files_to_download = sorted(sci_files_to_download)
    sci_files_to_download = remove_duplicate_products(sci_files_to_download, 'filename')
    
    print(f"Science files selected for downloading: {len(sci_files_to_download)}")
Science files selected for downloading: 28
sorted(sci_files_to_download)
[np.str_('mast:JWST/product/jw01345012001_02101_00001_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_02101_00001_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_02101_00002_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_02101_00002_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_02101_00003_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_02101_00003_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_02101_00004_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_02101_00004_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_03101_00001_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_03101_00001_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_05101_00001_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_05101_00001_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_05101_00002_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_05101_00002_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_07101_00001_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_07101_00001_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_07101_00002_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_07101_00002_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_07101_00003_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_07101_00003_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_07101_00004_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_07101_00004_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_08101_00001_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012001_08101_00001_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012002_02101_00001_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012002_02101_00001_nrcblong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012003_02101_00001_nrcalong_uncal.fits'),
 np.str_('mast:JWST/product/jw01345012003_02101_00001_nrcblong_uncal.fits')]

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 dodownload:
    for filename in sci_files_to_download:
        sci_manifest = Observations.download_file(filename,
                                                  local_path=os.path.join(uncal_dir, Path(filename).name))
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_02101_00001_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00001_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_02101_00001_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00001_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_02101_00002_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00002_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_02101_00002_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00002_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_02101_00003_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00003_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_02101_00003_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00003_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_02101_00004_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00004_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_02101_00004_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00004_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_03101_00001_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_03101_00001_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_03101_00001_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_03101_00001_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_05101_00001_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_05101_00001_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_05101_00001_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_05101_00001_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_05101_00002_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_05101_00002_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_05101_00002_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_05101_00002_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_07101_00001_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00001_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_07101_00001_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00001_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_07101_00002_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00002_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_07101_00002_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00002_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_07101_00003_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00003_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_07101_00003_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00003_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_07101_00004_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00004_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_07101_00004_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00004_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_08101_00001_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_08101_00001_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012001_08101_00001_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_08101_00001_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012002_02101_00001_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012002_02101_00001_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012002_02101_00001_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012002_02101_00001_nrcblong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012003_02101_00001_nrcalong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012003_02101_00001_nrcalong_uncal.fits ...
 [Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01345012003_02101_00001_nrcblong_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012003_02101_00001_nrcblong_uncal.fits ...
 [Done]
# Print out the time benchmark
time_download_end = time.perf_counter()
print(f"Runtime for downloading data: {(time_download_end - time0)/60:0.0f} minutes")
Runtime for downloading data: 2 minutes

5. Detector1 Pipeline#


In this section we run the *_uncal.fits files through the Detector1 stage of the pipeline to apply detector level calibrations and create a countrate data product where slopes are fit to the integration ramps. These *_rate.fits products are 2D (nrows x ncols), averaged over all integrations. 3D countrate data products (*_rateints.fits) are also created (nintegrations x nrows x ncols) which have the fitted ramp slopes for each integration.

If there are no modifications to the steps at this stage needed, you can also save time by downloading these *_rate.fits files directly from MAST and starting at stage2. However, it is best to ensure that you are using the same pipeline version as MAST which can be checked in the CAL_VER header keyword.

The parameters in each of the Detector1 steps can be modified from the default values, including overwriting reference files that are used. This dictionary of the modified parameters for each of the steps is then fed into the steps parameter of the Detector1Pipeline call.

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

# This sets up any entry to det1dict to be a dictionary itself
det1dict = defaultdict(dict)

# ---------------------------Override reference files---------------------------
# Example 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['linearity']['override_linearity'] = 'myfile.fits' # Linearity
# 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

# -----------------------------Set step parameters------------------------------
# Example overrides for whether or not certain steps should be skipped;
# det1dict['persistence']['skip'] = True # skipping the persistence step

# Example of turning on multi-core processing for the jump step (a single core is used by default).
# Choose what fraction of cores to use (quarter, half, all, or the default=1); This will speed up the calibration time
# det1dict['jump']['maximum_cores'] = 'half'

# Example of altering parameters to optimize removal of snowball residuals
# det1dict['jump']['expand_large_events'] = True
# det1dict['charge_migration']['signal_threshold'] = X

Here we run all uncal files, from both the direct and dispersed exposures, through the Detector1 pipeline.

uncal_files = sorted(glob.glob(os.path.join(uncal_dir, '*_uncal.fits')))

# Run Detector1 stage of pipeline, specifying:
#   output directory to save *_rateints.fits files
#   save_results flag set to True so the files are saved locally
if dodet1:
    for uncal in uncal_files:
        rate_result = Detector1Pipeline.call(uncal, output_dir=det1_dir, steps=det1dict, save_results=True)
else:
    print('Skipping Detector1 processing')
2026-09-09 18:25:17,168 - CRDS - INFO -  Syncing 225 files
2026-09-09 18:25:17,189 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_system_datalvl_0002.rmap      694 bytes  (1 / 225 files) (0 / 804.1 K bytes)
2026-09-09 18:25:17,411 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_system_calver_0075.rmap    6.0 K bytes  (2 / 225 files) (694 / 804.1 K bytes)
2026-09-09 18:25:17,645 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_system_0068.imap        385 bytes  (3 / 225 files) (6.7 K / 804.1 K bytes)
2026-09-09 18:25:17,870 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_wavelengthrange_0024.rmap    1.4 K bytes  (4 / 225 files) (7.1 K / 804.1 K bytes)
2026-09-09 18:25:18,092 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_wavecorr_0005.rmap      884 bytes  (5 / 225 files) (8.5 K / 804.1 K bytes)
2026-09-09 18:25:18,324 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_superbias_0090.rmap   39.5 K bytes  (6 / 225 files) (9.3 K / 804.1 K bytes)
2026-09-09 18:25:18,621 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_sirskernel_0002.rmap      704 bytes  (7 / 225 files) (48.9 K / 804.1 K bytes)
2026-09-09 18:25:18,876 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_sflat_0027.rmap   20.6 K bytes  (8 / 225 files) (49.6 K / 804.1 K bytes)
2026-09-09 18:25:19,189 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_saturation_0018.rmap    2.0 K bytes  (9 / 225 files) (70.2 K / 804.1 K bytes)
2026-09-09 18:25:19,412 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_refpix_0015.rmap    1.6 K bytes  (10 / 225 files) (72.2 K / 804.1 K bytes)
2026-09-09 18:25:19,635 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_readnoise_0025.rmap    2.6 K bytes  (11 / 225 files) (73.8 K / 804.1 K bytes)
2026-09-09 18:25:19,870 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_psf_0002.rmap      687 bytes  (12 / 225 files) (76.3 K / 804.1 K bytes)
2026-09-09 18:25:20,126 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pictureframe_0002.rmap      886 bytes  (13 / 225 files) (77.0 K / 804.1 K bytes)
2026-09-09 18:25:20,349 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_photom_0013.rmap      958 bytes  (14 / 225 files) (77.9 K / 804.1 K bytes)
2026-09-09 18:25:20,574 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pathloss_0011.rmap    1.2 K bytes  (15 / 225 files) (78.9 K / 804.1 K bytes)
2026-09-09 18:25:20,799 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-whitelightstep_0001.rmap      777 bytes  (16 / 225 files) (80.0 K / 804.1 K bytes)
2026-09-09 18:25:21,024 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-tso3pipeline_0001.rmap      786 bytes  (17 / 225 files) (80.8 K / 804.1 K bytes)
2026-09-09 18:25:21,245 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-spec2pipeline_0016.rmap    2.4 K bytes  (18 / 225 files) (81.6 K / 804.1 K bytes)
2026-09-09 18:25:21,474 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-resamplespecstep_0002.rmap      709 bytes  (19 / 225 files) (84.0 K / 804.1 K bytes)
2026-09-09 18:25:21,694 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-refpixstep_0003.rmap      910 bytes  (20 / 225 files) (84.7 K / 804.1 K bytes)
2026-09-09 18:25:21,930 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-pixelreplacestep_0001.rmap      818 bytes  (21 / 225 files) (85.6 K / 804.1 K bytes)
2026-09-09 18:25:22,161 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-pictureframestep_0001.rmap      818 bytes  (22 / 225 files) (86.4 K / 804.1 K bytes)
2026-09-09 18:25:22,385 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-outlierdetectionstep_0005.rmap    1.1 K bytes  (23 / 225 files) (87.3 K / 804.1 K bytes)
2026-09-09 18:25:22,616 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-jumpstep_0006.rmap      810 bytes  (24 / 225 files) (88.4 K / 804.1 K bytes)
2026-09-09 18:25:22,843 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-image2pipeline_0008.rmap    1.0 K bytes  (25 / 225 files) (89.2 K / 804.1 K bytes)
2026-09-09 18:25:23,071 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-extract1dstep_0002.rmap      916 bytes  (26 / 225 files) (90.2 K / 804.1 K bytes)
2026-09-09 18:25:23,294 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-detector1pipeline_0008.rmap    1.7 K bytes  (27 / 225 files) (91.1 K / 804.1 K bytes)
2026-09-09 18:25:23,521 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-darkpipeline_0003.rmap      872 bytes  (28 / 225 files) (92.8 K / 804.1 K bytes)
2026-09-09 18:25:23,745 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-darkcurrentstep_0003.rmap    1.8 K bytes  (29 / 225 files) (93.7 K / 804.1 K bytes)
2026-09-09 18:25:23,970 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-cubebuildstep_0001.rmap      862 bytes  (30 / 225 files) (95.5 K / 804.1 K bytes)
2026-09-09 18:25:24,191 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-cleanflickernoisestep_0003.rmap    1.1 K bytes  (31 / 225 files) (96.4 K / 804.1 K bytes)
2026-09-09 18:25:24,412 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_pars-adaptivetracemodelstep_0002.rmap      997 bytes  (32 / 225 files) (97.5 K / 804.1 K bytes)
2026-09-09 18:25:24,633 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_ote_0030.rmap    1.3 K bytes  (33 / 225 files) (98.5 K / 804.1 K bytes)
2026-09-09 18:25:24,859 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_msaoper_0019.rmap    1.7 K bytes  (34 / 225 files) (99.8 K / 804.1 K bytes)
2026-09-09 18:25:25,084 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_msa_0027.rmap    1.3 K bytes  (35 / 225 files) (101.4 K / 804.1 K bytes)
2026-09-09 18:25:25,308 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_mask_0045.rmap    4.9 K bytes  (36 / 225 files) (102.7 K / 804.1 K bytes)
2026-09-09 18:25:25,528 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_linearity_0017.rmap    1.6 K bytes  (37 / 225 files) (107.6 K / 804.1 K bytes)
2026-09-09 18:25:25,749 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_ipc_0006.rmap      876 bytes  (38 / 225 files) (109.2 K / 804.1 K bytes)
2026-09-09 18:25:25,970 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_ifuslicer_0018.rmap    1.5 K bytes  (39 / 225 files) (110.1 K / 804.1 K bytes)
2026-09-09 18:25:26,191 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_ifupost_0020.rmap    1.5 K bytes  (40 / 225 files) (111.6 K / 804.1 K bytes)
2026-09-09 18:25:26,415 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_ifufore_0017.rmap    1.5 K bytes  (41 / 225 files) (113.1 K / 804.1 K bytes)
2026-09-09 18:25:26,637 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_gain_0023.rmap    1.8 K bytes  (42 / 225 files) (114.6 K / 804.1 K bytes)
2026-09-09 18:25:26,860 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_fpa_0028.rmap    1.3 K bytes  (43 / 225 files) (116.4 K / 804.1 K bytes)
2026-09-09 18:25:27,082 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_fore_0026.rmap    5.0 K bytes  (44 / 225 files) (117.6 K / 804.1 K bytes)
2026-09-09 18:25:27,307 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_flat_0015.rmap    3.8 K bytes  (45 / 225 files) (122.6 K / 804.1 K bytes)
2026-09-09 18:25:27,538 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_fflat_0030.rmap    7.2 K bytes  (46 / 225 files) (126.4 K / 804.1 K bytes)
2026-09-09 18:25:27,760 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_extract1d_0018.rmap    2.3 K bytes  (47 / 225 files) (133.6 K / 804.1 K bytes)
2026-09-09 18:25:27,987 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_disperser_0028.rmap    5.7 K bytes  (48 / 225 files) (135.9 K / 804.1 K bytes)
2026-09-09 18:25:28,215 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_dflat_0007.rmap    1.1 K bytes  (49 / 225 files) (141.6 K / 804.1 K bytes)
2026-09-09 18:25:28,435 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_dark_0086.rmap   37.5 K bytes  (50 / 225 files) (142.8 K / 804.1 K bytes)
2026-09-09 18:25:28,725 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_cubepar_0015.rmap      966 bytes  (51 / 225 files) (180.3 K / 804.1 K bytes)
2026-09-09 18:25:28,947 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_collimator_0026.rmap    1.3 K bytes  (52 / 225 files) (181.2 K / 804.1 K bytes)
2026-09-09 18:25:29,169 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_chromcorr_0002.rmap    1.4 K bytes  (53 / 225 files) (182.6 K / 804.1 K bytes)
2026-09-09 18:25:29,395 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_camera_0026.rmap    1.3 K bytes  (54 / 225 files) (183.9 K / 804.1 K bytes)
2026-09-09 18:25:29,624 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_barshadow_0007.rmap    1.8 K bytes  (55 / 225 files) (185.2 K / 804.1 K bytes)
2026-09-09 18:25:29,846 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_area_0019.rmap    6.8 K bytes  (56 / 225 files) (187.0 K / 804.1 K bytes)
2026-09-09 18:25:30,069 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_apcorr_0009.rmap    5.6 K bytes  (57 / 225 files) (193.8 K / 804.1 K bytes)
2026-09-09 18:25:30,290 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nirspec_0441.imap     6.2 K bytes  (58 / 225 files) (199.4 K / 804.1 K bytes)
2026-09-09 18:25:30,515 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_wavelengthrange_0008.rmap      897 bytes  (59 / 225 files) (205.7 K / 804.1 K bytes)
2026-09-09 18:25:30,738 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_trappars_0004.rmap      753 bytes  (60 / 225 files) (206.6 K / 804.1 K bytes)
2026-09-09 18:25:30,960 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_trapdensity_0005.rmap      705 bytes  (61 / 225 files) (207.3 K / 804.1 K bytes)
2026-09-09 18:25:31,182 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_throughput_0005.rmap    1.3 K bytes  (62 / 225 files) (208.0 K / 804.1 K bytes)
2026-09-09 18:25:31,404 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_superbias_0037.rmap    8.6 K bytes  (63 / 225 files) (209.3 K / 804.1 K bytes)
2026-09-09 18:25:31,627 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_specwcs_0017.rmap    3.1 K bytes  (64 / 225 files) (217.9 K / 804.1 K bytes)
2026-09-09 18:25:31,849 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_specprofile_0010.rmap    2.5 K bytes  (65 / 225 files) (221.0 K / 804.1 K bytes)
2026-09-09 18:25:32,075 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_speckernel_0006.rmap    1.0 K bytes  (66 / 225 files) (223.5 K / 804.1 K bytes)
2026-09-09 18:25:32,299 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_sirskernel_0002.rmap      700 bytes  (67 / 225 files) (224.5 K / 804.1 K bytes)
2026-09-09 18:25:32,521 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_saturation_0015.rmap      829 bytes  (68 / 225 files) (225.2 K / 804.1 K bytes)
2026-09-09 18:25:32,743 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_readnoise_0011.rmap      987 bytes  (69 / 225 files) (226.1 K / 804.1 K bytes)
2026-09-09 18:25:32,967 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_photom_0042.rmap    1.3 K bytes  (70 / 225 files) (227.1 K / 804.1 K bytes)
2026-09-09 18:25:33,201 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_persat_0007.rmap      674 bytes  (71 / 225 files) (228.3 K / 804.1 K bytes)
2026-09-09 18:25:33,425 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pathloss_0003.rmap      758 bytes  (72 / 225 files) (229.0 K / 804.1 K bytes)
2026-09-09 18:25:33,651 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pastasoss_0006.rmap      818 bytes  (73 / 225 files) (229.7 K / 804.1 K bytes)
2026-09-09 18:25:33,873 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-wfsscontamstep_0001.rmap      797 bytes  (74 / 225 files) (230.6 K / 804.1 K bytes)
2026-09-09 18:25:34,095 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-undersamplecorrectionstep_0001.rmap      904 bytes  (75 / 225 files) (231.4 K / 804.1 K bytes)
2026-09-09 18:25:34,318 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-tweakregstep_0012.rmap    3.1 K bytes  (76 / 225 files) (232.3 K / 804.1 K bytes)
2026-09-09 18:25:34,541 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-spec2pipeline_0009.rmap    1.2 K bytes  (77 / 225 files) (235.4 K / 804.1 K bytes)
2026-09-09 18:25:34,762 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-sourcecatalogstep_0004.rmap    2.3 K bytes  (78 / 225 files) (236.6 K / 804.1 K bytes)
2026-09-09 18:25:35,006 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-resamplestep_0002.rmap      687 bytes  (79 / 225 files) (239.0 K / 804.1 K bytes)
2026-09-09 18:25:35,269 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-outlierdetectionstep_0004.rmap    2.7 K bytes  (80 / 225 files) (239.6 K / 804.1 K bytes)
2026-09-09 18:25:35,569 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-jumpstep_0007.rmap    6.4 K bytes  (81 / 225 files) (242.3 K / 804.1 K bytes)
2026-09-09 18:25:35,826 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-image2pipeline_0005.rmap    1.0 K bytes  (82 / 225 files) (248.7 K / 804.1 K bytes)
2026-09-09 18:25:36,047 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-detector1pipeline_0005.rmap    1.5 K bytes  (83 / 225 files) (249.7 K / 804.1 K bytes)
2026-09-09 18:25:36,308 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-darkpipeline_0002.rmap      868 bytes  (84 / 225 files) (251.2 K / 804.1 K bytes)
2026-09-09 18:25:36,531 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-darkcurrentstep_0001.rmap      591 bytes  (85 / 225 files) (252.1 K / 804.1 K bytes)
2026-09-09 18:25:36,778 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-cleanflickernoisestep_0003.rmap    1.2 K bytes  (86 / 225 files) (252.7 K / 804.1 K bytes)
2026-09-09 18:25:37,021 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-chargemigrationstep_0005.rmap    5.7 K bytes  (87 / 225 files) (253.9 K / 804.1 K bytes)
2026-09-09 18:25:37,244 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_pars-backgroundstep_0003.rmap      822 bytes  (88 / 225 files) (259.6 K / 804.1 K bytes)
2026-09-09 18:25:37,491 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_nrm_0005.rmap      663 bytes  (89 / 225 files) (260.4 K / 804.1 K bytes)
2026-09-09 18:25:37,731 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_mask_0025.rmap    1.6 K bytes  (90 / 225 files) (261.1 K / 804.1 K bytes)
2026-09-09 18:25:37,988 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_linearity_0022.rmap      961 bytes  (91 / 225 files) (262.7 K / 804.1 K bytes)
2026-09-09 18:25:38,222 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_ipc_0007.rmap      651 bytes  (92 / 225 files) (263.6 K / 804.1 K bytes)
2026-09-09 18:25:38,473 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_gain_0011.rmap      797 bytes  (93 / 225 files) (264.3 K / 804.1 K bytes)
2026-09-09 18:25:38,696 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_flat_0023.rmap    5.9 K bytes  (94 / 225 files) (265.1 K / 804.1 K bytes)
2026-09-09 18:25:38,918 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_filteroffset_0010.rmap      853 bytes  (95 / 225 files) (270.9 K / 804.1 K bytes)
2026-09-09 18:25:39,141 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_extract1d_0007.rmap      905 bytes  (96 / 225 files) (271.8 K / 804.1 K bytes)
2026-09-09 18:25:39,367 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_drizpars_0004.rmap      519 bytes  (97 / 225 files) (272.7 K / 804.1 K bytes)
2026-09-09 18:25:39,614 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_distortion_0025.rmap    3.4 K bytes  (98 / 225 files) (273.2 K / 804.1 K bytes)
2026-09-09 18:25:39,871 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_dark_0041.rmap    8.7 K bytes  (99 / 225 files) (276.6 K / 804.1 K bytes)
2026-09-09 18:25:40,100 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_bkg_0005.rmap    3.1 K bytes  (100 / 225 files) (285.3 K / 804.1 K bytes)
2026-09-09 18:25:40,328 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_area_0014.rmap    2.7 K bytes  (101 / 225 files) (288.4 K / 804.1 K bytes)
2026-09-09 18:25:40,551 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_apcorr_0010.rmap    4.3 K bytes  (102 / 225 files) (291.1 K / 804.1 K bytes)
2026-09-09 18:25:40,774 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_abvegaoffset_0004.rmap    1.4 K bytes  (103 / 225 files) (295.4 K / 804.1 K bytes)
2026-09-09 18:25:40,996 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_niriss_0313.imap      6.0 K bytes  (104 / 225 files) (296.7 K / 804.1 K bytes)
2026-09-09 18:25:41,218 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_wavelengthrange_0014.rmap      996 bytes  (105 / 225 files) (302.7 K / 804.1 K bytes)
2026-09-09 18:25:41,445 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_tsophot_0003.rmap      896 bytes  (106 / 225 files) (303.7 K / 804.1 K bytes)
2026-09-09 18:25:41,668 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_trappars_0003.rmap    1.6 K bytes  (107 / 225 files) (304.6 K / 804.1 K bytes)
2026-09-09 18:25:41,890 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_trapdensity_0003.rmap    1.6 K bytes  (108 / 225 files) (306.2 K / 804.1 K bytes)
2026-09-09 18:25:42,111 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_superbias_0022.rmap   25.5 K bytes  (109 / 225 files) (307.8 K / 804.1 K bytes)
2026-09-09 18:25:42,402 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_specwcs_0027.rmap    8.0 K bytes  (110 / 225 files) (333.3 K / 804.1 K bytes)
2026-09-09 18:25:42,629 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_sirskernel_0003.rmap      671 bytes  (111 / 225 files) (341.3 K / 804.1 K bytes)
2026-09-09 18:25:42,853 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_saturation_0011.rmap    2.8 K bytes  (112 / 225 files) (342.0 K / 804.1 K bytes)
2026-09-09 18:25:43,079 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_regions_0003.rmap    3.4 K bytes  (113 / 225 files) (344.8 K / 804.1 K bytes)
2026-09-09 18:25:43,304 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_readnoise_0028.rmap   27.1 K bytes  (114 / 225 files) (348.2 K / 804.1 K bytes)
2026-09-09 18:25:43,595 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_psfmask_0008.rmap   28.4 K bytes  (115 / 225 files) (375.4 K / 804.1 K bytes)
2026-09-09 18:25:43,887 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_photom_0031.rmap    3.4 K bytes  (116 / 225 files) (403.7 K / 804.1 K bytes)
2026-09-09 18:25:44,108 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_persat_0005.rmap    1.6 K bytes  (117 / 225 files) (407.2 K / 804.1 K bytes)
2026-09-09 18:25:44,331 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-whitelightstep_0004.rmap    2.0 K bytes  (118 / 225 files) (408.7 K / 804.1 K bytes)
2026-09-09 18:25:44,580 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-wfsscontamstep_0001.rmap      797 bytes  (119 / 225 files) (410.7 K / 804.1 K bytes)
2026-09-09 18:25:44,803 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-tweakregstep_0003.rmap    4.5 K bytes  (120 / 225 files) (411.5 K / 804.1 K bytes)
2026-09-09 18:25:45,030 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-tsophotometrystep_0003.rmap    1.1 K bytes  (121 / 225 files) (416.0 K / 804.1 K bytes)
2026-09-09 18:25:45,253 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-spec2pipeline_0009.rmap      984 bytes  (122 / 225 files) (417.1 K / 804.1 K bytes)
2026-09-09 18:25:45,480 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-sourcecatalogstep_0002.rmap    4.6 K bytes  (123 / 225 files) (418.1 K / 804.1 K bytes)
2026-09-09 18:25:45,704 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-resamplestep_0002.rmap      687 bytes  (124 / 225 files) (422.7 K / 804.1 K bytes)
2026-09-09 18:25:45,930 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-outlierdetectionstep_0003.rmap      940 bytes  (125 / 225 files) (423.4 K / 804.1 K bytes)
2026-09-09 18:25:46,152 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-jumpstep_0005.rmap      806 bytes  (126 / 225 files) (424.3 K / 804.1 K bytes)
2026-09-09 18:25:46,379 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-image2pipeline_0004.rmap    1.1 K bytes  (127 / 225 files) (425.1 K / 804.1 K bytes)
2026-09-09 18:25:46,604 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-detector1pipeline_0008.rmap    1.9 K bytes  (128 / 225 files) (426.3 K / 804.1 K bytes)
2026-09-09 18:25:46,833 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-darkpipeline_0002.rmap      868 bytes  (129 / 225 files) (428.1 K / 804.1 K bytes)
2026-09-09 18:25:47,056 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-darkcurrentstep_0001.rmap      618 bytes  (130 / 225 files) (429.0 K / 804.1 K bytes)
2026-09-09 18:25:47,280 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_pars-backgroundstep_0003.rmap      822 bytes  (131 / 225 files) (429.6 K / 804.1 K bytes)
2026-09-09 18:25:47,503 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_mask_0015.rmap    6.0 K bytes  (132 / 225 files) (430.4 K / 804.1 K bytes)
2026-09-09 18:25:47,726 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_linearity_0011.rmap    2.4 K bytes  (133 / 225 files) (436.4 K / 804.1 K bytes)
2026-09-09 18:25:47,949 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_ipc_0003.rmap    2.0 K bytes  (134 / 225 files) (438.8 K / 804.1 K bytes)
2026-09-09 18:25:48,187 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_gain_0016.rmap    2.1 K bytes  (135 / 225 files) (440.8 K / 804.1 K bytes)
2026-09-09 18:25:48,414 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_flat_0028.rmap   51.7 K bytes  (136 / 225 files) (442.9 K / 804.1 K bytes)
2026-09-09 18:25:48,772 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_filteroffset_0004.rmap    1.4 K bytes  (137 / 225 files) (494.6 K / 804.1 K bytes)
2026-09-09 18:25:48,995 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_extract1d_0007.rmap    2.2 K bytes  (138 / 225 files) (496.0 K / 804.1 K bytes)
2026-09-09 18:25:49,217 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_drizpars_0001.rmap      519 bytes  (139 / 225 files) (498.2 K / 804.1 K bytes)
2026-09-09 18:25:49,445 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_distortion_0034.rmap   53.4 K bytes  (140 / 225 files) (498.7 K / 804.1 K bytes)
2026-09-09 18:25:49,807 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_dark_0054.rmap   33.9 K bytes  (141 / 225 files) (552.1 K / 804.1 K bytes)
2026-09-09 18:25:50,098 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_bkg_0002.rmap    7.0 K bytes  (142 / 225 files) (585.9 K / 804.1 K bytes)
2026-09-09 18:25:50,321 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_area_0012.rmap   33.5 K bytes  (143 / 225 files) (592.9 K / 804.1 K bytes)
2026-09-09 18:25:50,611 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_apcorr_0009.rmap    4.3 K bytes  (144 / 225 files) (626.4 K / 804.1 K bytes)
2026-09-09 18:25:50,833 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_abvegaoffset_0004.rmap    1.3 K bytes  (145 / 225 files) (630.7 K / 804.1 K bytes)
2026-09-09 18:25:51,057 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_nircam_0358.imap      5.8 K bytes  (146 / 225 files) (632.0 K / 804.1 K bytes)
2026-09-09 18:25:51,278 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_wavelengthrange_0031.rmap    1.0 K bytes  (147 / 225 files) (637.8 K / 804.1 K bytes)
2026-09-09 18:25:51,506 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_tsophot_0004.rmap      882 bytes  (148 / 225 files) (638.8 K / 804.1 K bytes)
2026-09-09 18:25:51,728 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_straymask_0009.rmap      987 bytes  (149 / 225 files) (639.7 K / 804.1 K bytes)
2026-09-09 18:25:51,949 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_specwcs_0051.rmap    6.4 K bytes  (150 / 225 files) (640.7 K / 804.1 K bytes)
2026-09-09 18:25:52,172 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_saturation_0015.rmap    1.2 K bytes  (151 / 225 files) (647.1 K / 804.1 K bytes)
2026-09-09 18:25:52,394 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_rscd_0012.rmap    1.0 K bytes  (152 / 225 files) (648.2 K / 804.1 K bytes)
2026-09-09 18:25:52,616 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_resol_0006.rmap      790 bytes  (153 / 225 files) (649.2 K / 804.1 K bytes)
2026-09-09 18:25:52,846 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_reset_0027.rmap    3.8 K bytes  (154 / 225 files) (650.0 K / 804.1 K bytes)
2026-09-09 18:25:53,071 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_regions_0036.rmap    4.4 K bytes  (155 / 225 files) (653.8 K / 804.1 K bytes)
2026-09-09 18:25:53,297 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_readnoise_0026.rmap    1.9 K bytes  (156 / 225 files) (658.2 K / 804.1 K bytes)
2026-09-09 18:25:53,526 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_psfmask_0009.rmap    2.1 K bytes  (157 / 225 files) (660.1 K / 804.1 K bytes)
2026-09-09 18:25:53,749 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_psf_0008.rmap    2.6 K bytes  (158 / 225 files) (662.2 K / 804.1 K bytes)
2026-09-09 18:25:53,975 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_photom_0068.rmap    4.0 K bytes  (159 / 225 files) (664.9 K / 804.1 K bytes)
2026-09-09 18:25:54,198 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pathloss_0006.rmap      866 bytes  (160 / 225 files) (668.8 K / 804.1 K bytes)
2026-09-09 18:25:54,421 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-whitelightstep_0003.rmap      912 bytes  (161 / 225 files) (669.7 K / 804.1 K bytes)
2026-09-09 18:25:54,649 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-wfsscontamstep_0001.rmap      787 bytes  (162 / 225 files) (670.6 K / 804.1 K bytes)
2026-09-09 18:25:54,879 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-tweakregstep_0003.rmap    1.8 K bytes  (163 / 225 files) (671.4 K / 804.1 K bytes)
2026-09-09 18:25:55,108 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-tsophotometrystep_0003.rmap    2.7 K bytes  (164 / 225 files) (673.2 K / 804.1 K bytes)
2026-09-09 18:25:55,330 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-spec3pipeline_0011.rmap      886 bytes  (165 / 225 files) (675.9 K / 804.1 K bytes)
2026-09-09 18:25:55,553 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-spec2pipeline_0015.rmap    1.5 K bytes  (166 / 225 files) (676.8 K / 804.1 K bytes)
2026-09-09 18:25:55,776 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-sourcecatalogstep_0004.rmap    1.9 K bytes  (167 / 225 files) (678.3 K / 804.1 K bytes)
2026-09-09 18:25:55,999 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-resamplestep_0002.rmap      677 bytes  (168 / 225 files) (680.2 K / 804.1 K bytes)
2026-09-09 18:25:56,223 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-resamplespecstep_0002.rmap      706 bytes  (169 / 225 files) (680.9 K / 804.1 K bytes)
2026-09-09 18:25:56,448 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-outlierdetectionstep_0020.rmap    3.4 K bytes  (170 / 225 files) (681.6 K / 804.1 K bytes)
2026-09-09 18:25:56,670 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-jumpstep_0011.rmap    1.6 K bytes  (171 / 225 files) (685.0 K / 804.1 K bytes)
2026-09-09 18:25:56,897 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-image2pipeline_0010.rmap    1.1 K bytes  (172 / 225 files) (686.5 K / 804.1 K bytes)
2026-09-09 18:25:57,120 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-extract1dstep_0003.rmap      807 bytes  (173 / 225 files) (687.6 K / 804.1 K bytes)
2026-09-09 18:25:57,343 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-emicorrstep_0003.rmap      796 bytes  (174 / 225 files) (688.4 K / 804.1 K bytes)
2026-09-09 18:25:57,567 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-detector1pipeline_0012.rmap    1.6 K bytes  (175 / 225 files) (689.2 K / 804.1 K bytes)
2026-09-09 18:25:57,792 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-darkpipeline_0002.rmap      860 bytes  (176 / 225 files) (690.8 K / 804.1 K bytes)
2026-09-09 18:25:58,017 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-darkcurrentstep_0002.rmap      683 bytes  (177 / 225 files) (691.7 K / 804.1 K bytes)
2026-09-09 18:25:58,240 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-backgroundstep_0003.rmap      814 bytes  (178 / 225 files) (692.3 K / 804.1 K bytes)
2026-09-09 18:25:58,465 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_pars-adaptivetracemodelstep_0002.rmap      979 bytes  (179 / 225 files) (693.2 K / 804.1 K bytes)
2026-09-09 18:25:58,693 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_mrsxartcorr_0002.rmap    2.2 K bytes  (180 / 225 files) (694.1 K / 804.1 K bytes)
2026-09-09 18:25:58,921 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_mrsptcorr_0005.rmap    2.0 K bytes  (181 / 225 files) (696.3 K / 804.1 K bytes)
2026-09-09 18:25:59,147 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_mask_0037.rmap    9.3 K bytes  (182 / 225 files) (698.3 K / 804.1 K bytes)
2026-09-09 18:25:59,371 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_linearity_0018.rmap    2.8 K bytes  (183 / 225 files) (707.6 K / 804.1 K bytes)
2026-09-09 18:25:59,594 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_ipc_0008.rmap      700 bytes  (184 / 225 files) (710.4 K / 804.1 K bytes)
2026-09-09 18:25:59,824 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_gain_0013.rmap    3.9 K bytes  (185 / 225 files) (711.1 K / 804.1 K bytes)
2026-09-09 18:26:00,047 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_fringefreq_0003.rmap    1.4 K bytes  (186 / 225 files) (715.0 K / 804.1 K bytes)
2026-09-09 18:26:00,275 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_fringe_0019.rmap    3.9 K bytes  (187 / 225 files) (716.5 K / 804.1 K bytes)
2026-09-09 18:26:00,497 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_flat_0079.rmap   17.1 K bytes  (188 / 225 files) (720.4 K / 804.1 K bytes)
2026-09-09 18:26:00,786 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_filteroffset_0029.rmap    2.4 K bytes  (189 / 225 files) (737.5 K / 804.1 K bytes)
2026-09-09 18:26:01,009 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_extract1d_0022.rmap    1.0 K bytes  (190 / 225 files) (739.9 K / 804.1 K bytes)
2026-09-09 18:26:01,240 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_emicorr_0007.rmap      663 bytes  (191 / 225 files) (740.9 K / 804.1 K bytes)
2026-09-09 18:26:01,479 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_drizpars_0002.rmap      511 bytes  (192 / 225 files) (741.6 K / 804.1 K bytes)
2026-09-09 18:26:01,703 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_distortion_0043.rmap    4.8 K bytes  (193 / 225 files) (742.1 K / 804.1 K bytes)
2026-09-09 18:26:01,942 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_dark_0043.rmap    5.6 K bytes  (194 / 225 files) (746.9 K / 804.1 K bytes)
2026-09-09 18:26:02,170 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_cubepar_0017.rmap      800 bytes  (195 / 225 files) (752.4 K / 804.1 K bytes)
2026-09-09 18:26:02,395 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_bkg_0006.rmap      712 bytes  (196 / 225 files) (753.2 K / 804.1 K bytes)
2026-09-09 18:26:02,618 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_area_0015.rmap      866 bytes  (197 / 225 files) (753.9 K / 804.1 K bytes)
2026-09-09 18:26:02,843 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_apcorr_0024.rmap    5.0 K bytes  (198 / 225 files) (754.8 K / 804.1 K bytes)
2026-09-09 18:26:03,065 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_abvegaoffset_0003.rmap    1.3 K bytes  (199 / 225 files) (759.8 K / 804.1 K bytes)
2026-09-09 18:26:03,291 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_miri_0517.imap        6.1 K bytes  (200 / 225 files) (761.1 K / 804.1 K bytes)
2026-09-09 18:26:03,515 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_trappars_0004.rmap      903 bytes  (201 / 225 files) (767.2 K / 804.1 K bytes)
2026-09-09 18:26:03,739 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_trapdensity_0006.rmap      930 bytes  (202 / 225 files) (768.1 K / 804.1 K bytes)
2026-09-09 18:26:03,961 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_superbias_0017.rmap    3.8 K bytes  (203 / 225 files) (769.0 K / 804.1 K bytes)
2026-09-09 18:26:04,189 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_saturation_0009.rmap      779 bytes  (204 / 225 files) (772.8 K / 804.1 K bytes)
2026-09-09 18:26:04,414 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_readnoise_0014.rmap    1.3 K bytes  (205 / 225 files) (773.6 K / 804.1 K bytes)
2026-09-09 18:26:04,642 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_photom_0014.rmap    1.1 K bytes  (206 / 225 files) (774.8 K / 804.1 K bytes)
2026-09-09 18:26:04,868 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_persat_0006.rmap      884 bytes  (207 / 225 files) (776.0 K / 804.1 K bytes)
2026-09-09 18:26:05,091 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-tweakregstep_0002.rmap      850 bytes  (208 / 225 files) (776.8 K / 804.1 K bytes)
2026-09-09 18:26:05,316 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-sourcecatalogstep_0001.rmap      636 bytes  (209 / 225 files) (777.7 K / 804.1 K bytes)
2026-09-09 18:26:05,540 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-outlierdetectionstep_0001.rmap      654 bytes  (210 / 225 files) (778.3 K / 804.1 K bytes)
2026-09-09 18:26:05,767 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-image2pipeline_0005.rmap      974 bytes  (211 / 225 files) (779.0 K / 804.1 K bytes)
2026-09-09 18:26:06,011 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-detector1pipeline_0002.rmap    1.0 K bytes  (212 / 225 files) (779.9 K / 804.1 K bytes)
2026-09-09 18:26:06,238 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_pars-darkpipeline_0002.rmap      856 bytes  (213 / 225 files) (781.0 K / 804.1 K bytes)
2026-09-09 18:26:06,460 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_mask_0023.rmap    1.1 K bytes  (214 / 225 files) (781.8 K / 804.1 K bytes)
2026-09-09 18:26:06,690 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_linearity_0015.rmap      925 bytes  (215 / 225 files) (782.9 K / 804.1 K bytes)
2026-09-09 18:26:06,912 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_ipc_0003.rmap       614 bytes  (216 / 225 files) (783.8 K / 804.1 K bytes)
2026-09-09 18:26:07,140 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_gain_0010.rmap      890 bytes  (217 / 225 files) (784.4 K / 804.1 K bytes)
2026-09-09 18:26:07,367 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_flat_0009.rmap    1.1 K bytes  (218 / 225 files) (785.3 K / 804.1 K bytes)
2026-09-09 18:26:07,600 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_distortion_0011.rmap    1.2 K bytes  (219 / 225 files) (786.4 K / 804.1 K bytes)
2026-09-09 18:26:07,823 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_dark_0017.rmap    4.3 K bytes  (220 / 225 files) (787.7 K / 804.1 K bytes)
2026-09-09 18:26:08,050 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_area_0010.rmap    1.2 K bytes  (221 / 225 files) (792.0 K / 804.1 K bytes)
2026-09-09 18:26:08,281 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_apcorr_0004.rmap    4.0 K bytes  (222 / 225 files) (793.1 K / 804.1 K bytes)
2026-09-09 18:26:08,505 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_abvegaoffset_0002.rmap    1.3 K bytes  (223 / 225 files) (797.1 K / 804.1 K bytes)
2026-09-09 18:26:08,732 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_fgs_0126.imap         5.2 K bytes  (224 / 225 files) (798.4 K / 804.1 K bytes)
2026-09-09 18:26:08,958 - CRDS - INFO -  Fetching  /home/runner/crds/mappings/jwst/jwst_1584.pmap               580 bytes  (225 / 225 files) (803.5 K / 804.1 K bytes)
2026-09-09 18:26:09,895 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:26:09,901 - CRDS - INFO -  Syncing 1 files
2026-09-09 18:26:09,901 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf    1.8 K bytes  (1 / 1 files) (0 / 1.8 K bytes)
2026-09-09 18:26:10,124 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:26:10,143 - CRDS - INFO -  Syncing 1 files
2026-09-09 18:26:10,144 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf    2.5 K bytes  (1 / 1 files) (0 / 2.5 K bytes)
2026-09-09 18:26:10,373 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:26:10,392 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:26:10,393 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:26:10,394 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:26:10,395 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:26:10,396 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:26:10,398 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:26:10,398 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:26:10,400 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:26:10,401 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:26:10,402 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:26:10,402 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:26:10,403 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:26:10,405 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:26:10,405 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:26:10,407 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:26:10,408 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:26:10,409 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:26:10,410 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:26:10,411 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:26:10,413 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:26:10,414 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:26:10,594 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00001_nrcalong_uncal.fits',).
2026-09-09 18:26:10,614 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:26:10,644 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00001_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:26:10,649 - CRDS - INFO -  Syncing 8 files
2026-09-09 18:26:10,649 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits    4.4 G bytes  (1 / 8 files) (0 / 4.7 G bytes)
2026-09-09 18:27:35,461 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits   16.8 M bytes  (2 / 8 files) (4.4 G / 4.7 G bytes)
2026-09-09 18:27:36,872 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits  151.0 M bytes  (3 / 8 files) (4.4 G / 4.7 G bytes)
2026-09-09 18:27:40,835 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits   16.8 M bytes  (4 / 8 files) (4.5 G / 4.7 G bytes)
2026-09-09 18:27:42,293 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits   16.8 M bytes  (5 / 8 files) (4.6 G / 4.7 G bytes)
2026-09-09 18:27:43,635 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits   33.6 M bytes  (6 / 8 files) (4.6 G / 4.7 G bytes)
2026-09-09 18:27:45,289 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf  661.0 K bytes  (7 / 8 files) (4.6 G / 4.7 G bytes)
2026-09-09 18:27:46,014 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits   50.4 M bytes  (8 / 8 files) (4.6 G / 4.7 G bytes)
2026-09-09 18:27:48,113 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:27:48,114 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:27:48,114 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:27:48,115 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:27:48,116 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:27:48,117 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:27:48,117 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:27:48,117 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:27:48,118 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:27:48,119 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:27:48,119 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:27:48,120 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:27:48,474 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:27:48,474 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:27:48,475 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:27:48,482 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:27:48,642 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:27:48,763 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:27:48,836 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:48,928 - CRDS - INFO -  Calibration SW Found: jwst 3.0.0 (/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst-3.0.0.dist-info)
2026-09-09 18:27:51,052 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:27:51,223 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:27:51,232 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:27:51,233 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:27:51,300 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:51,301 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:51,350 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:51,440 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:51,513 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:27:51,946 - stcal.saturation.saturation - INFO - Detected 894 saturated pixels
2026-09-09 18:27:51,959 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:27:51,984 - stpipe.step - INFO - Step saturation done
2026-09-09 18:27:52,159 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:27:52,160 - stpipe.step - INFO - Step skipped.
2026-09-09 18:27:52,336 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:27:52,347 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:27:52,414 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:52,534 - stpipe.step - INFO - Step superbias done
2026-09-09 18:27:52,709 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:27:52,715 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:27:52,733 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:27:52,734 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:27:52,735 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:27:52,736 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:27:52,736 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:27:52,947 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:27:53,040 - stpipe.step - INFO - Step refpix done
2026-09-09 18:27:53,216 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:27:53,224 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:27:53,298 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:53,299 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:53,300 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:53,301 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:53,301 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:53,302 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:53,303 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:53,732 - stpipe.step - INFO - Step linearity done
2026-09-09 18:27:53,902 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:27:53,911 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:27:55,541 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:27:55,615 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:27:55,616 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:27:56,115 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:27:56,289 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:27:56,290 - stpipe.step - INFO - Step skipped.
2026-09-09 18:27:56,467 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:27:56,468 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:27:56,468 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:27:56,479 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:27:56,484 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:27:56,576 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:28:01,040 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:28:12,006 - stcal.jump.jump - INFO - Total snowballs = 954
2026-09-09 18:28:12,007 - stcal.jump.jump - INFO - Total elapsed time = 15.4299 sec
2026-09-09 18:28:12,023 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.555121
2026-09-09 18:28:12,031 - stpipe.step - INFO - Step jump done
2026-09-09 18:28:12,204 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:28:12,205 - stpipe.step - INFO - Step skipped.
2026-09-09 18:28:12,383 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:28:12,385 - stpipe.step - INFO - Step skipped.
2026-09-09 18:28:12,560 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:28:12,561 - stpipe.step - INFO - Step skipped.
2026-09-09 18:28:12,731 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:28:12,747 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:28:12,748 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:28:12,776 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:28:12,776 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:28:12,794 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:28:14,474 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.6758410930633545
2026-09-09 18:28:14,654 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:28:14,825 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:28:14,832 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:28:14,847 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:28:14,848 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:28:14,855 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:28:15,030 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:28:15,035 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:28:15,051 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:28:15,052 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:28:15,060 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:28:15,161 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00001_nrcalong_rateints.fits
2026-09-09 18:28:15,162 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:28:15,164 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:28:15,262 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00001_nrcalong_rate.fits
2026-09-09 18:28:15,263 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:28:15,264 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:28:15,302 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:28:15,307 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:28:15,324 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:28:15,342 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:28:15,343 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:28:15,344 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:28:15,346 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:28:15,347 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:28:15,348 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:28:15,349 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:28:15,350 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:28:15,351 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:28:15,352 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:28:15,353 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:28:15,354 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:28:15,355 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:28:15,356 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:28:15,357 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:28:15,358 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:28:15,360 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:28:15,361 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:28:15,362 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:28:15,364 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:28:15,365 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:28:15,539 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00001_nrcblong_uncal.fits',).
2026-09-09 18:28:15,560 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:28:15,591 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00001_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:28:15,595 - CRDS - INFO -  Syncing 7 files
2026-09-09 18:28:15,596 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits    4.4 G bytes  (1 / 7 files) (0 / 4.6 G bytes)
2026-09-09 18:29:48,514 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits   16.8 M bytes  (2 / 7 files) (4.4 G / 4.6 G bytes)
2026-09-09 18:29:49,940 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits  134.2 M bytes  (3 / 7 files) (4.4 G / 4.6 G bytes)
2026-09-09 18:29:53,515 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits   16.8 M bytes  (4 / 7 files) (4.5 G / 4.6 G bytes)
2026-09-09 18:29:55,020 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits   16.8 M bytes  (5 / 7 files) (4.5 G / 4.6 G bytes)
2026-09-09 18:29:56,370 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits   33.6 M bytes  (6 / 7 files) (4.6 G / 4.6 G bytes)
2026-09-09 18:29:58,257 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits   50.4 M bytes  (7 / 7 files) (4.6 G / 4.6 G bytes)
2026-09-09 18:30:00,399 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:30:00,400 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:30:00,401 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:30:00,402 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:30:00,402 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:30:00,403 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:30:00,403 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:30:00,404 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:30:00,404 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:30:00,405 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:30:00,406 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:30:00,407 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:30:00,787 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:00,788 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:30:00,789 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:30:00,791 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:30:00,965 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:00,968 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:30:01,027 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:01,131 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:30:01,309 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:01,314 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:30:01,315 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:30:01,371 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:01,372 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:01,418 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:01,499 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:01,568 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:30:02,008 - stcal.saturation.saturation - INFO - Detected 1200 saturated pixels
2026-09-09 18:30:02,022 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:30:02,044 - stpipe.step - INFO - Step saturation done
2026-09-09 18:30:02,226 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:02,227 - stpipe.step - INFO - Step skipped.
2026-09-09 18:30:02,401 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:02,405 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:30:02,467 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:02,579 - stpipe.step - INFO - Step superbias done
2026-09-09 18:30:02,757 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:02,761 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:30:02,778 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:30:02,779 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:30:02,779 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:30:02,780 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:30:02,781 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:30:03,011 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:30:03,090 - stpipe.step - INFO - Step refpix done
2026-09-09 18:30:03,268 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:03,271 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:30:03,328 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:03,329 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:03,329 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:03,330 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:03,331 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:03,332 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:03,332 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:03,721 - stpipe.step - INFO - Step linearity done
2026-09-09 18:30:03,895 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:03,899 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:30:06,056 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:06,121 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:30:06,122 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:30:06,574 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:30:06,755 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:06,755 - stpipe.step - INFO - Step skipped.
2026-09-09 18:30:06,936 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:06,937 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:30:06,937 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:30:06,941 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:30:06,944 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:30:07,030 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:30:11,532 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:30:22,467 - stcal.jump.jump - INFO - Total snowballs = 904
2026-09-09 18:30:22,467 - stcal.jump.jump - INFO - Total elapsed time = 15.4368 sec
2026-09-09 18:30:22,481 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.544326
2026-09-09 18:30:22,485 - stpipe.step - INFO - Step jump done
2026-09-09 18:30:22,666 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:22,667 - stpipe.step - INFO - Step skipped.
2026-09-09 18:30:22,844 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:22,845 - stpipe.step - INFO - Step skipped.
2026-09-09 18:30:23,025 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:23,026 - stpipe.step - INFO - Step skipped.
2026-09-09 18:30:23,207 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:23,213 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:30:23,213 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:30:23,242 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:30:23,243 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:30:23,255 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:30:24,937 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.6773221492767334
2026-09-09 18:30:25,093 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:30:25,275 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:25,278 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:30:25,292 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:30:25,293 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:30:25,297 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:30:25,474 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:30:25,477 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:30:25,491 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:30:25,492 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:30:25,496 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:30:25,583 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00001_nrcblong_rateints.fits
2026-09-09 18:30:25,584 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:30:25,585 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:30:25,671 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00001_nrcblong_rate.fits
2026-09-09 18:30:25,671 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:30:25,672 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:30:25,711 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:30:25,716 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:30:25,732 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:30:25,750 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:30:25,751 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:30:25,752 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:30:25,753 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:30:25,755 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:30:25,755 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:30:25,757 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:30:25,758 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:30:25,759 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:30:25,760 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:30:25,761 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:30:25,762 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:30:25,763 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:30:25,764 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:30:25,765 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:30:25,766 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:30:25,768 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:30:25,769 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:30:25,770 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:30:25,771 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:30:25,772 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:30:25,960 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00002_nrcalong_uncal.fits',).
2026-09-09 18:30:25,982 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:30:26,012 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00002_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:30:26,016 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:30:26,017 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:30:26,017 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:30:26,018 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:30:26,019 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:30:26,019 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:30:26,020 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:30:26,021 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:30:26,021 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:30:26,022 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:30:26,022 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:30:26,023 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:30:26,387 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:26,388 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:30:26,389 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:30:26,391 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:30:26,569 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:26,572 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:30:26,632 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:26,729 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:30:26,909 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:26,914 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:30:26,914 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:30:26,971 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:26,972 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:27,019 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:27,098 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:27,162 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:30:27,563 - stcal.saturation.saturation - INFO - Detected 1070 saturated pixels
2026-09-09 18:30:27,577 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:30:27,600 - stpipe.step - INFO - Step saturation done
2026-09-09 18:30:27,782 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:27,782 - stpipe.step - INFO - Step skipped.
2026-09-09 18:30:27,962 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:27,965 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:30:28,027 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:28,136 - stpipe.step - INFO - Step superbias done
2026-09-09 18:30:28,321 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:28,324 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:30:28,343 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:30:28,343 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:30:28,344 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:30:28,344 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:30:28,345 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:30:28,549 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:30:28,627 - stpipe.step - INFO - Step refpix done
2026-09-09 18:30:28,807 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:28,811 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:30:28,878 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:28,879 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:28,880 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:28,881 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:28,882 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:28,882 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:28,883 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:29,317 - stpipe.step - INFO - Step linearity done
2026-09-09 18:30:29,501 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:29,504 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:30:34,894 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:34,957 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:30:34,958 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:30:35,493 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:30:35,671 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:35,672 - stpipe.step - INFO - Step skipped.
2026-09-09 18:30:35,853 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:35,853 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:30:35,854 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:30:35,857 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:30:35,860 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:30:35,952 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:30:40,472 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:30:51,662 - stcal.jump.jump - INFO - Total snowballs = 874
2026-09-09 18:30:51,662 - stcal.jump.jump - INFO - Total elapsed time = 15.7093 sec
2026-09-09 18:30:51,678 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.824183
2026-09-09 18:30:51,681 - stpipe.step - INFO - Step jump done
2026-09-09 18:30:51,866 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:51,867 - stpipe.step - INFO - Step skipped.
2026-09-09 18:30:52,053 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:52,054 - stpipe.step - INFO - Step skipped.
2026-09-09 18:30:52,242 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:52,243 - stpipe.step - INFO - Step skipped.
2026-09-09 18:30:52,425 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:52,431 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:30:52,432 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:30:52,461 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:30:52,462 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:30:52,475 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:30:54,182 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.702770471572876
2026-09-09 18:30:54,338 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:30:54,519 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:54,522 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:30:54,537 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:30:54,537 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:30:54,541 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:30:54,725 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_02101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:30:54,728 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:30:54,743 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:30:54,744 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:30:54,747 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:30:54,836 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00002_nrcalong_rateints.fits
2026-09-09 18:30:54,837 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:30:54,838 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:30:54,925 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00002_nrcalong_rate.fits
2026-09-09 18:30:54,926 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:30:54,927 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:30:54,965 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:30:54,970 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:30:54,986 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:30:55,004 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:30:55,005 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:30:55,006 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:30:55,007 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:30:55,009 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:30:55,010 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:30:55,010 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:30:55,011 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:30:55,012 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:30:55,013 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:30:55,014 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:30:55,015 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:30:55,016 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:30:55,017 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:30:55,018 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:30:55,019 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:30:55,021 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:30:55,022 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:30:55,023 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:30:55,024 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:30:55,025 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:30:55,212 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00002_nrcblong_uncal.fits',).
2026-09-09 18:30:55,232 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:30:55,263 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00002_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:30:55,267 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:30:55,268 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:30:55,269 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:30:55,269 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:30:55,270 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:30:55,271 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:30:55,271 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:30:55,272 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:30:55,272 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:30:55,273 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:30:55,274 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:30:55,274 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:30:55,653 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:30:55,654 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:30:55,655 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:30:55,657 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:30:55,833 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:30:55,836 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:30:55,895 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:55,992 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:30:56,171 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:30:56,176 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:30:56,177 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:30:56,233 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:56,234 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:56,283 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:56,360 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:56,426 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:30:56,790 - stcal.saturation.saturation - INFO - Detected 1582 saturated pixels
2026-09-09 18:30:56,804 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:30:56,826 - stpipe.step - INFO - Step saturation done
2026-09-09 18:30:57,010 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:30:57,011 - stpipe.step - INFO - Step skipped.
2026-09-09 18:30:57,193 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:30:57,197 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:30:57,264 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:57,399 - stpipe.step - INFO - Step superbias done
2026-09-09 18:30:57,581 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:30:57,584 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:30:57,601 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:30:57,602 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:30:57,603 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:30:57,603 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:30:57,604 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:30:57,812 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:30:57,890 - stpipe.step - INFO - Step refpix done
2026-09-09 18:30:58,071 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:30:58,074 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:30:58,132 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:58,133 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:58,134 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:58,134 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:58,136 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:58,136 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:58,137 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:58,523 - stpipe.step - INFO - Step linearity done
2026-09-09 18:30:58,702 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:30:58,705 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:30:59,915 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:30:59,979 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:30:59,980 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:31:00,363 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:31:00,547 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:31:00,548 - stpipe.step - INFO - Step skipped.
2026-09-09 18:31:00,728 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:31:00,730 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:31:00,730 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:31:00,733 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:31:00,736 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:31:00,819 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:31:05,321 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:31:16,851 - stcal.jump.jump - INFO - Total snowballs = 1005
2026-09-09 18:31:16,852 - stcal.jump.jump - INFO - Total elapsed time = 16.0324 sec
2026-09-09 18:31:16,867 - jwst.jump.jump_step - INFO - The execution time in seconds: 16.137021
2026-09-09 18:31:16,870 - stpipe.step - INFO - Step jump done
2026-09-09 18:31:17,052 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:31:17,053 - stpipe.step - INFO - Step skipped.
2026-09-09 18:31:17,237 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:31:17,238 - stpipe.step - INFO - Step skipped.
2026-09-09 18:31:17,418 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:31:17,419 - stpipe.step - INFO - Step skipped.
2026-09-09 18:31:17,599 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:31:17,605 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:31:17,606 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:31:17,635 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:31:17,636 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:31:17,649 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:31:19,296 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.6422910690307617
2026-09-09 18:31:19,451 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:31:19,631 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:31:19,634 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:31:19,649 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:31:19,650 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:31:19,655 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:31:19,834 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_02101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:31:19,837 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:31:19,852 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:31:19,852 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:31:19,856 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:31:19,945 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00002_nrcblong_rateints.fits
2026-09-09 18:31:19,945 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:31:19,946 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:31:20,032 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00002_nrcblong_rate.fits
2026-09-09 18:31:20,032 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:31:20,033 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:31:20,073 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:31:20,078 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:31:20,093 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:31:20,111 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:31:20,111 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:31:20,112 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:31:20,113 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:31:20,115 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:31:20,116 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:31:20,117 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:31:20,118 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:31:20,119 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:31:20,120 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:31:20,122 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:31:20,122 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:31:20,123 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:31:20,124 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:31:20,125 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:31:20,126 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:31:20,128 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:31:20,129 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:31:20,130 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:31:20,131 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:31:20,133 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:31:20,313 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00003_nrcalong_uncal.fits',).
2026-09-09 18:31:20,334 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:31:20,364 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00003_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:31:20,368 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:31:20,369 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:31:20,369 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:31:20,370 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:31:20,370 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:31:20,371 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:31:20,372 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:31:20,372 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:31:20,373 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:31:20,373 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:31:20,374 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:31:20,375 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:31:20,735 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:20,736 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:31:20,737 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:31:20,739 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:31:20,916 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:20,919 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:31:20,976 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:21,067 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:31:21,250 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:21,257 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:31:21,258 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:31:21,349 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:21,350 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:21,410 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:21,501 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:21,577 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:31:22,019 - stcal.saturation.saturation - INFO - Detected 1147 saturated pixels
2026-09-09 18:31:22,035 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:31:22,060 - stpipe.step - INFO - Step saturation done
2026-09-09 18:31:22,267 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:22,268 - stpipe.step - INFO - Step skipped.
2026-09-09 18:31:22,470 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:22,474 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:31:22,547 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:22,675 - stpipe.step - INFO - Step superbias done
2026-09-09 18:31:22,895 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:22,899 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:31:22,917 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:31:22,917 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:31:22,918 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:31:22,918 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:31:22,919 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:31:23,096 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:31:23,173 - stpipe.step - INFO - Step refpix done
2026-09-09 18:31:23,354 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:23,357 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:31:23,416 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:23,417 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:23,417 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:23,418 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:23,419 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:23,419 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:23,420 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:23,860 - stpipe.step - INFO - Step linearity done
2026-09-09 18:31:24,041 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:24,044 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:31:27,891 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:27,957 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:31:27,958 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:31:28,361 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:31:28,538 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:28,539 - stpipe.step - INFO - Step skipped.
2026-09-09 18:31:28,721 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:28,722 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:31:28,723 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:31:28,726 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:31:28,728 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:31:28,814 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:31:33,340 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:31:44,090 - stcal.jump.jump - INFO - Total snowballs = 916
2026-09-09 18:31:44,091 - stcal.jump.jump - INFO - Total elapsed time = 15.2762 sec
2026-09-09 18:31:44,105 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.382466
2026-09-09 18:31:44,108 - stpipe.step - INFO - Step jump done
2026-09-09 18:31:44,285 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:44,286 - stpipe.step - INFO - Step skipped.
2026-09-09 18:31:44,461 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:44,462 - stpipe.step - INFO - Step skipped.
2026-09-09 18:31:44,642 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:44,643 - stpipe.step - INFO - Step skipped.
2026-09-09 18:31:44,821 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:44,826 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:31:44,827 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:31:44,857 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:31:44,858 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:31:44,871 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:31:46,570 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.6942296028137207
2026-09-09 18:31:46,726 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:31:46,908 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:46,912 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:31:46,927 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:31:46,927 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:31:46,931 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:31:47,119 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_02101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:31:47,123 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:31:47,138 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:31:47,138 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:31:47,142 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:31:47,230 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcalong_rateints.fits
2026-09-09 18:31:47,231 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:31:47,232 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:31:47,322 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcalong_rate.fits
2026-09-09 18:31:47,322 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:31:47,323 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:31:47,362 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:31:47,367 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:31:47,384 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:31:47,402 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:31:47,403 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:31:47,404 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:31:47,405 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:31:47,407 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:31:47,408 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:31:47,409 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:31:47,410 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:31:47,411 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:31:47,412 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:31:47,413 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:31:47,414 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:31:47,415 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:31:47,416 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:31:47,417 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:31:47,418 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:31:47,420 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:31:47,421 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:31:47,422 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:31:47,423 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:31:47,424 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:31:47,618 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00003_nrcblong_uncal.fits',).
2026-09-09 18:31:47,639 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:31:47,671 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00003_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:31:47,675 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:31:47,675 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:31:47,676 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:31:47,677 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:31:47,677 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:31:47,678 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:31:47,678 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:31:47,679 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:31:47,679 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:31:47,680 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:31:47,680 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:31:47,681 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:31:48,062 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:31:48,063 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:31:48,064 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:31:48,066 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:31:48,277 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:31:48,280 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:31:48,339 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:48,437 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:31:48,617 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:31:48,621 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:31:48,622 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:31:48,677 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:48,678 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:48,725 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:48,806 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:48,877 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:31:49,278 - stcal.saturation.saturation - INFO - Detected 1027 saturated pixels
2026-09-09 18:31:49,290 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:31:49,312 - stpipe.step - INFO - Step saturation done
2026-09-09 18:31:49,498 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:31:49,499 - stpipe.step - INFO - Step skipped.
2026-09-09 18:31:49,679 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:31:49,682 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:31:49,748 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:49,867 - stpipe.step - INFO - Step superbias done
2026-09-09 18:31:50,048 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:31:50,051 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:31:50,069 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:31:50,070 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:31:50,071 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:31:50,071 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:31:50,072 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:31:50,280 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:31:50,368 - stpipe.step - INFO - Step refpix done
2026-09-09 18:31:50,545 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:31:50,548 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:31:50,605 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:50,606 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:50,607 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:50,607 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:50,608 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:50,609 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:50,609 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:51,056 - stpipe.step - INFO - Step linearity done
2026-09-09 18:31:51,272 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:31:51,276 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:31:52,498 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:31:52,564 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:31:52,564 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:31:52,941 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:31:53,122 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:31:53,123 - stpipe.step - INFO - Step skipped.
2026-09-09 18:31:53,312 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:31:53,312 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:31:53,313 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:31:53,316 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:31:53,319 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:31:53,407 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:31:57,986 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:32:09,140 - stcal.jump.jump - INFO - Total snowballs = 953
2026-09-09 18:32:09,140 - stcal.jump.jump - INFO - Total elapsed time = 15.7328 sec
2026-09-09 18:32:09,154 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.841919
2026-09-09 18:32:09,158 - stpipe.step - INFO - Step jump done
2026-09-09 18:32:09,341 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:32:09,342 - stpipe.step - INFO - Step skipped.
2026-09-09 18:32:09,527 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:32:09,528 - stpipe.step - INFO - Step skipped.
2026-09-09 18:32:09,714 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:32:09,715 - stpipe.step - INFO - Step skipped.
2026-09-09 18:32:09,895 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:32:09,901 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:32:09,902 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:32:09,931 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:32:09,932 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:32:09,945 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:32:11,952 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 2.0021257400512695
2026-09-09 18:32:12,107 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:32:12,301 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:32:12,304 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:32:12,319 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:32:12,320 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:32:12,324 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:32:12,503 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_02101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:32:12,506 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:32:12,521 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:32:12,522 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:32:12,526 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:32:12,613 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcblong_rateints.fits
2026-09-09 18:32:12,614 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:32:12,614 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:32:12,700 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcblong_rate.fits
2026-09-09 18:32:12,701 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:32:12,702 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:32:12,741 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:32:12,746 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:32:12,762 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:32:12,779 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:32:12,780 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:32:12,781 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:32:12,782 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:32:12,783 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:32:12,784 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:32:12,785 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:32:12,787 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:32:12,788 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:32:12,789 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:32:12,789 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:32:12,790 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:32:12,791 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:32:12,792 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:32:12,793 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:32:12,794 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:32:12,796 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:32:12,798 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:32:12,799 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:32:12,800 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:32:12,801 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:32:12,986 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00004_nrcalong_uncal.fits',).
2026-09-09 18:32:13,007 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:32:13,038 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00004_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:32:13,042 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:32:13,042 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:32:13,043 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:32:13,043 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:32:13,044 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:32:13,045 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:32:13,046 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:32:13,046 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:32:13,047 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:32:13,047 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:32:13,048 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:32:13,049 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:32:13,424 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:13,425 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:32:13,425 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:32:13,428 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:32:13,612 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:13,615 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:32:13,676 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:13,780 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:32:13,964 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:13,969 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:32:13,970 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:32:14,033 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:14,034 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:14,086 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:14,184 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:14,261 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:32:14,666 - stcal.saturation.saturation - INFO - Detected 1354 saturated pixels
2026-09-09 18:32:14,680 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:32:14,703 - stpipe.step - INFO - Step saturation done
2026-09-09 18:32:14,896 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:14,897 - stpipe.step - INFO - Step skipped.
2026-09-09 18:32:15,094 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:15,097 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:32:15,170 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:15,293 - stpipe.step - INFO - Step superbias done
2026-09-09 18:32:15,480 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:15,483 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:32:15,501 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:32:15,502 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:32:15,502 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:32:15,503 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:32:15,503 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:32:15,689 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:32:15,770 - stpipe.step - INFO - Step refpix done
2026-09-09 18:32:15,951 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:15,954 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:32:16,017 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:16,018 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:16,019 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:16,020 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:16,020 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:16,021 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:16,022 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:16,442 - stpipe.step - INFO - Step linearity done
2026-09-09 18:32:16,622 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:16,625 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:32:21,389 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:21,452 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:32:21,453 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:32:21,855 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:32:22,043 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:22,044 - stpipe.step - INFO - Step skipped.
2026-09-09 18:32:22,255 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:22,256 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:32:22,256 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:32:22,260 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:32:22,263 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:32:22,355 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:32:26,842 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:32:37,952 - stcal.jump.jump - INFO - Total snowballs = 985
2026-09-09 18:32:37,953 - stcal.jump.jump - INFO - Total elapsed time = 15.5974 sec
2026-09-09 18:32:37,968 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.712728
2026-09-09 18:32:37,972 - stpipe.step - INFO - Step jump done
2026-09-09 18:32:38,155 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:38,155 - stpipe.step - INFO - Step skipped.
2026-09-09 18:32:38,337 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:38,338 - stpipe.step - INFO - Step skipped.
2026-09-09 18:32:38,525 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:38,526 - stpipe.step - INFO - Step skipped.
2026-09-09 18:32:38,713 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:38,719 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:32:38,719 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:32:38,749 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:32:38,750 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:32:38,763 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:32:40,440 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.6726741790771484
2026-09-09 18:32:40,608 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:32:40,792 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:40,796 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:32:40,810 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:32:40,811 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:32:40,815 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:32:41,001 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_02101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:32:41,005 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:32:41,020 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:32:41,021 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:32:41,024 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:32:41,115 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00004_nrcalong_rateints.fits
2026-09-09 18:32:41,116 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:32:41,117 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:32:41,205 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00004_nrcalong_rate.fits
2026-09-09 18:32:41,206 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:32:41,206 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:32:41,247 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:32:41,252 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:32:41,268 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:32:41,285 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:32:41,286 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:32:41,287 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:32:41,288 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:32:41,290 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:32:41,291 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:32:41,291 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:32:41,293 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:32:41,294 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:32:41,295 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:32:41,296 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:32:41,297 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:32:41,298 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:32:41,299 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:32:41,300 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:32:41,301 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:32:41,303 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:32:41,304 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:32:41,305 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:32:41,306 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:32:41,307 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:32:41,497 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_02101_00004_nrcblong_uncal.fits',).
2026-09-09 18:32:41,518 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:32:41,549 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00004_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:32:41,553 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:32:41,554 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:32:41,555 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:32:41,555 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:32:41,556 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:32:41,556 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:32:41,557 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:32:41,558 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:32:41,558 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:32:41,559 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:32:41,559 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:32:41,560 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:32:41,932 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:32:41,933 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:32:41,934 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:32:41,936 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:32:42,118 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:32:42,121 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:32:42,181 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:42,275 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:32:42,458 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:32:42,463 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:32:42,464 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:32:42,522 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:42,523 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:42,571 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:42,650 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:42,717 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:32:43,122 - stcal.saturation.saturation - INFO - Detected 1294 saturated pixels
2026-09-09 18:32:43,135 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:32:43,158 - stpipe.step - INFO - Step saturation done
2026-09-09 18:32:43,345 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:32:43,346 - stpipe.step - INFO - Step skipped.
2026-09-09 18:32:43,522 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:32:43,525 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:32:43,592 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:43,698 - stpipe.step - INFO - Step superbias done
2026-09-09 18:32:43,874 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:32:43,877 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:32:43,895 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:32:43,896 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:32:43,897 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:32:43,897 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:32:43,898 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:32:44,108 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:32:44,185 - stpipe.step - INFO - Step refpix done
2026-09-09 18:32:44,369 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:32:44,373 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:32:44,433 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:44,434 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:44,435 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:44,435 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:44,436 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:44,437 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:44,438 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:44,817 - stpipe.step - INFO - Step linearity done
2026-09-09 18:32:45,000 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:32:45,004 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:32:46,255 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:32:46,324 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:32:46,325 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:32:46,684 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:32:46,861 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:32:46,862 - stpipe.step - INFO - Step skipped.
2026-09-09 18:32:47,042 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:32:47,043 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:32:47,043 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:32:47,047 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:32:47,050 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:32:47,138 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:32:51,660 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:33:02,755 - stcal.jump.jump - INFO - Total snowballs = 963
2026-09-09 18:33:02,756 - stcal.jump.jump - INFO - Total elapsed time = 15.6168 sec
2026-09-09 18:33:02,772 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.728471
2026-09-09 18:33:02,775 - stpipe.step - INFO - Step jump done
2026-09-09 18:33:02,958 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:33:02,959 - stpipe.step - INFO - Step skipped.
2026-09-09 18:33:03,142 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:33:03,143 - stpipe.step - INFO - Step skipped.
2026-09-09 18:33:03,326 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:33:03,327 - stpipe.step - INFO - Step skipped.
2026-09-09 18:33:03,513 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:33:03,519 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:33:03,520 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:33:03,550 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:33:03,551 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:33:03,565 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:33:05,362 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7927331924438477
2026-09-09 18:33:05,521 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:33:05,709 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:33:05,712 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:33:05,727 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:33:05,728 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:33:05,731 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:33:05,917 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_02101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:33:05,920 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:33:05,935 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:33:05,935 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:33:05,939 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:33:06,026 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00004_nrcblong_rateints.fits
2026-09-09 18:33:06,026 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:33:06,027 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:33:06,114 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00004_nrcblong_rate.fits
2026-09-09 18:33:06,115 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:33:06,116 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:33:06,154 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:33:06,160 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:33:06,176 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:33:06,194 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:33:06,195 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:33:06,196 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:33:06,197 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:33:06,198 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:33:06,199 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:33:06,200 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:33:06,202 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:33:06,202 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:33:06,203 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:33:06,204 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:33:06,205 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:33:06,206 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:33:06,207 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:33:06,208 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:33:06,209 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:33:06,210 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:33:06,211 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:33:06,212 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:33:06,214 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:33:06,215 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:33:06,398 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_03101_00001_nrcalong_uncal.fits',).
2026-09-09 18:33:06,420 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:33:06,451 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_03101_00001_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:33:06,456 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:33:06,456 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:33:06,457 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:33:06,457 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:33:06,458 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:33:06,459 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:33:06,459 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:33:06,460 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:33:06,460 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:33:06,461 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:33:06,462 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:33:06,463 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:33:06,842 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:06,843 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:33:06,843 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:33:06,845 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:33:07,026 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:07,029 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:33:07,095 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:07,193 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:33:07,380 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:07,386 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:33:07,386 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:33:07,454 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:07,455 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:07,499 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:07,582 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:07,652 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:33:08,062 - stcal.saturation.saturation - INFO - Detected 1223 saturated pixels
2026-09-09 18:33:08,077 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:33:08,101 - stpipe.step - INFO - Step saturation done
2026-09-09 18:33:08,286 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:08,287 - stpipe.step - INFO - Step skipped.
2026-09-09 18:33:08,466 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:08,469 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:33:08,531 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:08,642 - stpipe.step - INFO - Step superbias done
2026-09-09 18:33:08,822 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:08,826 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:33:08,844 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:33:08,844 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:33:08,845 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:33:08,846 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:33:08,846 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:33:09,027 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:33:09,105 - stpipe.step - INFO - Step refpix done
2026-09-09 18:33:09,282 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:09,286 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:33:09,410 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:09,411 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:09,412 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:09,412 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:09,413 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:09,414 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:09,414 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:09,844 - stpipe.step - INFO - Step linearity done
2026-09-09 18:33:10,025 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:10,029 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:33:19,024 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:19,210 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:33:19,212 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:33:23,573 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:33:28,163 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:28,164 - stpipe.step - INFO - Step skipped.
2026-09-09 18:33:28,351 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:28,352 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:33:28,353 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:33:28,358 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:33:28,361 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:33:28,591 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:33:33,216 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:33:45,623 - stcal.jump.jump - INFO - Total snowballs = 937
2026-09-09 18:33:45,624 - stcal.jump.jump - INFO - Total elapsed time = 17.0316 sec
2026-09-09 18:33:45,639 - jwst.jump.jump_step - INFO - The execution time in seconds: 17.286483
2026-09-09 18:33:45,642 - stpipe.step - INFO - Step jump done
2026-09-09 18:33:45,829 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:45,830 - stpipe.step - INFO - Step skipped.
2026-09-09 18:33:46,024 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:46,025 - stpipe.step - INFO - Step skipped.
2026-09-09 18:33:46,234 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:46,235 - stpipe.step - INFO - Step skipped.
2026-09-09 18:33:46,432 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:46,438 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:33:46,439 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:33:46,469 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:33:46,470 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:33:46,484 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:33:48,320 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.8321127891540527
2026-09-09 18:33:48,512 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:33:48,712 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:48,715 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:33:48,734 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:33:48,735 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:33:48,739 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:33:48,934 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_03101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:33:48,938 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:33:48,953 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:33:48,954 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:33:48,957 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:33:49,051 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcalong_rateints.fits
2026-09-09 18:33:49,052 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:33:49,053 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:33:49,145 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcalong_rate.fits
2026-09-09 18:33:49,146 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:33:49,146 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:33:49,192 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:33:49,197 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:33:49,214 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:33:49,233 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:33:49,234 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:33:49,236 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:33:49,238 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:33:49,240 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:33:49,241 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:33:49,242 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:33:49,244 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:33:49,245 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:33:49,247 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:33:49,248 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:33:49,249 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:33:49,250 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:33:49,251 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:33:49,252 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:33:49,253 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:33:49,257 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:33:49,259 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:33:49,261 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:33:49,263 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:33:49,264 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:33:49,461 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_03101_00001_nrcblong_uncal.fits',).
2026-09-09 18:33:49,483 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:33:49,518 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_03101_00001_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:33:49,523 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:33:49,524 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:33:49,525 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:33:49,525 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:33:49,526 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:33:49,527 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:33:49,527 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:33:49,528 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:33:49,528 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:33:49,529 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:33:49,529 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:33:49,530 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:33:50,034 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:33:50,035 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:33:50,036 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:33:50,038 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:33:50,234 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:33:50,238 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:33:50,300 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:50,401 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:33:50,596 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:33:50,602 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:33:50,602 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:33:50,663 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:50,664 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:50,717 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:50,803 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:50,873 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:33:51,290 - stcal.saturation.saturation - INFO - Detected 1031 saturated pixels
2026-09-09 18:33:51,304 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:33:51,326 - stpipe.step - INFO - Step saturation done
2026-09-09 18:33:51,523 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:33:51,523 - stpipe.step - INFO - Step skipped.
2026-09-09 18:33:51,720 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:33:51,724 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:33:51,793 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:51,909 - stpipe.step - INFO - Step superbias done
2026-09-09 18:33:52,107 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:33:52,111 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:33:52,129 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:33:52,130 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:33:52,131 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:33:52,131 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:33:52,132 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:33:52,355 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:33:52,436 - stpipe.step - INFO - Step refpix done
2026-09-09 18:33:52,634 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:33:52,637 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:33:52,702 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:52,703 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:52,704 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:52,705 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:52,705 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:52,706 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:52,707 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:53,109 - stpipe.step - INFO - Step linearity done
2026-09-09 18:33:53,304 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:33:53,307 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:33:57,288 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:33:57,360 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:33:57,361 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:33:57,746 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:33:57,934 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:33:57,934 - stpipe.step - INFO - Step skipped.
2026-09-09 18:33:58,125 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:33:58,126 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:33:58,126 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:33:58,130 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:33:58,133 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:33:58,224 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:34:02,740 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:34:13,951 - stcal.jump.jump - INFO - Total snowballs = 930
2026-09-09 18:34:13,952 - stcal.jump.jump - INFO - Total elapsed time = 15.727 sec
2026-09-09 18:34:13,967 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.841842
2026-09-09 18:34:13,971 - stpipe.step - INFO - Step jump done
2026-09-09 18:34:14,166 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:14,167 - stpipe.step - INFO - Step skipped.
2026-09-09 18:34:14,354 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:14,355 - stpipe.step - INFO - Step skipped.
2026-09-09 18:34:14,545 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:14,545 - stpipe.step - INFO - Step skipped.
2026-09-09 18:34:14,733 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:14,739 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:34:14,740 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:34:14,770 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:34:14,770 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:34:14,785 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:34:16,542 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7529406547546387
2026-09-09 18:34:16,702 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:34:16,891 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:16,894 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:34:16,910 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:34:16,910 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:34:16,914 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:34:17,101 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_03101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:17,104 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:34:17,120 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:34:17,120 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:34:17,124 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:34:17,214 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcblong_rateints.fits
2026-09-09 18:34:17,215 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:34:17,216 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:34:17,305 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcblong_rate.fits
2026-09-09 18:34:17,306 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:34:17,307 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:34:17,348 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:34:17,353 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:34:17,370 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:34:17,387 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:34:17,388 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:34:17,389 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:34:17,390 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:34:17,392 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:34:17,393 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:34:17,394 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:34:17,395 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:34:17,396 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:34:17,397 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:34:17,398 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:34:17,399 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:34:17,400 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:34:17,401 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:34:17,402 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:34:17,403 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:34:17,405 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:34:17,406 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:34:17,407 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:34:17,408 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:34:17,409 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:34:17,598 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_05101_00001_nrcalong_uncal.fits',).
2026-09-09 18:34:17,619 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:34:17,650 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_05101_00001_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:34:17,655 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:34:17,656 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:34:17,657 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:34:17,657 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:34:17,658 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:34:17,659 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:34:17,659 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:34:17,660 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:34:17,660 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:34:17,661 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:34:17,662 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:34:17,662 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:34:18,052 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:18,053 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:34:18,054 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:34:18,057 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:34:18,236 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:18,239 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:34:18,300 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:18,399 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:34:18,584 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:18,589 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:34:18,589 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:34:18,645 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:18,646 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:18,690 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:18,771 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:18,838 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:34:19,241 - stcal.saturation.saturation - INFO - Detected 916 saturated pixels
2026-09-09 18:34:19,255 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:34:19,277 - stpipe.step - INFO - Step saturation done
2026-09-09 18:34:19,468 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:19,469 - stpipe.step - INFO - Step skipped.
2026-09-09 18:34:19,659 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:19,662 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:34:19,732 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:19,851 - stpipe.step - INFO - Step superbias done
2026-09-09 18:34:20,047 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:20,051 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:34:20,069 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:34:20,070 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:34:20,070 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:34:20,071 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:34:20,071 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:34:20,285 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:34:20,364 - stpipe.step - INFO - Step refpix done
2026-09-09 18:34:20,550 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:20,554 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:34:20,618 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:20,619 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:20,619 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:20,620 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:20,621 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:20,622 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:20,622 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:21,048 - stpipe.step - INFO - Step linearity done
2026-09-09 18:34:21,239 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:21,243 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:34:22,470 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:22,542 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:34:22,543 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:34:22,915 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:34:23,106 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:23,107 - stpipe.step - INFO - Step skipped.
2026-09-09 18:34:23,295 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:23,296 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:34:23,296 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:34:23,299 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:34:23,302 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:34:23,390 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:34:27,852 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:34:38,754 - stcal.jump.jump - INFO - Total snowballs = 931
2026-09-09 18:34:38,755 - stcal.jump.jump - INFO - Total elapsed time = 15.3635 sec
2026-09-09 18:34:38,770 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.474129
2026-09-09 18:34:38,773 - stpipe.step - INFO - Step jump done
2026-09-09 18:34:38,961 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:38,961 - stpipe.step - INFO - Step skipped.
2026-09-09 18:34:39,148 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:39,150 - stpipe.step - INFO - Step skipped.
2026-09-09 18:34:39,337 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:39,338 - stpipe.step - INFO - Step skipped.
2026-09-09 18:34:39,527 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:39,533 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:34:39,534 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:34:39,563 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:34:39,564 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:34:39,577 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:34:41,315 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7336430549621582
2026-09-09 18:34:41,475 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:34:41,671 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:41,675 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:34:41,690 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:34:41,691 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:34:41,694 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:34:41,884 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_05101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:34:41,887 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:34:41,902 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:34:41,903 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:34:41,907 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:34:41,999 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcalong_rateints.fits
2026-09-09 18:34:41,999 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:34:42,001 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:34:42,091 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcalong_rate.fits
2026-09-09 18:34:42,091 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:34:42,092 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:34:42,134 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:34:42,140 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:34:42,156 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:34:42,173 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:34:42,174 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:34:42,175 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:34:42,176 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:34:42,177 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:34:42,178 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:34:42,179 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:34:42,180 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:34:42,181 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:34:42,182 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:34:42,183 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:34:42,183 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:34:42,184 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:34:42,185 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:34:42,186 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:34:42,187 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:34:42,189 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:34:42,190 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:34:42,192 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:34:42,193 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:34:42,194 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:34:42,384 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_05101_00001_nrcblong_uncal.fits',).
2026-09-09 18:34:42,405 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:34:42,437 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_05101_00001_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:34:42,441 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:34:42,442 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:34:42,443 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:34:42,443 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:34:42,444 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:34:42,445 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:34:42,445 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:34:42,446 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:34:42,446 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:34:42,447 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:34:42,448 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:34:42,448 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:34:42,826 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:42,827 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:34:42,827 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:34:42,829 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:34:43,013 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:43,016 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:34:43,079 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:43,179 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:34:43,369 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:43,374 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:34:43,375 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:34:43,438 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:43,440 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:43,489 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:43,567 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:43,632 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:34:44,036 - stcal.saturation.saturation - INFO - Detected 1514 saturated pixels
2026-09-09 18:34:44,049 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:34:44,072 - stpipe.step - INFO - Step saturation done
2026-09-09 18:34:44,265 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:44,266 - stpipe.step - INFO - Step skipped.
2026-09-09 18:34:44,462 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:44,466 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:34:44,534 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:44,652 - stpipe.step - INFO - Step superbias done
2026-09-09 18:34:44,850 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:44,853 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:34:44,873 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:34:44,874 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:34:44,874 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:34:44,875 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:34:44,875 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:34:45,100 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:34:45,182 - stpipe.step - INFO - Step refpix done
2026-09-09 18:34:45,373 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:45,377 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:34:45,438 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:45,439 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:45,440 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:45,441 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:45,442 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:45,442 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:45,443 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:45,838 - stpipe.step - INFO - Step linearity done
2026-09-09 18:34:46,028 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:46,034 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:34:52,549 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:34:52,618 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:34:52,619 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:34:53,036 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:34:53,233 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:53,234 - stpipe.step - INFO - Step skipped.
2026-09-09 18:34:53,455 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:34:53,456 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:34:53,457 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:34:53,460 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:34:53,463 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:34:53,554 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:34:58,055 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:35:08,786 - stcal.jump.jump - INFO - Total snowballs = 965
2026-09-09 18:35:08,787 - stcal.jump.jump - INFO - Total elapsed time = 15.2319 sec
2026-09-09 18:35:08,803 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.346281
2026-09-09 18:35:08,806 - stpipe.step - INFO - Step jump done
2026-09-09 18:35:08,995 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:35:08,996 - stpipe.step - INFO - Step skipped.
2026-09-09 18:35:09,187 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:35:09,188 - stpipe.step - INFO - Step skipped.
2026-09-09 18:35:09,381 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:35:09,382 - stpipe.step - INFO - Step skipped.
2026-09-09 18:35:09,572 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:35:09,578 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:35:09,579 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:35:09,608 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:35:09,609 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:35:09,623 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:35:11,359 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7312378883361816
2026-09-09 18:35:11,519 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:35:11,712 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:35:11,715 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:35:11,730 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:35:11,731 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:35:11,734 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:35:11,922 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_05101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:35:11,925 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:35:11,940 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:35:11,941 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:35:11,945 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:35:12,036 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcblong_rateints.fits
2026-09-09 18:35:12,037 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:35:12,037 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:35:12,127 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcblong_rate.fits
2026-09-09 18:35:12,128 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:35:12,128 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:35:12,168 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:35:12,173 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:35:12,189 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:35:12,207 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:35:12,208 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:35:12,209 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:35:12,210 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:35:12,211 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:35:12,213 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:35:12,214 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:35:12,215 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:35:12,216 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:35:12,217 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:35:12,217 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:35:12,218 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:35:12,219 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:35:12,221 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:35:12,222 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:35:12,223 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:35:12,225 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:35:12,226 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:35:12,227 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:35:12,228 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:35:12,230 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:35:12,415 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_05101_00002_nrcalong_uncal.fits',).
2026-09-09 18:35:12,436 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:35:12,468 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_05101_00002_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:35:12,471 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:35:12,472 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:35:12,472 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:35:12,473 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:35:12,474 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:35:12,474 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:35:12,475 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:35:12,475 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:35:12,476 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:35:12,476 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:35:12,478 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:35:12,478 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:35:12,852 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:12,853 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:35:12,854 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:35:12,856 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:35:13,040 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:13,043 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:35:13,102 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:13,202 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:35:13,393 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:13,398 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:35:13,399 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:35:13,459 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:13,460 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:13,506 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:13,590 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:13,663 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:35:14,027 - stcal.saturation.saturation - INFO - Detected 1321 saturated pixels
2026-09-09 18:35:14,040 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:35:14,063 - stpipe.step - INFO - Step saturation done
2026-09-09 18:35:14,252 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:14,253 - stpipe.step - INFO - Step skipped.
2026-09-09 18:35:14,441 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:14,445 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:35:14,513 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:14,632 - stpipe.step - INFO - Step superbias done
2026-09-09 18:35:14,830 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:14,834 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:35:14,852 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:35:14,853 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:35:14,853 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:35:14,854 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:35:14,854 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:35:15,059 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:35:15,142 - stpipe.step - INFO - Step refpix done
2026-09-09 18:35:15,338 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:15,341 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:35:15,407 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:15,408 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:15,409 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:15,409 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:15,410 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:15,411 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:15,412 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:15,837 - stpipe.step - INFO - Step linearity done
2026-09-09 18:35:16,029 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:16,033 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:35:20,274 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:20,341 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:35:20,341 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:35:20,732 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:35:20,921 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:20,922 - stpipe.step - INFO - Step skipped.
2026-09-09 18:35:21,111 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:21,112 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:35:21,113 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:35:21,116 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:35:21,119 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:35:21,207 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:35:25,732 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:35:37,225 - stcal.jump.jump - INFO - Total snowballs = 909
2026-09-09 18:35:37,226 - stcal.jump.jump - INFO - Total elapsed time = 16.018 sec
2026-09-09 18:35:37,241 - jwst.jump.jump_step - INFO - The execution time in seconds: 16.129159
2026-09-09 18:35:37,245 - stpipe.step - INFO - Step jump done
2026-09-09 18:35:37,434 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:37,435 - stpipe.step - INFO - Step skipped.
2026-09-09 18:35:37,622 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:37,623 - stpipe.step - INFO - Step skipped.
2026-09-09 18:35:37,833 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:37,834 - stpipe.step - INFO - Step skipped.
2026-09-09 18:35:38,032 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:38,038 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:35:38,039 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:35:38,069 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:35:38,070 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:35:38,084 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:35:39,855 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7663085460662842
2026-09-09 18:35:40,013 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:35:40,197 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:40,201 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:35:40,216 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:35:40,217 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:35:40,220 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:35:40,405 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_05101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:35:40,409 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:35:40,424 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:35:40,424 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:35:40,428 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:35:40,516 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcalong_rateints.fits
2026-09-09 18:35:40,517 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:35:40,518 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:35:40,605 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcalong_rate.fits
2026-09-09 18:35:40,606 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:35:40,606 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:35:40,646 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:35:40,651 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:35:40,667 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:35:40,685 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:35:40,686 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:35:40,687 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:35:40,688 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:35:40,690 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:35:40,691 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:35:40,692 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:35:40,693 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:35:40,694 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:35:40,695 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:35:40,696 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:35:40,697 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:35:40,698 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:35:40,699 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:35:40,700 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:35:40,701 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:35:40,703 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:35:40,704 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:35:40,705 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:35:40,706 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:35:40,707 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:35:40,898 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_05101_00002_nrcblong_uncal.fits',).
2026-09-09 18:35:40,918 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:35:40,950 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_05101_00002_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:35:40,954 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:35:40,955 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:35:40,955 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:35:40,956 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:35:40,957 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:35:40,958 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:35:40,958 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:35:40,959 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:35:40,959 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:35:40,960 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:35:40,961 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:35:40,961 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:35:41,351 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:35:41,352 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:35:41,353 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:35:41,355 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:35:41,548 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:35:41,552 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:35:41,612 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:41,713 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:35:41,906 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:35:41,912 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:35:41,913 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:35:41,974 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:41,975 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:42,023 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:42,107 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:42,180 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:35:42,538 - stcal.saturation.saturation - INFO - Detected 1159 saturated pixels
2026-09-09 18:35:42,553 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:35:42,576 - stpipe.step - INFO - Step saturation done
2026-09-09 18:35:42,771 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:35:42,772 - stpipe.step - INFO - Step skipped.
2026-09-09 18:35:42,968 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:35:42,971 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:35:43,042 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:43,165 - stpipe.step - INFO - Step superbias done
2026-09-09 18:35:43,358 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:35:43,361 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:35:43,379 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:35:43,380 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:35:43,380 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:35:43,381 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:35:43,381 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:35:43,593 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:35:43,694 - stpipe.step - INFO - Step refpix done
2026-09-09 18:35:43,880 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:35:43,884 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:35:43,947 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:43,948 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:43,949 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:43,950 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:43,951 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:43,951 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:43,952 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:44,350 - stpipe.step - INFO - Step linearity done
2026-09-09 18:35:44,538 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:35:44,543 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:35:45,766 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:35:45,833 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:35:45,834 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:35:46,207 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:35:46,397 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:35:46,398 - stpipe.step - INFO - Step skipped.
2026-09-09 18:35:46,589 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:35:46,590 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:35:46,590 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:35:46,594 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:35:46,597 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:35:46,685 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:35:51,209 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:36:02,054 - stcal.jump.jump - INFO - Total snowballs = 921
2026-09-09 18:36:02,055 - stcal.jump.jump - INFO - Total elapsed time = 15.3686 sec
2026-09-09 18:36:02,070 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.480546
2026-09-09 18:36:02,074 - stpipe.step - INFO - Step jump done
2026-09-09 18:36:02,271 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:36:02,272 - stpipe.step - INFO - Step skipped.
2026-09-09 18:36:02,465 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:36:02,466 - stpipe.step - INFO - Step skipped.
2026-09-09 18:36:02,655 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:36:02,655 - stpipe.step - INFO - Step skipped.
2026-09-09 18:36:02,842 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:36:02,848 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:36:02,849 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:36:02,880 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:36:02,881 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:36:02,895 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:36:04,631 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7309587001800537
2026-09-09 18:36:04,793 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:36:04,988 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:36:04,991 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:36:05,007 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:36:05,008 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:36:05,011 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:36:05,205 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_05101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:36:05,209 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:36:05,225 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:36:05,225 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:36:05,230 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:36:05,320 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcblong_rateints.fits
2026-09-09 18:36:05,321 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:36:05,322 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:36:05,418 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcblong_rate.fits
2026-09-09 18:36:05,419 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:36:05,419 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:36:05,461 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:36:05,466 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:36:05,483 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:36:05,501 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:36:05,502 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:36:05,503 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:36:05,504 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:36:05,506 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:36:05,507 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:36:05,508 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:36:05,509 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:36:05,510 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:36:05,511 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:36:05,512 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:36:05,513 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:36:05,515 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:36:05,515 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:36:05,516 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:36:05,518 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:36:05,519 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:36:05,520 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:36:05,521 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:36:05,523 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:36:05,524 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:36:05,723 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00001_nrcalong_uncal.fits',).
2026-09-09 18:36:05,744 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:36:05,775 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00001_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:36:05,779 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:36:05,780 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:36:05,781 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:36:05,781 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:36:05,782 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:36:05,783 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:36:05,783 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:36:05,784 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:36:05,785 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:36:05,785 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:36:05,786 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:36:05,787 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:36:06,172 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:06,173 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:36:06,173 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:36:06,175 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:36:06,364 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:06,367 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:36:06,431 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:06,529 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:36:06,721 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:06,726 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:36:06,727 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:36:06,797 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:06,798 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:06,847 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:06,931 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:07,004 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:36:07,386 - stcal.saturation.saturation - INFO - Detected 1013 saturated pixels
2026-09-09 18:36:07,400 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:36:07,421 - stpipe.step - INFO - Step saturation done
2026-09-09 18:36:07,610 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:07,611 - stpipe.step - INFO - Step skipped.
2026-09-09 18:36:07,800 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:07,803 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:36:07,868 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:07,981 - stpipe.step - INFO - Step superbias done
2026-09-09 18:36:08,171 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:08,174 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:36:08,192 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:36:08,193 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:36:08,194 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:36:08,194 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:36:08,195 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:36:08,409 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:36:08,494 - stpipe.step - INFO - Step refpix done
2026-09-09 18:36:08,684 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:08,687 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:36:08,793 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:08,794 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:08,795 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:08,796 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:08,797 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:08,798 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:08,799 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:09,238 - stpipe.step - INFO - Step linearity done
2026-09-09 18:36:09,431 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:09,435 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:36:14,977 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:15,051 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:36:15,052 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:36:15,496 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:36:15,693 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:15,694 - stpipe.step - INFO - Step skipped.
2026-09-09 18:36:15,889 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:15,890 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:36:15,891 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:36:15,894 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:36:15,899 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:36:15,989 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:36:20,557 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:36:31,593 - stcal.jump.jump - INFO - Total snowballs = 906
2026-09-09 18:36:31,594 - stcal.jump.jump - INFO - Total elapsed time = 15.6039 sec
2026-09-09 18:36:31,608 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.718513
2026-09-09 18:36:31,612 - stpipe.step - INFO - Step jump done
2026-09-09 18:36:31,803 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:31,805 - stpipe.step - INFO - Step skipped.
2026-09-09 18:36:31,998 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:31,999 - stpipe.step - INFO - Step skipped.
2026-09-09 18:36:32,194 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:32,194 - stpipe.step - INFO - Step skipped.
2026-09-09 18:36:32,383 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:32,389 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:36:32,390 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:36:32,421 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:36:32,422 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:36:32,436 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:36:34,121 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.6807093620300293
2026-09-09 18:36:34,292 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:36:34,484 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:34,488 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:36:34,503 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:36:34,504 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:36:34,507 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:36:34,701 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_07101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:36:34,705 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:36:34,722 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:36:34,723 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:36:34,727 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:36:34,817 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00001_nrcalong_rateints.fits
2026-09-09 18:36:34,817 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:36:34,818 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:36:34,904 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00001_nrcalong_rate.fits
2026-09-09 18:36:34,905 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:36:34,906 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:36:34,945 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:36:34,950 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:36:34,966 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:36:34,985 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:36:34,987 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:36:34,988 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:36:34,989 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:36:34,990 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:36:34,992 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:36:34,993 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:36:34,994 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:36:34,995 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:36:34,996 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:36:34,997 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:36:34,998 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:36:34,999 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:36:34,999 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:36:35,001 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:36:35,002 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:36:35,003 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:36:35,005 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:36:35,006 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:36:35,007 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:36:35,008 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:36:35,201 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00001_nrcblong_uncal.fits',).
2026-09-09 18:36:35,222 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:36:35,254 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00001_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:36:35,258 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:36:35,259 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:36:35,259 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:36:35,260 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:36:35,260 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:36:35,261 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:36:35,262 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:36:35,262 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:36:35,263 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:36:35,264 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:36:35,265 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:36:35,265 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:36:35,646 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:36:35,647 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:36:35,648 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:36:35,650 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:36:35,832 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:36:35,835 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:36:35,896 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:35,997 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:36:36,183 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:36:36,188 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:36:36,189 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:36:36,246 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:36,247 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:36,297 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:36,378 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:36,447 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:36:36,805 - stcal.saturation.saturation - INFO - Detected 1366 saturated pixels
2026-09-09 18:36:36,818 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:36:36,840 - stpipe.step - INFO - Step saturation done
2026-09-09 18:36:37,029 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:36:37,030 - stpipe.step - INFO - Step skipped.
2026-09-09 18:36:37,219 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:36:37,223 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:36:37,294 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:37,409 - stpipe.step - INFO - Step superbias done
2026-09-09 18:36:37,592 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:36:37,595 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:36:37,613 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:36:37,614 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:36:37,615 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:36:37,615 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:36:37,616 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:36:37,802 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:36:37,882 - stpipe.step - INFO - Step refpix done
2026-09-09 18:36:38,071 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:36:38,075 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:36:38,138 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:38,139 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:38,140 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:38,140 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:38,141 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:38,142 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:38,142 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:38,531 - stpipe.step - INFO - Step linearity done
2026-09-09 18:36:38,726 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:36:38,730 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:36:42,663 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:36:42,729 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:36:42,730 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:36:43,164 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:36:43,357 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:36:43,358 - stpipe.step - INFO - Step skipped.
2026-09-09 18:36:43,542 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:36:43,543 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:36:43,544 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:36:43,547 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:36:43,550 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:36:43,638 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:36:48,159 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:36:59,645 - stcal.jump.jump - INFO - Total snowballs = 1077
2026-09-09 18:36:59,646 - stcal.jump.jump - INFO - Total elapsed time = 16.007 sec
2026-09-09 18:36:59,660 - jwst.jump.jump_step - INFO - The execution time in seconds: 16.116791
2026-09-09 18:36:59,663 - stpipe.step - INFO - Step jump done
2026-09-09 18:36:59,846 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:36:59,847 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:00,043 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:37:00,045 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:00,236 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:37:00,237 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:00,426 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:37:00,432 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:37:00,432 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:37:00,461 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:37:00,462 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:37:00,476 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:37:02,165 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.6839427947998047
2026-09-09 18:37:02,323 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:37:02,514 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:37:02,517 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:37:02,532 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:37:02,533 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:37:02,537 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:37:02,726 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_07101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:37:02,729 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:37:02,745 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:37:02,746 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:37:02,749 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:37:02,840 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00001_nrcblong_rateints.fits
2026-09-09 18:37:02,841 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:37:02,842 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:37:02,928 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00001_nrcblong_rate.fits
2026-09-09 18:37:02,929 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:37:02,929 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:37:02,970 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:37:02,975 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:37:02,991 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:37:03,008 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:37:03,009 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:37:03,011 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:37:03,012 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:37:03,013 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:37:03,014 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:37:03,015 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:37:03,016 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:37:03,017 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:37:03,018 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:37:03,019 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:37:03,020 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:37:03,021 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:37:03,022 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:37:03,023 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:37:03,024 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:37:03,026 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:37:03,027 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:37:03,028 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:37:03,029 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:37:03,031 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:37:03,210 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00002_nrcalong_uncal.fits',).
2026-09-09 18:37:03,234 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:37:03,266 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00002_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:37:03,270 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:37:03,270 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:37:03,271 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:37:03,272 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:37:03,272 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:37:03,273 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:37:03,274 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:37:03,274 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:37:03,275 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:37:03,275 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:37:03,276 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:37:03,277 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:37:03,660 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:03,661 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:37:03,662 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:37:03,664 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:37:03,844 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:03,847 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:37:03,910 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:04,014 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:37:04,201 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:04,206 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:37:04,206 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:37:04,271 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:04,272 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:04,320 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:04,396 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:04,460 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:37:04,858 - stcal.saturation.saturation - INFO - Detected 802 saturated pixels
2026-09-09 18:37:04,872 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:37:04,895 - stpipe.step - INFO - Step saturation done
2026-09-09 18:37:05,089 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:05,090 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:05,286 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:05,290 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:37:05,358 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:05,473 - stpipe.step - INFO - Step superbias done
2026-09-09 18:37:05,662 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:05,665 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:37:05,683 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:37:05,684 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:37:05,685 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:37:05,685 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:37:05,686 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:37:05,897 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:37:05,977 - stpipe.step - INFO - Step refpix done
2026-09-09 18:37:06,158 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:06,161 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:37:06,228 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:06,229 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:06,230 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:06,230 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:06,231 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:06,232 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:06,233 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:06,662 - stpipe.step - INFO - Step linearity done
2026-09-09 18:37:06,844 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:06,848 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:37:08,505 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:08,573 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:37:08,573 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:37:08,948 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:37:09,135 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:09,136 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:09,323 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:09,324 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:37:09,325 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:37:09,328 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:37:09,331 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:37:09,421 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:37:13,912 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:37:24,863 - stcal.jump.jump - INFO - Total snowballs = 979
2026-09-09 18:37:24,864 - stcal.jump.jump - INFO - Total elapsed time = 15.4427 sec
2026-09-09 18:37:24,880 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.555543
2026-09-09 18:37:24,883 - stpipe.step - INFO - Step jump done
2026-09-09 18:37:25,071 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:25,072 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:25,263 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:25,264 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:25,453 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:25,454 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:25,641 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:25,647 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:37:25,647 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:37:25,677 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:37:25,678 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:37:25,693 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:37:27,389 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.6921026706695557
2026-09-09 18:37:27,549 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:37:27,734 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:27,738 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:37:27,753 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:37:27,754 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:37:27,757 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:37:27,946 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_07101_00002_nrcalong_uncal.fits>,).
2026-09-09 18:37:27,950 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:37:27,965 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:37:27,966 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:37:27,970 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:37:28,065 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00002_nrcalong_rateints.fits
2026-09-09 18:37:28,066 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:37:28,067 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:37:28,159 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00002_nrcalong_rate.fits
2026-09-09 18:37:28,160 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:37:28,160 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:37:28,201 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:37:28,206 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:37:28,223 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:37:28,241 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:37:28,243 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:37:28,244 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:37:28,245 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:37:28,246 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:37:28,247 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:37:28,249 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:37:28,250 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:37:28,251 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:37:28,252 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:37:28,253 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:37:28,254 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:37:28,255 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:37:28,256 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:37:28,257 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:37:28,258 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:37:28,259 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:37:28,260 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:37:28,261 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:37:28,262 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:37:28,264 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:37:28,458 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00002_nrcblong_uncal.fits',).
2026-09-09 18:37:28,479 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:37:28,511 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00002_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:37:28,515 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:37:28,515 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:37:28,516 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:37:28,517 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:37:28,517 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:37:28,518 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:37:28,518 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:37:28,519 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:37:28,520 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:37:28,521 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:37:28,521 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:37:28,522 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:37:28,910 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:28,911 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:37:28,912 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:37:28,914 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:37:29,103 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:29,106 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:37:29,168 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:29,276 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:37:29,467 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:29,472 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:37:29,472 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:37:29,534 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:29,535 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:29,584 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:29,668 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:29,745 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:37:30,120 - stcal.saturation.saturation - INFO - Detected 1152 saturated pixels
2026-09-09 18:37:30,133 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:37:30,155 - stpipe.step - INFO - Step saturation done
2026-09-09 18:37:30,351 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:30,352 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:30,544 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:30,548 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:37:30,617 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:30,735 - stpipe.step - INFO - Step superbias done
2026-09-09 18:37:30,922 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:30,925 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:37:30,943 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:37:30,944 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:37:30,944 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:37:30,945 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:37:30,946 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:37:31,150 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:37:31,231 - stpipe.step - INFO - Step refpix done
2026-09-09 18:37:31,416 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:31,420 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:37:31,483 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:31,484 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:31,485 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:31,486 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:31,486 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:31,487 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:31,488 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:31,879 - stpipe.step - INFO - Step linearity done
2026-09-09 18:37:32,073 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:32,077 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:37:34,334 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:34,401 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:37:34,402 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:37:34,790 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:37:34,984 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:34,985 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:35,178 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:35,179 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:37:35,180 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:37:35,184 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:37:35,187 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:37:35,277 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:37:39,831 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:37:50,916 - stcal.jump.jump - INFO - Total snowballs = 989
2026-09-09 18:37:50,917 - stcal.jump.jump - INFO - Total elapsed time = 15.6394 sec
2026-09-09 18:37:50,932 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.752274
2026-09-09 18:37:50,935 - stpipe.step - INFO - Step jump done
2026-09-09 18:37:51,149 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:51,150 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:51,347 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:51,348 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:51,533 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:51,533 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:51,714 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:51,720 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:37:51,721 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:37:51,750 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:37:51,751 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:37:51,764 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:37:53,490 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7214982509613037
2026-09-09 18:37:53,646 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:37:53,844 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:53,847 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:37:53,863 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:37:53,864 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:37:53,867 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:37:54,057 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_07101_00002_nrcblong_uncal.fits>,).
2026-09-09 18:37:54,061 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:37:54,076 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:37:54,076 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:37:54,080 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:37:54,168 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00002_nrcblong_rateints.fits
2026-09-09 18:37:54,169 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:37:54,170 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:37:54,255 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00002_nrcblong_rate.fits
2026-09-09 18:37:54,256 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:37:54,256 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:37:54,295 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:37:54,301 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:37:54,317 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:37:54,334 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:37:54,336 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:37:54,337 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:37:54,338 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:37:54,339 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:37:54,340 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:37:54,341 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:37:54,342 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:37:54,344 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:37:54,345 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:37:54,346 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:37:54,346 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:37:54,347 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:37:54,348 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:37:54,350 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:37:54,350 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:37:54,352 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:37:54,354 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:37:54,355 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:37:54,356 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:37:54,357 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:37:54,545 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00003_nrcalong_uncal.fits',).
2026-09-09 18:37:54,566 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:37:54,597 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00003_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:37:54,601 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:37:54,601 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:37:54,602 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:37:54,603 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:37:54,603 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:37:54,604 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:37:54,605 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:37:54,605 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:37:54,606 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:37:54,607 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:37:54,607 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:37:54,608 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:37:54,984 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:37:54,985 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:37:54,985 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:37:54,987 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:37:55,177 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:37:55,181 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:37:55,247 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:55,344 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:37:55,531 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:37:55,536 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:37:55,537 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:37:55,603 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:55,604 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:55,651 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:55,732 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:55,806 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:37:56,169 - stcal.saturation.saturation - INFO - Detected 742 saturated pixels
2026-09-09 18:37:56,182 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:37:56,204 - stpipe.step - INFO - Step saturation done
2026-09-09 18:37:56,387 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:37:56,387 - stpipe.step - INFO - Step skipped.
2026-09-09 18:37:56,571 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:37:56,575 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:37:56,640 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:56,757 - stpipe.step - INFO - Step superbias done
2026-09-09 18:37:56,942 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:37:56,945 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:37:56,963 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:37:56,963 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:37:56,964 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:37:56,965 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:37:56,965 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:37:57,167 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:37:57,245 - stpipe.step - INFO - Step refpix done
2026-09-09 18:37:57,427 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:37:57,430 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:37:57,530 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:57,530 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:57,531 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:57,532 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:57,533 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:57,534 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:57,534 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:37:57,951 - stpipe.step - INFO - Step linearity done
2026-09-09 18:37:58,131 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:37:58,134 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:38:01,981 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:02,043 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:38:02,044 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:38:02,454 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:38:02,647 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:38:02,648 - stpipe.step - INFO - Step skipped.
2026-09-09 18:38:02,837 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:38:02,837 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:38:02,838 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:38:02,841 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:38:02,844 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:38:02,933 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:38:07,375 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:38:17,853 - stcal.jump.jump - INFO - Total snowballs = 936
2026-09-09 18:38:17,854 - stcal.jump.jump - INFO - Total elapsed time = 14.92 sec
2026-09-09 18:38:17,869 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.031214
2026-09-09 18:38:17,872 - stpipe.step - INFO - Step jump done
2026-09-09 18:38:18,047 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:38:18,048 - stpipe.step - INFO - Step skipped.
2026-09-09 18:38:18,235 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:38:18,236 - stpipe.step - INFO - Step skipped.
2026-09-09 18:38:18,420 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:38:18,421 - stpipe.step - INFO - Step skipped.
2026-09-09 18:38:18,611 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:38:18,617 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:38:18,618 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:38:18,647 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:38:18,648 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:38:18,662 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:38:20,376 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7101116180419922
2026-09-09 18:38:20,534 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:38:20,728 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:38:20,731 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:38:20,746 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:38:20,747 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:38:20,750 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:38:20,931 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_07101_00003_nrcalong_uncal.fits>,).
2026-09-09 18:38:20,934 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:38:20,949 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:38:20,950 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:38:20,954 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:38:21,041 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00003_nrcalong_rateints.fits
2026-09-09 18:38:21,042 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:38:21,043 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:38:21,130 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00003_nrcalong_rate.fits
2026-09-09 18:38:21,131 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:38:21,132 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:38:21,172 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:38:21,177 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:38:21,193 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:38:21,210 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:38:21,211 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:38:21,212 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:38:21,213 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:38:21,214 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:38:21,215 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:38:21,216 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:38:21,217 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:38:21,219 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:38:21,220 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:38:21,221 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:38:21,222 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:38:21,223 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:38:21,223 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:38:21,224 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:38:21,226 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:38:21,227 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:38:21,229 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:38:21,230 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:38:21,231 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:38:21,232 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:38:21,413 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00003_nrcblong_uncal.fits',).
2026-09-09 18:38:21,434 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:38:21,465 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00003_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:38:21,469 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:38:21,470 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:38:21,471 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:38:21,472 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:38:21,472 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:38:21,473 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:38:21,473 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:38:21,474 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:38:21,474 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:38:21,475 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:38:21,476 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:38:21,477 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:38:21,852 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:21,853 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:38:21,853 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:38:21,855 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:38:22,036 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:22,040 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:38:22,102 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:22,194 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:38:22,380 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:22,385 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:38:22,385 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:38:22,441 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:22,442 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:22,488 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:22,563 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:22,623 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:38:23,011 - stcal.saturation.saturation - INFO - Detected 1293 saturated pixels
2026-09-09 18:38:23,024 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:38:23,047 - stpipe.step - INFO - Step saturation done
2026-09-09 18:38:23,235 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:23,236 - stpipe.step - INFO - Step skipped.
2026-09-09 18:38:23,422 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:23,425 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:38:23,496 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:23,607 - stpipe.step - INFO - Step superbias done
2026-09-09 18:38:23,796 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:23,800 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:38:23,818 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:38:23,818 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:38:23,819 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:38:23,819 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:38:23,820 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:38:24,001 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:38:24,081 - stpipe.step - INFO - Step refpix done
2026-09-09 18:38:24,271 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:24,275 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:38:24,335 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:24,336 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:24,336 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:24,337 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:24,338 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:24,339 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:24,340 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:24,725 - stpipe.step - INFO - Step linearity done
2026-09-09 18:38:24,918 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:24,922 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:38:28,184 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:28,249 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:38:28,250 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:38:28,654 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:38:28,837 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:28,838 - stpipe.step - INFO - Step skipped.
2026-09-09 18:38:29,020 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:29,021 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:38:29,022 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:38:29,025 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:38:29,028 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:38:29,115 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:38:33,618 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:38:44,700 - stcal.jump.jump - INFO - Total snowballs = 982
2026-09-09 18:38:44,701 - stcal.jump.jump - INFO - Total elapsed time = 15.5848 sec
2026-09-09 18:38:44,716 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.694518
2026-09-09 18:38:44,719 - stpipe.step - INFO - Step jump done
2026-09-09 18:38:44,898 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:44,899 - stpipe.step - INFO - Step skipped.
2026-09-09 18:38:45,089 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:45,090 - stpipe.step - INFO - Step skipped.
2026-09-09 18:38:45,277 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:45,278 - stpipe.step - INFO - Step skipped.
2026-09-09 18:38:45,467 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:45,473 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:38:45,474 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:38:45,503 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:38:45,503 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:38:45,517 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:38:47,237 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7151134014129639
2026-09-09 18:38:47,400 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:38:47,599 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:47,602 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:38:47,618 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:38:47,619 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:38:47,622 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:38:47,812 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_07101_00003_nrcblong_uncal.fits>,).
2026-09-09 18:38:47,816 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:38:47,832 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:38:47,833 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:38:47,837 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:38:47,928 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00003_nrcblong_rateints.fits
2026-09-09 18:38:47,928 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:38:47,929 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:38:48,018 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00003_nrcblong_rate.fits
2026-09-09 18:38:48,019 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:38:48,020 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:38:48,062 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:38:48,067 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:38:48,084 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:38:48,102 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:38:48,103 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:38:48,104 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:38:48,105 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:38:48,107 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:38:48,108 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:38:48,109 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:38:48,110 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:38:48,111 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:38:48,112 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:38:48,113 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:38:48,114 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:38:48,115 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:38:48,116 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:38:48,118 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:38:48,118 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:38:48,121 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:38:48,122 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:38:48,123 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:38:48,124 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:38:48,125 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:38:48,317 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00004_nrcalong_uncal.fits',).
2026-09-09 18:38:48,339 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:38:48,374 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00004_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:38:48,379 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:38:48,380 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:38:48,381 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:38:48,381 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:38:48,382 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:38:48,383 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:38:48,383 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:38:48,384 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:38:48,384 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:38:48,385 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:38:48,386 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:38:48,386 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:38:48,774 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:38:48,775 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:38:48,776 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:38:48,778 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:38:48,968 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:38:48,971 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:38:49,033 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:49,131 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:38:49,319 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:38:49,324 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:38:49,325 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:38:49,386 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:49,387 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:49,432 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:49,516 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:49,585 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:38:49,946 - stcal.saturation.saturation - INFO - Detected 1221 saturated pixels
2026-09-09 18:38:49,959 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:38:49,986 - stpipe.step - INFO - Step saturation done
2026-09-09 18:38:50,226 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:38:50,227 - stpipe.step - INFO - Step skipped.
2026-09-09 18:38:50,427 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:38:50,430 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:38:50,492 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:50,600 - stpipe.step - INFO - Step superbias done
2026-09-09 18:38:50,781 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:38:50,785 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:38:50,802 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:38:50,802 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:38:50,803 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:38:50,803 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:38:50,804 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:38:50,999 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:38:51,077 - stpipe.step - INFO - Step refpix done
2026-09-09 18:38:51,260 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:38:51,263 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:38:51,330 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:51,331 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:51,332 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:51,332 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:51,333 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:51,334 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:51,334 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:51,766 - stpipe.step - INFO - Step linearity done
2026-09-09 18:38:51,955 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:38:51,959 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:38:53,586 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:38:53,653 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:38:53,654 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:38:54,062 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:38:54,253 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:38:54,253 - stpipe.step - INFO - Step skipped.
2026-09-09 18:38:54,442 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:38:54,443 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:38:54,444 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:38:54,447 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:38:54,449 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:38:54,539 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:38:59,071 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:39:10,106 - stcal.jump.jump - INFO - Total snowballs = 934
2026-09-09 18:39:10,106 - stcal.jump.jump - INFO - Total elapsed time = 15.5664 sec
2026-09-09 18:39:10,121 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.678249
2026-09-09 18:39:10,125 - stpipe.step - INFO - Step jump done
2026-09-09 18:39:10,309 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:39:10,310 - stpipe.step - INFO - Step skipped.
2026-09-09 18:39:10,497 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:39:10,498 - stpipe.step - INFO - Step skipped.
2026-09-09 18:39:10,687 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:39:10,688 - stpipe.step - INFO - Step skipped.
2026-09-09 18:39:10,882 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:39:10,888 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:39:10,889 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:39:10,918 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:39:10,919 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:39:10,933 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:39:12,652 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7141485214233398
2026-09-09 18:39:12,809 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:39:13,004 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:39:13,007 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:39:13,023 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:39:13,024 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:39:13,027 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:39:13,215 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_07101_00004_nrcalong_uncal.fits>,).
2026-09-09 18:39:13,219 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:39:13,234 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:39:13,235 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:39:13,239 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:39:13,327 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00004_nrcalong_rateints.fits
2026-09-09 18:39:13,328 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:39:13,329 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:39:13,415 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00004_nrcalong_rate.fits
2026-09-09 18:39:13,415 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:39:13,416 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:39:13,456 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:39:13,461 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:39:13,477 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:39:13,494 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:39:13,495 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:39:13,496 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:39:13,497 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:39:13,499 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:39:13,500 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:39:13,501 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:39:13,502 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:39:13,503 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:39:13,504 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:39:13,505 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:39:13,506 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:39:13,507 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:39:13,508 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:39:13,510 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:39:13,511 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:39:13,513 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:39:13,514 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:39:13,515 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:39:13,516 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:39:13,517 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:39:13,709 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_07101_00004_nrcblong_uncal.fits',).
2026-09-09 18:39:13,730 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:39:13,760 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00004_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:39:13,764 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:39:13,765 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:39:13,765 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:39:13,766 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:39:13,767 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:39:13,767 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:39:13,768 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:39:13,769 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:39:13,769 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:39:13,770 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:39:13,771 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:39:13,771 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:39:14,160 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:14,161 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:39:14,162 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:39:14,164 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:39:14,348 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:14,351 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:39:14,413 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:14,515 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:39:14,712 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:14,717 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:39:14,718 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:39:14,780 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:14,781 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:14,833 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:14,928 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:15,003 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:39:15,414 - stcal.saturation.saturation - INFO - Detected 1056 saturated pixels
2026-09-09 18:39:15,429 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:39:15,453 - stpipe.step - INFO - Step saturation done
2026-09-09 18:39:15,655 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:15,656 - stpipe.step - INFO - Step skipped.
2026-09-09 18:39:15,853 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:15,857 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:39:15,928 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:16,050 - stpipe.step - INFO - Step superbias done
2026-09-09 18:39:16,263 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:16,266 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:39:16,285 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:39:16,285 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:39:16,286 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:39:16,286 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:39:16,287 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:39:16,469 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:39:16,556 - stpipe.step - INFO - Step refpix done
2026-09-09 18:39:16,743 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:16,746 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:39:16,803 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:16,804 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:16,805 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:16,806 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:16,807 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:16,807 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:16,808 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:17,197 - stpipe.step - INFO - Step linearity done
2026-09-09 18:39:17,385 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:17,389 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:39:19,633 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:19,701 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:39:19,702 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:39:20,086 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:39:20,280 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:20,281 - stpipe.step - INFO - Step skipped.
2026-09-09 18:39:20,474 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:20,475 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:39:20,475 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:39:20,479 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:39:20,482 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:39:20,577 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:39:25,170 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:39:36,465 - stcal.jump.jump - INFO - Total snowballs = 926
2026-09-09 18:39:36,466 - stcal.jump.jump - INFO - Total elapsed time = 15.8889 sec
2026-09-09 18:39:36,482 - jwst.jump.jump_step - INFO - The execution time in seconds: 16.007193
2026-09-09 18:39:36,485 - stpipe.step - INFO - Step jump done
2026-09-09 18:39:36,679 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:36,679 - stpipe.step - INFO - Step skipped.
2026-09-09 18:39:36,871 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:36,872 - stpipe.step - INFO - Step skipped.
2026-09-09 18:39:37,065 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:37,066 - stpipe.step - INFO - Step skipped.
2026-09-09 18:39:37,259 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:37,265 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:39:37,266 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:39:37,295 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:39:37,296 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:39:37,310 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:39:39,005 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.6902070045471191
2026-09-09 18:39:39,166 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:39:39,369 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:39,372 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:39:39,388 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:39:39,389 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:39:39,393 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:39:39,581 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_07101_00004_nrcblong_uncal.fits>,).
2026-09-09 18:39:39,584 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:39:39,599 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:39:39,600 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:39:39,603 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:39:39,692 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00004_nrcblong_rateints.fits
2026-09-09 18:39:39,693 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:39:39,694 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:39:39,782 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00004_nrcblong_rate.fits
2026-09-09 18:39:39,783 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:39:39,783 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:39:39,823 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:39:39,829 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:39:39,845 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:39:39,863 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:39:39,864 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:39:39,865 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:39:39,866 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:39:39,867 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:39:39,868 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:39:39,869 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:39:39,871 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:39:39,872 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:39:39,874 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:39:39,874 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:39:39,875 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:39:39,877 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:39:39,878 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:39:39,878 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:39:39,880 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:39:39,882 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:39:39,883 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:39:39,884 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:39:39,885 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:39:39,886 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:39:40,086 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_08101_00001_nrcalong_uncal.fits',).
2026-09-09 18:39:40,108 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:39:40,141 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_08101_00001_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:39:40,145 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:39:40,146 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:39:40,146 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:39:40,147 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:39:40,148 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:39:40,149 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:39:40,149 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:39:40,150 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:39:40,150 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:39:40,151 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:39:40,152 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:39:40,152 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:39:40,555 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:39:40,556 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:39:40,556 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:39:40,559 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:39:40,747 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:39:40,750 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:39:40,814 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:40,914 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:39:41,124 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:39:41,130 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:39:41,130 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:39:41,207 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:41,208 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:41,262 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:41,348 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:41,419 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:39:41,796 - stcal.saturation.saturation - INFO - Detected 1281 saturated pixels
2026-09-09 18:39:41,810 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:39:41,831 - stpipe.step - INFO - Step saturation done
2026-09-09 18:39:42,026 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:39:42,026 - stpipe.step - INFO - Step skipped.
2026-09-09 18:39:42,232 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:39:42,235 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:39:42,305 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:42,424 - stpipe.step - INFO - Step superbias done
2026-09-09 18:39:42,615 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:39:42,619 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:39:42,636 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:39:42,637 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:39:42,637 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:39:42,638 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:39:42,639 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:39:42,843 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:39:42,924 - stpipe.step - INFO - Step refpix done
2026-09-09 18:39:43,113 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:39:43,116 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:39:43,211 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:43,212 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:43,213 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:43,213 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:43,214 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:43,215 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:43,216 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:43,642 - stpipe.step - INFO - Step linearity done
2026-09-09 18:39:43,834 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:39:43,838 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:39:46,565 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:39:46,632 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:39:46,633 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:39:47,028 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:39:47,225 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:39:47,226 - stpipe.step - INFO - Step skipped.
2026-09-09 18:39:47,417 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:39:47,417 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:39:47,418 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:39:47,421 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:39:47,424 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:39:47,512 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:39:52,015 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:40:03,301 - stcal.jump.jump - INFO - Total snowballs = 912
2026-09-09 18:40:03,302 - stcal.jump.jump - INFO - Total elapsed time = 15.7893 sec
2026-09-09 18:40:03,317 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.899812
2026-09-09 18:40:03,321 - stpipe.step - INFO - Step jump done
2026-09-09 18:40:03,509 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:03,510 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:03,703 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:03,704 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:03,892 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:03,893 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:04,082 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:04,088 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:40:04,088 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:40:04,118 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:40:04,119 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:40:04,133 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:40:05,895 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.757035493850708
2026-09-09 18:40:06,058 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:40:06,260 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:06,263 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:40:06,279 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:40:06,279 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:40:06,283 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:40:06,474 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_08101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:06,477 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:40:06,493 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:40:06,493 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:40:06,497 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:40:06,587 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcalong_rateints.fits
2026-09-09 18:40:06,588 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:40:06,589 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:40:06,677 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcalong_rate.fits
2026-09-09 18:40:06,677 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:40:06,678 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:40:06,720 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:40:06,725 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:40:06,741 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:40:06,759 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:40:06,760 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:40:06,762 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:40:06,763 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:40:06,764 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:40:06,765 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:40:06,765 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:40:06,767 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:40:06,768 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:40:06,769 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:40:06,770 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:40:06,770 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:40:06,771 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:40:06,772 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:40:06,773 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:40:06,774 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:40:06,776 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:40:06,777 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:40:06,779 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:40:06,780 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:40:06,781 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:40:06,978 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012001_08101_00001_nrcblong_uncal.fits',).
2026-09-09 18:40:06,999 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:40:07,032 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_08101_00001_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:40:07,037 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:40:07,037 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:40:07,038 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:40:07,039 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:40:07,039 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:40:07,040 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:40:07,040 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:40:07,041 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:40:07,042 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:40:07,043 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:40:07,043 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:40:07,044 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:40:07,435 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:07,436 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:40:07,437 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:40:07,439 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:40:07,634 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:07,637 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:40:07,699 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:07,797 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:40:07,985 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:07,990 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:40:07,990 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:40:08,050 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:08,051 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:08,100 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:08,186 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:08,265 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:40:08,655 - stcal.saturation.saturation - INFO - Detected 1220 saturated pixels
2026-09-09 18:40:08,668 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:40:08,690 - stpipe.step - INFO - Step saturation done
2026-09-09 18:40:08,880 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:08,881 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:09,069 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:09,072 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:40:09,138 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:09,253 - stpipe.step - INFO - Step superbias done
2026-09-09 18:40:09,438 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:09,441 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:40:09,459 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:40:09,460 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:40:09,461 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:40:09,461 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:40:09,462 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:40:09,646 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:40:09,734 - stpipe.step - INFO - Step refpix done
2026-09-09 18:40:09,921 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:09,924 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:40:09,983 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:09,984 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:09,985 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:09,985 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:09,986 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:09,987 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:09,988 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:10,385 - stpipe.step - INFO - Step linearity done
2026-09-09 18:40:10,574 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:10,578 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:40:11,849 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:11,916 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:40:11,916 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:40:12,335 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:40:12,530 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:12,531 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:12,725 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:12,726 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:40:12,726 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:40:12,730 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:40:12,734 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:40:12,830 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:40:17,375 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:40:27,952 - stcal.jump.jump - INFO - Total snowballs = 879
2026-09-09 18:40:27,953 - stcal.jump.jump - INFO - Total elapsed time = 15.1218 sec
2026-09-09 18:40:27,969 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.243342
2026-09-09 18:40:27,973 - stpipe.step - INFO - Step jump done
2026-09-09 18:40:28,167 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:28,168 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:28,363 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:28,364 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:28,555 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:28,556 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:28,749 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:28,755 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:40:28,756 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:40:28,787 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:40:28,787 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:40:28,801 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:40:30,562 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7563049793243408
2026-09-09 18:40:30,720 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:40:30,942 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:30,946 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:40:30,961 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:40:30,962 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:40:30,965 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:40:31,168 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012001_08101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:31,171 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:40:31,187 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:40:31,187 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:40:31,192 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:40:31,285 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcblong_rateints.fits
2026-09-09 18:40:31,286 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:40:31,287 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:40:31,376 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcblong_rate.fits
2026-09-09 18:40:31,377 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:40:31,378 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:40:31,417 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:40:31,422 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:40:31,439 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:40:31,457 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:40:31,458 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:40:31,459 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:40:31,460 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:40:31,462 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:40:31,463 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:40:31,464 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:40:31,465 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:40:31,466 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:40:31,467 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:40:31,468 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:40:31,469 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:40:31,470 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:40:31,471 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:40:31,472 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:40:31,473 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:40:31,475 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:40:31,476 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:40:31,477 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:40:31,478 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:40:31,479 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:40:31,671 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012002_02101_00001_nrcalong_uncal.fits',).
2026-09-09 18:40:31,692 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:40:31,723 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012002_02101_00001_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:40:31,727 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:40:31,728 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:40:31,728 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:40:31,729 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:40:31,730 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:40:31,731 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:40:31,731 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:40:31,732 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:40:31,732 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:40:31,733 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:40:31,734 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:40:31,734 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:40:32,126 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:32,127 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:40:32,128 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:40:32,130 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:40:32,326 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:32,330 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:40:32,397 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:32,505 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:40:32,708 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:32,713 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:40:32,714 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:40:32,789 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:32,790 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:32,836 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:32,920 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:32,992 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:40:33,379 - stcal.saturation.saturation - INFO - Detected 1163 saturated pixels
2026-09-09 18:40:33,393 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:40:33,416 - stpipe.step - INFO - Step saturation done
2026-09-09 18:40:33,616 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:33,617 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:33,814 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:33,817 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:40:33,881 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:33,995 - stpipe.step - INFO - Step superbias done
2026-09-09 18:40:34,188 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:34,191 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:40:34,209 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:40:34,210 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:40:34,211 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:40:34,211 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:40:34,212 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:40:34,425 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:40:34,506 - stpipe.step - INFO - Step refpix done
2026-09-09 18:40:34,697 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:34,701 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:40:34,770 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:34,771 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:34,771 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:34,772 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:34,773 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:34,774 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:34,775 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:35,213 - stpipe.step - INFO - Step linearity done
2026-09-09 18:40:35,409 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:35,413 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:40:37,073 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:37,144 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:40:37,145 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:40:37,555 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:40:37,746 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:37,747 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:37,937 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:37,938 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:40:37,938 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:40:37,942 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:40:37,944 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:40:38,034 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:40:42,602 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:40:53,964 - stcal.jump.jump - INFO - Total snowballs = 1007
2026-09-09 18:40:53,965 - stcal.jump.jump - INFO - Total elapsed time = 15.9298 sec
2026-09-09 18:40:53,979 - jwst.jump.jump_step - INFO - The execution time in seconds: 16.041156
2026-09-09 18:40:53,982 - stpipe.step - INFO - Step jump done
2026-09-09 18:40:54,173 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:54,174 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:54,369 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:54,370 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:54,564 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:54,565 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:54,762 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:54,769 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:40:54,769 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:40:54,802 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:40:54,803 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:40:54,819 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:40:56,570 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.745971441268921
2026-09-09 18:40:56,730 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:40:56,922 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:56,925 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:40:56,941 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:40:56,941 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:40:56,945 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:40:57,136 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012002_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:40:57,139 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:40:57,155 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:40:57,156 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:40:57,159 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:40:57,249 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcalong_rateints.fits
2026-09-09 18:40:57,250 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:40:57,251 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:40:57,339 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcalong_rate.fits
2026-09-09 18:40:57,340 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:40:57,340 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:40:57,382 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:40:57,387 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:40:57,404 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:40:57,422 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:40:57,424 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:40:57,425 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:40:57,426 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:40:57,428 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:40:57,429 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:40:57,429 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:40:57,431 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:40:57,432 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:40:57,433 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:40:57,434 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:40:57,435 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:40:57,436 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:40:57,437 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:40:57,438 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:40:57,439 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:40:57,441 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:40:57,442 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:40:57,443 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:40:57,444 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:40:57,446 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:40:57,639 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012002_02101_00001_nrcblong_uncal.fits',).
2026-09-09 18:40:57,660 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:40:57,692 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012002_02101_00001_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:40:57,696 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:40:57,697 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:40:57,697 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:40:57,698 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:40:57,699 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:40:57,699 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:40:57,700 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:40:57,701 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:40:57,701 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:40:57,702 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:40:57,703 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:40:57,703 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:40:58,095 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:58,096 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:40:58,097 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:40:58,099 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:40:58,285 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:58,288 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:40:58,348 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:58,442 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:40:58,634 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:58,639 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:40:58,639 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:40:58,699 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:58,700 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:58,749 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:58,833 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:58,906 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:40:59,295 - stcal.saturation.saturation - INFO - Detected 1386 saturated pixels
2026-09-09 18:40:59,309 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:40:59,331 - stpipe.step - INFO - Step saturation done
2026-09-09 18:40:59,523 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:59,524 - stpipe.step - INFO - Step skipped.
2026-09-09 18:40:59,717 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:40:59,720 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:40:59,788 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:40:59,903 - stpipe.step - INFO - Step superbias done
2026-09-09 18:41:00,094 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:00,097 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:41:00,114 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:41:00,115 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:41:00,116 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:41:00,116 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:41:00,117 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:41:00,300 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:41:00,388 - stpipe.step - INFO - Step refpix done
2026-09-09 18:41:00,574 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:00,577 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:41:00,635 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:00,636 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:00,636 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:00,637 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:00,638 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:00,639 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:00,640 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:01,035 - stpipe.step - INFO - Step linearity done
2026-09-09 18:41:01,231 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:01,235 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:41:03,406 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:03,471 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:41:03,472 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:41:03,896 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:41:04,091 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:04,092 - stpipe.step - INFO - Step skipped.
2026-09-09 18:41:04,285 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:04,286 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:41:04,287 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:41:04,291 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:41:04,294 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:41:04,392 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:41:08,907 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:41:20,109 - stcal.jump.jump - INFO - Total snowballs = 1000
2026-09-09 18:41:20,110 - stcal.jump.jump - INFO - Total elapsed time = 15.7167 sec
2026-09-09 18:41:20,125 - jwst.jump.jump_step - INFO - The execution time in seconds: 15.838512
2026-09-09 18:41:20,128 - stpipe.step - INFO - Step jump done
2026-09-09 18:41:20,310 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:20,311 - stpipe.step - INFO - Step skipped.
2026-09-09 18:41:20,495 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:20,496 - stpipe.step - INFO - Step skipped.
2026-09-09 18:41:20,684 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:20,685 - stpipe.step - INFO - Step skipped.
2026-09-09 18:41:20,878 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:20,884 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:41:20,885 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:41:20,914 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:41:20,915 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:41:20,929 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:41:22,664 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.73036527633667
2026-09-09 18:41:22,825 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:41:23,019 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:23,022 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:41:23,037 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:41:23,038 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:41:23,041 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:41:23,228 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012002_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:23,231 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:41:23,246 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:41:23,247 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:41:23,251 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:41:23,338 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcblong_rateints.fits
2026-09-09 18:41:23,339 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:41:23,340 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:41:23,427 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcblong_rate.fits
2026-09-09 18:41:23,427 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:41:23,428 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:41:23,467 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:41:23,472 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:41:23,489 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:41:23,506 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:41:23,507 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:41:23,508 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:41:23,509 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:41:23,510 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:41:23,511 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:41:23,512 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:41:23,514 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:41:23,515 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:41:23,516 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:41:23,517 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:41:23,518 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:41:23,519 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:41:23,520 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:41:23,521 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:41:23,522 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:41:23,524 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:41:23,525 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:41:23,527 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:41:23,528 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:41:23,529 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:41:23,715 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012003_02101_00001_nrcalong_uncal.fits',).
2026-09-09 18:41:23,736 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:41:23,767 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012003_02101_00001_nrcalong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:41:23,771 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits'.
2026-09-09 18:41:23,771 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits'.
2026-09-09 18:41:23,772 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits'.
2026-09-09 18:41:23,772 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits'.
2026-09-09 18:41:23,773 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits'.
2026-09-09 18:41:23,774 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:41:23,774 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:41:23,775 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:41:23,775 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits'.
2026-09-09 18:41:23,776 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:41:23,777 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits'.
2026-09-09 18:41:23,778 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:41:24,155 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:24,156 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:41:24,157 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:41:24,159 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:41:24,341 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:24,344 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0076.fits
2026-09-09 18:41:24,406 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:24,503 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:41:24,690 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:24,695 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0097.fits
2026-09-09 18:41:24,696 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:41:24,766 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:24,767 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:24,815 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:24,896 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:24,968 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:41:25,333 - stcal.saturation.saturation - INFO - Detected 1356 saturated pixels
2026-09-09 18:41:25,346 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:41:25,368 - stpipe.step - INFO - Step saturation done
2026-09-09 18:41:25,557 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:25,558 - stpipe.step - INFO - Step skipped.
2026-09-09 18:41:25,747 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:25,750 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0220.fits
2026-09-09 18:41:25,815 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:25,926 - stpipe.step - INFO - Step superbias done
2026-09-09 18:41:26,113 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:26,118 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:41:26,139 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:41:26,139 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:41:26,140 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:41:26,141 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:41:26,141 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:41:26,353 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:41:26,435 - stpipe.step - INFO - Step refpix done
2026-09-09 18:41:26,615 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:26,618 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0052.fits
2026-09-09 18:41:26,711 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:26,712 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:26,713 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:26,713 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:26,714 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:26,715 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:26,716 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:27,139 - stpipe.step - INFO - Step linearity done
2026-09-09 18:41:27,330 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:27,333 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0424.fits
2026-09-09 18:41:28,873 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:28,940 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:41:28,940 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:41:29,337 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:41:29,531 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:29,532 - stpipe.step - INFO - Step skipped.
2026-09-09 18:41:29,724 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:29,725 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:41:29,726 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:41:29,729 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:41:29,731 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:41:29,821 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:41:34,289 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:41:46,091 - stcal.jump.jump - INFO - Total snowballs = 930
2026-09-09 18:41:46,092 - stcal.jump.jump - INFO - Total elapsed time = 16.2696 sec
2026-09-09 18:41:46,108 - jwst.jump.jump_step - INFO - The execution time in seconds: 16.382394
2026-09-09 18:41:46,111 - stpipe.step - INFO - Step jump done
2026-09-09 18:41:46,305 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:46,306 - stpipe.step - INFO - Step skipped.
2026-09-09 18:41:46,493 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:46,494 - stpipe.step - INFO - Step skipped.
2026-09-09 18:41:46,683 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:46,684 - stpipe.step - INFO - Step skipped.
2026-09-09 18:41:46,872 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:46,878 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0266.fits
2026-09-09 18:41:46,879 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:41:46,907 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:41:46,908 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:41:46,921 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:41:48,673 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.747539758682251
2026-09-09 18:41:48,831 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:41:49,026 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:49,029 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:41:49,045 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:41:49,046 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:41:49,049 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:41:49,234 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012003_02101_00001_nrcalong_uncal.fits>,).
2026-09-09 18:41:49,237 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0097.fits
2026-09-09 18:41:49,253 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:41:49,253 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:41:49,257 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:41:49,346 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcalong_rateints.fits
2026-09-09 18:41:49,347 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:41:49,347 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:41:49,436 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcalong_rate.fits
2026-09-09 18:41:49,437 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:41:49,437 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:41:49,477 - CRDS - ERROR -  Error determining best reference for 'pars-darkcurrentstep'  =   No match found.
2026-09-09 18:41:49,482 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-jumpstep_0003.asdf
2026-09-09 18:41:49,498 - stpipe.step - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-detector1pipeline_0008.asdf
2026-09-09 18:41:49,516 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-09-09 18:41:49,517 - stpipe.step - INFO - GroupScaleStep instance created.
2026-09-09 18:41:49,518 - stpipe.step - INFO - DQInitStep instance created.
2026-09-09 18:41:49,519 - stpipe.step - INFO - EmiCorrStep instance created.
2026-09-09 18:41:49,521 - stpipe.step - INFO - SaturationStep instance created.
2026-09-09 18:41:49,521 - stpipe.step - INFO - IPCStep instance created.
2026-09-09 18:41:49,523 - stpipe.step - INFO - SuperBiasStep instance created.
2026-09-09 18:41:49,524 - stpipe.step - INFO - RefPixStep instance created.
2026-09-09 18:41:49,525 - stpipe.step - INFO - RscdStep instance created.
2026-09-09 18:41:49,525 - stpipe.step - INFO - FirstFrameStep instance created.
2026-09-09 18:41:49,526 - stpipe.step - INFO - LastFrameStep instance created.
2026-09-09 18:41:49,527 - stpipe.step - INFO - LinearityStep instance created.
2026-09-09 18:41:49,528 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-09-09 18:41:49,529 - stpipe.step - INFO - ResetStep instance created.
2026-09-09 18:41:49,530 - stpipe.step - INFO - PersistenceStep instance created.
2026-09-09 18:41:49,531 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-09-09 18:41:49,533 - stpipe.step - INFO - JumpStep instance created.
2026-09-09 18:41:49,534 - stpipe.step - INFO - PictureFrameStep instance created.
2026-09-09 18:41:49,536 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:41:49,537 - stpipe.step - INFO - RampFitStep instance created.
2026-09-09 18:41:49,538 - stpipe.step - INFO - GainScaleStep instance created.
2026-09-09 18:41:49,733 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/uncal/jw01345012003_02101_00001_nrcblong_uncal.fits',).
2026-09-09 18:41:49,755 - stpipe.step - INFO - Step Detector1Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/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: False
      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: sirs
      sigreject: 4.0
      gaussmooth: 1.0
      halfwidth: 30
      siglimit: 3.0
    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: None
    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: True
      suffix: None
      search_output_file: True
      input_dir: ''
      save_persistence: None
      persistence_time: None
      dn_threshold: None
      persistence_array_file: None
      persistence_dnu: 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: 6.0
      four_group_rejection_threshold: 5.0
      maximum_cores: '1'
      flag_4_neighbors: True
      max_jump_to_flag_neighbors: 1000
      min_jump_to_flag_neighbors: 30
      after_jump_flag_dn1: 0
      after_jump_flag_time1: 0
      after_jump_flag_dn2: 0
      after_jump_flag_time2: 0
      expand_large_events: True
      min_sat_area: 1
      min_jump_area: 5
      expand_factor: 2
      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: False
      max_shower_amplitude: 4.0
      extend_snr_threshold: 0.0
      extend_min_area: 0
      extend_inner_radius: 0
      extend_outer_radius: 0.0
      extend_ellipse_expand_ratio: 0.0
      time_masked_after_shower: 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: False
      firstgroup: None
      lastgroup: None
      maximum_cores: '1'
    gain_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: ''
2026-09-09 18:41:49,787 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012003_02101_00001_nrcblong_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'rscd', 'saturation', 'sirskernel', 'superbias']
2026-09-09 18:41:49,792 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits'.
2026-09-09 18:41:49,792 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits'.
2026-09-09 18:41:49,793 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits'.
2026-09-09 18:41:49,794 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits'.
2026-09-09 18:41:49,794 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits'.
2026-09-09 18:41:49,795 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-09-09 18:41:49,795 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-09-09 18:41:49,796 - stpipe.pipeline - INFO - Prefetch for RSCD reference file is 'N/A'.
2026-09-09 18:41:49,796 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits'.
2026-09-09 18:41:49,797 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf'.
2026-09-09 18:41:49,798 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits'.
2026-09-09 18:41:49,799 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-09-09 18:41:50,194 - stpipe.step - INFO - Step group_scale running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:50,195 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-09-09 18:41:50,196 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-09-09 18:41:50,198 - stpipe.step - INFO - Step group_scale done
2026-09-09 18:41:50,387 - stpipe.step - INFO - Step dq_init running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:50,390 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_mask_0070.fits
2026-09-09 18:41:50,449 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:50,546 - stpipe.step - INFO - Step dq_init done
2026-09-09 18:41:50,737 - stpipe.step - INFO - Step saturation running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:50,742 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_saturation_0098.fits
2026-09-09 18:41:50,743 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:41:50,801 - stdatamodels.dynamicdq - WARNING - Keyword RESERVED_4 does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:50,802 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:50,849 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_RESET does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:50,930 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:51,002 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 4
2026-09-09 18:41:51,388 - stcal.saturation.saturation - INFO - Detected 841 saturated pixels
2026-09-09 18:41:51,403 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-09-09 18:41:51,426 - stpipe.step - INFO - Step saturation done
2026-09-09 18:41:51,615 - stpipe.step - INFO - Step ipc running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:51,616 - stpipe.step - INFO - Step skipped.
2026-09-09 18:41:51,804 - stpipe.step - INFO - Step superbias running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:51,807 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_superbias_0243.fits
2026-09-09 18:41:51,875 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:51,990 - stpipe.step - INFO - Step superbias done
2026-09-09 18:41:52,181 - stpipe.step - INFO - Step refpix running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:52,184 - jwst.refpix.refpix_step - INFO - Using SIRS reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_sirskernel_0002.asdf
2026-09-09 18:41:52,203 - jwst.refpix.reference_pixels - INFO - NIR full frame data
2026-09-09 18:41:52,203 - jwst.refpix.reference_pixels - INFO - The following parameters are valid for this mode:
2026-09-09 18:41:52,204 - jwst.refpix.reference_pixels - INFO - sigreject = 4.0
2026-09-09 18:41:52,204 - jwst.refpix.reference_pixels - INFO - gaussmooth = 1.0
2026-09-09 18:41:52,205 - jwst.refpix.reference_pixels - INFO - halfwidth = 30
2026-09-09 18:41:52,391 - jwst.refpix.reference_pixels - INFO - Processing the zero frame
2026-09-09 18:41:52,497 - stpipe.step - INFO - Step refpix done
2026-09-09 18:41:52,691 - stpipe.step - INFO - Step linearity running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:52,694 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_linearity_0049.fits
2026-09-09 18:41:52,752 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_DO_NOT_USE does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:52,753 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_LIN_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:52,753 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_BAD_LIN_FIT does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:52,754 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_NO_WELL_SAMP does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:52,755 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MODEL_FIT_FAIL does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:52,756 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_WELL_NOT_DEFINED does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:52,756 - stdatamodels.dynamicdq - WARNING - Keyword UAZ_MASTER_MASK does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:53,147 - stpipe.step - INFO - Step linearity done
2026-09-09 18:41:53,350 - stpipe.step - INFO - Step dark_current running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:53,353 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_dark_0403.fits
2026-09-09 18:41:55,653 - stdatamodels.dynamicdq - WARNING - Keyword UNRELIABLE_ERROR does not correspond to an existing DQ mnemonic, so will be ignored
2026-09-09 18:41:55,721 - stcal.dark_current.dark_sub - INFO - Science data nints=1, ngroups=6, nframes=4, groupgap=1
2026-09-09 18:41:55,722 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=130, nframes=1, groupgap=0
2026-09-09 18:41:56,160 - stpipe.step - INFO - Step dark_current done
2026-09-09 18:41:56,357 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:56,358 - stpipe.step - INFO - Step skipped.
2026-09-09 18:41:56,553 - stpipe.step - INFO - Step jump running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:41:56,554 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-09-09 18:41:56,555 - jwst.jump.jump_step - INFO - Maximum cores to use = 1
2026-09-09 18:41:56,558 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:41:56,561 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:41:56,650 - stcal.jump.jump - INFO - Executing two-point difference method
2026-09-09 18:42:01,145 - stcal.jump.jump - INFO - Flagging Snowballs
2026-09-09 18:42:11,531 - stcal.jump.jump - INFO - Total snowballs = 901
2026-09-09 18:42:11,531 - stcal.jump.jump - INFO - Total elapsed time = 14.8809 sec
2026-09-09 18:42:11,546 - jwst.jump.jump_step - INFO - The execution time in seconds: 14.991788
2026-09-09 18:42:11,549 - stpipe.step - INFO - Step jump done
2026-09-09 18:42:11,737 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:42:11,738 - stpipe.step - INFO - Step skipped.
2026-09-09 18:42:11,928 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:42:11,929 - stpipe.step - INFO - Step skipped.
2026-09-09 18:42:12,121 - stpipe.step - INFO - Step persistence running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:42:12,122 - stpipe.step - INFO - Step skipped.
2026-09-09 18:42:12,308 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(1, 6, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:42:12,314 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_readnoise_0223.fits
2026-09-09 18:42:12,315 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:42:12,345 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-09-09 18:42:12,345 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-09-09 18:42:12,358 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-09-09 18:42:14,087 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 1.7242841720581055
2026-09-09 18:42:14,248 - stpipe.step - INFO - Step ramp_fit done
2026-09-09 18:42:14,441 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:42:14,444 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:42:14,460 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:42:14,461 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:42:14,465 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:42:14,654 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(1, 2048, 2048) from jw01345012003_02101_00001_nrcblong_uncal.fits>,).
2026-09-09 18:42:14,658 - jwst.gain_scale.gain_scale_step - INFO - Using GAIN reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_gain_0089.fits
2026-09-09 18:42:14,674 - jwst.gain_scale.gain_scale_step - INFO - GAINFACT not found in gain reference file
2026-09-09 18:42:14,675 - jwst.gain_scale.gain_scale_step - INFO - Step will be skipped
2026-09-09 18:42:14,678 - stpipe.step - INFO - Step gain_scale done
2026-09-09 18:42:14,769 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcblong_rateints.fits
2026-09-09 18:42:14,770 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-09-09 18:42:14,771 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:42:14,864 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcblong_rate.fits
2026-09-09 18:42:14,865 - stpipe.step - INFO - Step Detector1Pipeline done
2026-09-09 18:42:14,866 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0

Inspect Detector1 Output Products#

In the Detector1 stage, both the direct images (EXP_TYPE=NRC_IMAGE) and dispersed grism images (EXP_TYPE=NRC_WFSS) are calibrated. In general, with NIRCam WFSS observations, dispersed exposures are taken first, followed by the undispersed (“direct”) image, and then two “out of field” undispersed images. In cases where both grisms are used, this pattern is repeated for each.

To gain a better understanding of the data, below we create a table that highlights the differences between the dispersed and undispersed exposures through metadata in the input files. In addition to the EXP_TYPE keyword, the PUPIL keyword can be used to distinguish exposure types. PUPIL=CLEAR indicates a direct image while PUPIL=GRISMR or PUPIL=GRSIMC indicates a dispersed image. The FILTER keyword is the blocking filter used in both direct images and dispersed images. We can also use the PATT_NUM, XOFFSET, and YOFFSET header keywords to see the dither pattern that was used for both the direct images and the dispersed images.

The direct image files will be combined in the image3 pipeline to create a mosaic image and associated source catalog, while the multiple dithers in the dispersed images will be combined as individual sources after extraction in the spec3 pipeline.

# Print information about each rate file
rate_files = sorted(glob.glob(os.path.join(det1_dir, "*rate.fits")))

for file_num, ratefile in enumerate(rate_files):
    rate_hdr = fits.getheader(ratefile) # Primary header for each rate file
    
    # Store information that might be useful later for evaluating the data
    temp_hdr_dict = {"PATHNAME": os.path.abspath(ratefile), # Full path to the filename to be used later
                     "FILENAME": rate_hdr['FILENAME'],      # Base filename for printing readability
                     "DETECTOR": [rate_hdr['DETECTOR']],    # Detector name
                     "EXP_TYPE": [rate_hdr['EXP_TYPE']],    # NRC_IMAGE or NRC_WFSS
                     "FILTER": [rate_hdr["FILTER"]],        # Filter used
                     "PUPIL": [rate_hdr["PUPIL"]],          # Grism; GRISMR/GRSIMC
                     "EXPSTART": [rate_hdr['EXPSTART']],    # Exposure start time (MJD)
                     "PATT_NUM": [rate_hdr["PATT_NUM"]],    # Position number within dither pattern for WFSS
                     "NUMDTHPT": [rate_hdr["NUMDTHPT"]],    # Total number of points in entire dither pattern
                     "XOFFSET": [rate_hdr["XOFFSET"]],      # X offset from pattern starting position (arcsec)
                     "YOFFSET": [rate_hdr["YOFFSET"]],      # Y offset from pattern starting position (arcsec)
                     "CAL_VER": [rate_hdr["CAL_VER"]],      # JWST pipeline calibration version
                     }

    # Turn the dictionary into a pandas dataframe to make it easier to read & use later
    if file_num == 0:
        # If this is the first file, make an initial dataframe
        rate_df = pd.DataFrame(temp_hdr_dict)
    else:
        # Otherwise, append to the dataframe for each file
        new_data_df = pd.DataFrame(temp_hdr_dict)
        # Merge the two dataframes together to create a dataframe with all 
        rate_df = pd.concat([rate_df, new_data_df], ignore_index=True, axis=0)

rate_dfsort = rate_df.sort_values('EXPSTART', ignore_index=False) # sort by exposure start time

# Look at the resulting dataframe
rate_dfsort[['FILENAME', 'DETECTOR', 'EXP_TYPE', 'FILTER', 'PUPIL', 'EXPSTART', 'PATT_NUM', 'NUMDTHPT', 'XOFFSET', 'YOFFSET', 'CAL_VER']]
FILENAME DETECTOR EXP_TYPE FILTER PUPIL EXPSTART PATT_NUM NUMDTHPT XOFFSET YOFFSET CAL_VER
0 jw01345012001_02101_00001_nrcalong_rate.fits NRCALONG NRC_WFSS F356W GRISMR 59937.157148 1 4 -2.220446e-16 1.563194e-11 3.0.0
1 jw01345012001_02101_00001_nrcblong_rate.fits NRCBLONG NRC_WFSS F356W GRISMR 59937.157148 1 4 -2.220446e-16 1.563194e-11 3.0.0
3 jw01345012001_02101_00002_nrcblong_rate.fits NRCBLONG NRC_WFSS F356W GRISMR 59937.161746 2 4 1.363104e+00 -4.913000e-01 3.0.0
2 jw01345012001_02101_00002_nrcalong_rate.fits NRCALONG NRC_WFSS F356W GRISMR 59937.161747 2 4 1.363104e+00 -4.913000e-01 3.0.0
5 jw01345012001_02101_00003_nrcblong_rate.fits NRCBLONG NRC_WFSS F356W GRISMR 59937.166344 3 4 4.913014e-01 1.363100e+00 3.0.0
4 jw01345012001_02101_00003_nrcalong_rate.fits NRCALONG NRC_WFSS F356W GRISMR 59937.166344 3 4 4.913014e-01 1.363100e+00 3.0.0
6 jw01345012001_02101_00004_nrcalong_rate.fits NRCALONG NRC_WFSS F356W GRISMR 59937.170942 4 4 1.886205e+00 -7.767000e-01 3.0.0
7 jw01345012001_02101_00004_nrcblong_rate.fits NRCBLONG NRC_WFSS F356W GRISMR 59937.170942 4 4 1.886205e+00 -7.767000e-01 3.0.0
9 jw01345012001_03101_00001_nrcblong_rate.fits NRCBLONG NRC_IMAGE F356W CLEAR 59937.177404 1 4 1.886205e+00 -7.767000e-01 3.0.0
8 jw01345012001_03101_00001_nrcalong_rate.fits NRCALONG NRC_IMAGE F356W CLEAR 59937.177404 1 4 1.886205e+00 -7.767000e-01 3.0.0
11 jw01345012001_05101_00001_nrcblong_rate.fits NRCBLONG NRC_IMAGE F356W CLEAR 59937.184238 1 4 -1.200003e+01 1.010001e+00 3.0.0
10 jw01345012001_05101_00001_nrcalong_rate.fits NRCALONG NRC_IMAGE F356W CLEAR 59937.184239 1 4 -1.200003e+01 1.010001e+00 3.0.0
13 jw01345012001_05101_00002_nrcblong_rate.fits NRCBLONG NRC_IMAGE F356W CLEAR 59937.188961 2 4 1.200003e+01 1.010001e+00 3.0.0
12 jw01345012001_05101_00002_nrcalong_rate.fits NRCALONG NRC_IMAGE F356W CLEAR 59937.188961 2 4 1.200003e+01 1.010001e+00 3.0.0
14 jw01345012001_07101_00001_nrcalong_rate.fits NRCALONG NRC_WFSS F356W GRISMC 59937.196541 1 4 -2.220446e-16 1.563194e-11 3.0.0
15 jw01345012001_07101_00001_nrcblong_rate.fits NRCBLONG NRC_WFSS F356W GRISMC 59937.196541 1 4 -2.220446e-16 1.563194e-11 3.0.0
17 jw01345012001_07101_00002_nrcblong_rate.fits NRCBLONG NRC_WFSS F356W GRISMC 59937.201139 2 4 1.363104e+00 -4.913000e-01 3.0.0
16 jw01345012001_07101_00002_nrcalong_rate.fits NRCALONG NRC_WFSS F356W GRISMC 59937.201140 2 4 1.363104e+00 -4.913000e-01 3.0.0
19 jw01345012001_07101_00003_nrcblong_rate.fits NRCBLONG NRC_WFSS F356W GRISMC 59937.205737 3 4 4.913014e-01 1.363100e+00 3.0.0
18 jw01345012001_07101_00003_nrcalong_rate.fits NRCALONG NRC_WFSS F356W GRISMC 59937.205738 3 4 4.913014e-01 1.363100e+00 3.0.0
21 jw01345012001_07101_00004_nrcblong_rate.fits NRCBLONG NRC_WFSS F356W GRISMC 59937.210335 4 4 1.886205e+00 -7.767000e-01 3.0.0
20 jw01345012001_07101_00004_nrcalong_rate.fits NRCALONG NRC_WFSS F356W GRISMC 59937.210335 4 4 1.886205e+00 -7.767000e-01 3.0.0
23 jw01345012001_08101_00001_nrcblong_rate.fits NRCBLONG NRC_IMAGE F356W CLEAR 59937.216672 1 4 1.886205e+00 -7.767000e-01 3.0.0
22 jw01345012001_08101_00001_nrcalong_rate.fits NRCALONG NRC_IMAGE F356W CLEAR 59937.216673 1 4 1.886205e+00 -7.767000e-01 3.0.0
25 jw01345012002_02101_00001_nrcblong_rate.fits NRCBLONG NRC_IMAGE F356W CLEAR 59937.790791 1 4 2.330006e+00 1.200000e+01 3.0.0
24 jw01345012002_02101_00001_nrcalong_rate.fits NRCALONG NRC_IMAGE F356W CLEAR 59937.790793 1 4 2.330006e+00 1.200000e+01 3.0.0
26 jw01345012003_02101_00001_nrcalong_rate.fits NRCALONG NRC_IMAGE F356W CLEAR 59937.801751 2 4 2.330008e+00 -3.500000e+01 3.0.0
27 jw01345012003_02101_00001_nrcblong_rate.fits NRCBLONG NRC_IMAGE F356W CLEAR 59937.801751 2 4 2.330008e+00 -3.500000e+01 3.0.0

Shown below are the rate files for the A module only, to give an idea of the above sequence visually. Grid lines are shown as a visual guide for the dithers. Note the pattern: 4 dispersed images, followed by a single direct image, and then 2 out of field images, which show large dithers compared to each other and the direct image.

amod_rate_dfsort = rate_dfsort[rate_dfsort['DETECTOR'] == 'NRCALONG']
# Quick plot to visually illustrate the table above, showing the
# direct image and grism sequence for the downloaded data
if doviz:
    # Plot set up
    fig = plt.figure(figsize=(20, 35))
    cols = 3
    rows = int(np.ceil(len(rate_dfsort['PATHNAME']) / cols))
    
    # Loop over the rate files and plot them
    for plt_num, rf in enumerate(amod_rate_dfsort['PATHNAME']):
    
        # Determine where the subplot should be
        xpos = (plt_num % 40) % cols
        ypos = ((plt_num % 40) // cols) # // to make it an int.
    
        # Make the subplot
        ax = plt.subplot2grid((rows, cols), (ypos, xpos))
    
        # Open the data and plot it
        with fits.open(rf) as hdu:
            data = hdu[1].data
            data[np.isnan(data)] = 0  # Filling in nan data with 0s to help with the matplotlib color scale.
            
            display_vals = [np.nanpercentile(data, 1), np.nanpercentile(data, 99.5)]
            ax.imshow(data, vmin=display_vals[0], vmax=display_vals[1], origin='lower')
    
            # Add in grid lines as a visual aid
            for gridline in [500, 1000, 1500]:
                ax.axhline(gridline, color='black', alpha=0.5)
                ax.axvline(gridline, color='black', alpha=0.5)
            
            ax.set_title((f"#{plt_num+1}: {hdu[0].header['EXP_TYPE']} {hdu[0].header['FILTER']} "
                          f"{hdu[0].header['PUPIL']} Dither{hdu[0].header['PATT_NUM']}"))
            
    fig.suptitle(f'PID{program} o{sci_observtn} Observing Sequence rate Images (pixel space)', fontsize=16, x=0.5, y=0.9)
../../../_images/9f83a2ac397fe004a1e3e7d86eac08b3f824121e8851da7473783a5234e4a008.png

Additionally, you can look into what steps were performed and reference files used during the Detector1 stage of the pipeline. These calls can be used at any stage of the pipeline to see or confirm what different steps or reference files were used. We show both the direct image and the dispersed (grism) images below.

img_rate_files = rate_dfsort[rate_dfsort['EXP_TYPE'] == 'NRC_IMAGE']['PATHNAME']
print(f'Found {str(len(img_rate_files))} imaging rate files to process for level 2')
Found 12 imaging rate files to process for level 2
grism_rate_files = rate_dfsort[rate_dfsort['EXP_TYPE'] == 'NRC_WFSS']['PATHNAME']
print(f'Found {str(len(grism_rate_files))} grism rate files to process for level 2')
Found 16 grism rate files to process for level 2
# First, look at the direct images
dir_img_rate = img_rate_files.iloc[0]
check_steps_run(dir_img_rate)

# Next, look at the dispersed images
grism_img_rate = grism_rate_files.iloc[0]
check_steps_run(grism_img_rate)
jw01345012001_03101_00001_nrcblong_rate.fits - NRC_IMAGE
charge_migration: SKIPPED
clean_flicker_noise: SKIPPED
dark_sub: COMPLETE
dq_init: COMPLETE
gain_scale: SKIPPED
group_scale: SKIPPED
ipc: SKIPPED
jump: COMPLETE
linearity: COMPLETE
persistence: SKIPPED
picture_frame: SKIPPED
ramp_fit: COMPLETE
refpix: COMPLETE
saturation: COMPLETE
superbias: COMPLETE

jw01345012001_02101_00001_nrcalong_rate.fits - NRC_WFSS
charge_migration: SKIPPED
clean_flicker_noise: SKIPPED
dark_sub: COMPLETE
dq_init: COMPLETE
gain_scale: SKIPPED
group_scale: SKIPPED
ipc: SKIPPED
jump: COMPLETE
linearity: COMPLETE
persistence: SKIPPED
picture_frame: SKIPPED
ramp_fit: COMPLETE
refpix: COMPLETE
saturation: COMPLETE
superbias: COMPLETE
check_ref_file_used(dir_img_rate)  # direct image
check_ref_file_used(grism_img_rate)  # dispersed image
jw01345012001_03101_00001_nrcblong_rate.fits - NRC_IMAGE
crds: {'context_used': 'jwst_1584.pmap', 'sw_version': '14.0.0'}
dark: {'name': 'crds://jwst_nircam_dark_0403.fits'}
gain: {'name': 'crds://jwst_nircam_gain_0089.fits'}
linearity: {'name': 'crds://jwst_nircam_linearity_0049.fits'}
mask: {'name': 'crds://jwst_nircam_mask_0070.fits'}
readnoise: {'name': 'crds://jwst_nircam_readnoise_0223.fits'}
saturation: {'name': 'crds://jwst_nircam_saturation_0098.fits'}
sirskernel: {'name': 'crds://jwst_nircam_sirskernel_0002.asdf'}
superbias: {'name': 'crds://jwst_nircam_superbias_0243.fits'}

jw01345012001_02101_00001_nrcalong_rate.fits - NRC_WFSS
crds: {'context_used': 'jwst_1584.pmap', 'sw_version': '14.0.0'}
dark: {'name': 'crds://jwst_nircam_dark_0424.fits'}
gain: {'name': 'crds://jwst_nircam_gain_0097.fits'}
linearity: {'name': 'crds://jwst_nircam_linearity_0052.fits'}
mask: {'name': 'crds://jwst_nircam_mask_0076.fits'}
readnoise: {'name': 'crds://jwst_nircam_readnoise_0266.fits'}
saturation: {'name': 'crds://jwst_nircam_saturation_0097.fits'}
sirskernel: {'name': 'crds://jwst_nircam_sirskernel_0002.asdf'}
superbias: {'name': 'crds://jwst_nircam_superbias_0220.fits'}
# Print out the time benchmark
time_det1_end = time.perf_counter()
print(f"Runtime for Detector1: {(time_det1_end - time_det1_start)/60:0.0f} minutes")
Runtime for Detector1: 17 minutes

6. Image2 Pipeline#


This section focuses on calibrating only the direct images in order to obtain a source catalog and segmentation mapping of the field to use as input into the Spec2 stage later.

The Image2 stage of the pipeline, creates calibrated unrectified data products (*_cal.fits files). In this pipeline processing stage, the world coordinate system (WCS) is assigned, the data are flat fielded, and a photometric calibration is applied to convert from units of countrate (ADU/s) to surface brightness (MJy/sr).

By default, the background subtraction step is not performed on NIRCam imaging mode data. The background subtraction is turned off since there is no background template for the imaging mode and the local background is removed during the background correction for photometric measurements around individual sources.

The input for the Image2 pipeline can be either the name of a *_rate.fits file, or an Image2 association file containing the *_rate.fits filename. Here we will loop over the imaging rate filenames pulled from the dataframe in the Detector1 stage, and call the Image2 pipeline on each. To use association files instead, simply replace the rate filename in the call with the association filename.

time_image2 = time.perf_counter()

The parameters in each of the Image2 steps can be modified from the default values, including overwriting reference files that are used during this stage. This dictionary of the modified parameters for each of the steps is then fed into the steps parameter of the Image2Pipeline call. The syntax for modifying some of these parameters is below.

# Set up a dictionary to define how the Image2 pipeline should be configured.

# this sets up any entry to image2dict to be a dictionary itself
image2dict = defaultdict(dict)

# -----------------------------Set step parameters------------------------------
# Example overrides for whether or not certain steps should be skipped
# image2dict['resample']['skip'] = False

# ---------------------------Override reference files---------------------------
# Example overrides for various reference files
#   Files should be in the base local directory or provide full path
# image2dict['assign_wcs']['override_distortion'] = 'myfile.asdf'  # Spatial distortion (ASDF file)
# image2dict['assign_wcs']['override_filteroffset'] = 'myfile.asdf'  # Imager filter offsets (ASDF file)
# image2dict['assign_wcs']['override_specwcs'] = 'myfile.asdf'  # Spectral distortion (ASDF file)
# image2dict['assign_wcs']['override_wavelengthrange'] = 'myfile.asdf'  # Wavelength channel mapping (ASDF file)
# image2dict['flat_field']['override_flat'] = 'myfile.fits'  # Pixel flatfield
# image2dict['photom']['override_photom'] = 'myfile.fits'  # Photometric calibration array
# Run Image2 stage of pipeline, specifying:
# output directory to save *_cal.fits files
# save_results flag set to True so the rate files are saved

if doimage2:
    for rate in img_rate_files:
        img2 = Image2Pipeline.call(rate, output_dir=image2_dir, steps=image2dict, save_results=True)
else:
    print("Skipping Image2 processing.")
2026-09-09 18:42:25,017 - CRDS - INFO -  Syncing 1 files
2026-09-09 18:42:25,018 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf    1.1 K bytes  (1 / 1 files) (0 / 1.1 K bytes)
2026-09-09 18:42:25,295 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:42:25,307 - CRDS - INFO -  Syncing 1 files
2026-09-09 18:42:25,308 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf    1.7 K bytes  (1 / 1 files) (0 / 1.7 K bytes)
2026-09-09 18:42:25,566 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:42:25,578 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:42:25,579 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:42:25,581 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:42:25,582 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:42:25,584 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:42:25,585 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:42:25,792 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcblong_rate.fits',).
2026-09-09 18:42:25,800 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:42:25,825 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_03101_00001_nrcblong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:42:25,830 - CRDS - INFO -  Syncing 5 files
2026-09-09 18:42:25,833 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits   16.8 M bytes  (1 / 5 files) (0 / 67.2 M bytes)
2026-09-09 18:42:27,256 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf   14.4 K bytes  (2 / 5 files) (16.8 M / 67.2 M bytes)
2026-09-09 18:42:27,581 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf   11.4 K bytes  (3 / 5 files) (16.8 M / 67.2 M bytes)
2026-09-09 18:42:27,824 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits   50.4 M bytes  (4 / 5 files) (16.8 M / 67.2 M bytes)
2026-09-09 18:42:29,895 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits   25.9 K bytes  (5 / 5 files) (67.2 M / 67.2 M bytes)
2026-09-09 18:42:30,189 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits'.
2026-09-09 18:42:30,189 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:42:30,190 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:42:30,191 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:42:30,191 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:42:30,192 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:42:30,192 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:42:30,193 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:42:30,194 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:42:30,194 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:42:30,195 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:42:30,196 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:42:30,196 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:42:30,197 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:42:30,197 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:42:30,198 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:42:30,198 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:42:30,199 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits'.
2026-09-09 18:42:30,200 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:42:30,201 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:42:30,201 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:42:30,202 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:42:30,203 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:42:30,203 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcblong
2026-09-09 18:42:30,204 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcblong_rate.fits ...
2026-09-09 18:42:30,469 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:42:30,621 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.957745971 52.878065163 214.911838311 52.901369533 214.873601947 52.874444711 214.918222890 52.850674500
2026-09-09 18:42:30,622 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  214.957745971 52.878065163 214.911838311 52.901369533 214.873601947 52.874444711 214.918222890 52.850674500
2026-09-09 18:42:30,623 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:42:30,678 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:42:30,890 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:42:30,997 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:42:30,998 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:42:30,999 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:42:30,999 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:42:31,136 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:42:31,347 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:42:31,357 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits
2026-09-09 18:42:31,358 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits
2026-09-09 18:42:31,358 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:42:31,359 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:42:31,360 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:42:31,360 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:42:31,361 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:42:31,416 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:42:31,417 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:42:31,418 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:42:31,419 - jwst.photom.photom - INFO - PHOTMJSR value: 0.377
2026-09-09 18:42:31,478 - stpipe.step - INFO - Step photom done
2026-09-09 18:42:31,689 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:42:31,749 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:42:31,750 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.0630049429796918 arcsec.
2026-09-09 18:42:31,757 - stcal.resample.resample - INFO - Output pixel scale: 0.0630049429796918 arcsec.
2026-09-09 18:42:31,758 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:42:31,759 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:42:31,759 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:42:31,760 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:42:31,770 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:42:33,605 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:42:34,188 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:42:34,740 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:42:35,278 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:42:36,251 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.911852662 52.901362255 214.906883658 52.897883203 214.873601947 52.874444711 214.918101488 52.850739230 214.918224168 52.850675386 214.957745971 52.878065163
2026-09-09 18:42:36,392 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcblong_i2d.fits
2026-09-09 18:42:36,393 - stpipe.step - INFO - Step resample done
2026-09-09 18:42:36,396 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcblong
2026-09-09 18:42:36,397 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:42:36,398 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:42:36,538 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcblong_cal.fits
2026-09-09 18:42:36,539 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:42:36,540 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:42:36,570 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:42:36,581 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:42:36,593 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:42:36,594 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:42:36,596 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:42:36,597 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:42:36,598 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:42:36,599 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:42:36,814 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcalong_rate.fits',).
2026-09-09 18:42:36,822 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:42:36,847 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_03101_00001_nrcalong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:42:36,852 - CRDS - INFO -  Syncing 5 files
2026-09-09 18:42:36,856 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits   16.8 M bytes  (1 / 5 files) (0 / 67.2 M bytes)
2026-09-09 18:42:38,234 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf   14.4 K bytes  (2 / 5 files) (16.8 M / 67.2 M bytes)
2026-09-09 18:42:38,548 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf   11.4 K bytes  (3 / 5 files) (16.8 M / 67.2 M bytes)
2026-09-09 18:42:38,777 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits   50.4 M bytes  (4 / 5 files) (16.8 M / 67.2 M bytes)
2026-09-09 18:42:41,008 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits   40.3 K bytes  (5 / 5 files) (67.2 M / 67.2 M bytes)
2026-09-09 18:42:41,373 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits'.
2026-09-09 18:42:41,374 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:42:41,374 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:42:41,375 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:42:41,375 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:42:41,376 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:42:41,377 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:42:41,377 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:42:41,378 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:42:41,379 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:42:41,379 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:42:41,380 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:42:41,380 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:42:41,381 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:42:41,381 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:42:41,383 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:42:41,383 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:42:41,384 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits'.
2026-09-09 18:42:41,385 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:42:41,385 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:42:41,386 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:42:41,386 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:42:41,387 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:42:41,387 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcalong
2026-09-09 18:42:41,388 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcalong_rate.fits ...
2026-09-09 18:42:41,663 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:42:41,797 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  215.010911596 52.914710349 214.965354543 52.937790761 214.926972911 52.910993742 214.971931614 52.887108472
2026-09-09 18:42:41,798 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  215.010911596 52.914710349 214.965354543 52.937790761 214.926972911 52.910993742 214.971931614 52.887108472
2026-09-09 18:42:41,799 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:42:41,845 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:42:42,062 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:42:42,140 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:42:42,141 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:42:42,142 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:42:42,143 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:42:42,281 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:42:42,494 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:42:42,502 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits
2026-09-09 18:42:42,503 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits
2026-09-09 18:42:42,503 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:42:42,504 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:42:42,504 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:42:42,505 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:42:42,505 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:42:42,551 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:42:42,552 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:42:42,553 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:42:42,555 - jwst.photom.photom - INFO - PHOTMJSR value: 0.423
2026-09-09 18:42:42,614 - stpipe.step - INFO - Step photom done
2026-09-09 18:42:42,825 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:42:42,882 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:42:42,882 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.06290911086320311 arcsec.
2026-09-09 18:42:42,889 - stcal.resample.resample - INFO - Output pixel scale: 0.06290911086320311 arcsec.
2026-09-09 18:42:42,889 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:42:42,890 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:42:42,891 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:42:42,891 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:42:42,901 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:42:44,734 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:42:45,325 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:42:45,865 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:42:46,411 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:42:47,379 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.965354543 52.937790761 214.930602804 52.913529985 214.926981716 52.910989069 214.971200553 52.887497210 214.971939101 52.887113778 215.010911596 52.914710349
2026-09-09 18:42:47,503 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcalong_i2d.fits
2026-09-09 18:42:47,504 - stpipe.step - INFO - Step resample done
2026-09-09 18:42:47,508 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_03101_00001_nrcalong
2026-09-09 18:42:47,509 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:42:47,509 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:42:47,650 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcalong_cal.fits
2026-09-09 18:42:47,651 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:42:47,651 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:42:47,682 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:42:47,693 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:42:47,705 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:42:47,707 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:42:47,708 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:42:47,709 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:42:47,711 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:42:47,712 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:42:47,932 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcblong_rate.fits',).
2026-09-09 18:42:47,941 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:42:47,966 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_05101_00001_nrcblong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:42:47,971 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits'.
2026-09-09 18:42:47,971 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:42:47,972 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:42:47,972 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:42:47,973 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:42:47,973 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:42:47,974 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:42:47,975 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:42:47,975 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:42:47,976 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:42:47,976 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:42:47,977 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:42:47,978 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:42:47,978 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:42:47,979 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:42:47,979 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:42:47,980 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:42:47,981 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits'.
2026-09-09 18:42:47,981 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:42:47,982 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:42:47,982 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:42:47,983 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:42:47,984 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:42:47,984 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcblong
2026-09-09 18:42:47,985 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcblong_rate.fits ...
2026-09-09 18:42:48,277 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:42:48,414 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.954195543 52.874819465 214.908289310 52.898122393 214.870058130 52.871196371 214.914677779 52.847427560
2026-09-09 18:42:48,415 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  214.954195543 52.874819465 214.908289310 52.898122393 214.870058130 52.871196371 214.914677779 52.847427560
2026-09-09 18:42:48,416 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:42:48,464 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:42:48,681 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:42:48,752 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:42:48,753 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:42:48,753 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:42:48,754 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:42:48,884 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:42:49,098 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:42:49,105 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits
2026-09-09 18:42:49,106 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits
2026-09-09 18:42:49,106 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:42:49,107 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:42:49,107 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:42:49,108 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:42:49,108 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:42:49,155 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:42:49,156 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:42:49,157 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:42:49,159 - jwst.photom.photom - INFO - PHOTMJSR value: 0.377
2026-09-09 18:42:49,222 - stpipe.step - INFO - Step photom done
2026-09-09 18:42:49,440 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:42:49,499 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:42:49,500 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.06300494333494448 arcsec.
2026-09-09 18:42:49,507 - stcal.resample.resample - INFO - Output pixel scale: 0.06300494333494448 arcsec.
2026-09-09 18:42:49,507 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:42:49,508 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:42:49,508 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:42:49,509 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:42:49,518 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:42:51,365 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:42:51,952 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:42:52,504 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:42:53,052 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:42:54,011 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.908303660 52.898115115 214.903335417 52.894635970 214.870058130 52.871196371 214.914556341 52.847492308 214.914679057 52.847428447 214.954195543 52.874819465
2026-09-09 18:42:54,134 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcblong_i2d.fits
2026-09-09 18:42:54,135 - stpipe.step - INFO - Step resample done
2026-09-09 18:42:54,138 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcblong
2026-09-09 18:42:54,139 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:42:54,140 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:42:54,280 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcblong_cal.fits
2026-09-09 18:42:54,281 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:42:54,281 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:42:54,313 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:42:54,325 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:42:54,337 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:42:54,339 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:42:54,340 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:42:54,341 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:42:54,342 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:42:54,344 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:42:54,562 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcalong_rate.fits',).
2026-09-09 18:42:54,571 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:42:54,596 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_05101_00001_nrcalong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:42:54,601 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits'.
2026-09-09 18:42:54,601 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:42:54,602 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:42:54,603 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:42:54,603 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:42:54,604 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:42:54,605 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:42:54,605 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:42:54,606 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:42:54,606 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:42:54,607 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:42:54,608 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:42:54,609 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:42:54,609 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:42:54,610 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:42:54,611 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:42:54,611 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:42:54,612 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits'.
2026-09-09 18:42:54,612 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:42:54,613 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:42:54,613 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:42:54,614 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:42:54,615 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:42:54,615 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcalong
2026-09-09 18:42:54,616 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcalong_rate.fits ...
2026-09-09 18:42:54,898 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:42:55,031 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  215.007354021 52.911466323 214.961798384 52.934545302 214.923421945 52.907747076 214.968379343 52.883863220
2026-09-09 18:42:55,032 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  215.007354021 52.911466323 214.961798384 52.934545302 214.923421945 52.907747076 214.968379343 52.883863220
2026-09-09 18:42:55,032 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:42:55,080 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:42:55,311 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:42:55,385 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:42:55,386 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:42:55,386 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:42:55,387 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:42:55,529 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:42:55,750 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:42:55,757 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits
2026-09-09 18:42:55,758 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits
2026-09-09 18:42:55,758 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:42:55,759 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:42:55,760 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:42:55,760 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:42:55,760 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:42:55,808 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:42:55,809 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:42:55,810 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:42:55,812 - jwst.photom.photom - INFO - PHOTMJSR value: 0.423
2026-09-09 18:42:55,873 - stpipe.step - INFO - Step photom done
2026-09-09 18:42:56,094 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:42:56,153 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:42:56,154 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.06290911123731402 arcsec.
2026-09-09 18:42:56,161 - stcal.resample.resample - INFO - Output pixel scale: 0.06290911123731402 arcsec.
2026-09-09 18:42:56,161 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:42:56,162 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:42:56,163 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:42:56,163 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:42:56,172 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:42:58,035 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:42:58,619 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:42:59,160 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:42:59,697 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:00,673 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.961798384 52.934545302 214.927050821 52.910283066 214.923430748 52.907742404 214.967648303 52.884251935 214.968386828 52.883868526 215.007354021 52.911466323
2026-09-09 18:43:00,798 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcalong_i2d.fits
2026-09-09 18:43:00,799 - stpipe.step - INFO - Step resample done
2026-09-09 18:43:00,803 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00001_nrcalong
2026-09-09 18:43:00,804 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:43:00,804 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:43:00,947 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcalong_cal.fits
2026-09-09 18:43:00,947 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:43:00,948 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:43:00,981 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:43:00,995 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:43:01,009 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:43:01,010 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:43:01,012 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:43:01,013 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:43:01,014 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:43:01,015 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:43:01,252 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcblong_rate.fits',).
2026-09-09 18:43:01,260 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:43:01,285 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_05101_00002_nrcblong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:43:01,290 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits'.
2026-09-09 18:43:01,290 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:43:01,291 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:43:01,292 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:43:01,292 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:43:01,293 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:43:01,293 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:43:01,294 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:43:01,294 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:43:01,296 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:43:01,296 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:43:01,297 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:43:01,298 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:43:01,298 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:43:01,299 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:43:01,299 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:43:01,300 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:43:01,300 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits'.
2026-09-09 18:43:01,301 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:43:01,302 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:43:01,302 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:43:01,303 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:43:01,304 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:43:01,305 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcblong
2026-09-09 18:43:01,305 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcblong_rate.fits ...
2026-09-09 18:43:01,581 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:01,714 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.961407760 52.879869125 214.915500110 52.903174872 214.877259936 52.876251196 214.921880780 52.852479648
2026-09-09 18:43:01,715 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  214.961407760 52.879869125 214.915500110 52.903174872 214.877259936 52.876251196 214.921880780 52.852479648
2026-09-09 18:43:01,716 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:43:01,762 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:43:01,977 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:02,053 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:43:02,054 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:43:02,054 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:43:02,055 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:43:02,186 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:43:02,404 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:02,411 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits
2026-09-09 18:43:02,412 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits
2026-09-09 18:43:02,413 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:43:02,413 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:43:02,414 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:43:02,414 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:43:02,415 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:43:02,466 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:43:02,467 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:43:02,468 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:43:02,469 - jwst.photom.photom - INFO - PHOTMJSR value: 0.377
2026-09-09 18:43:02,530 - stpipe.step - INFO - Step photom done
2026-09-09 18:43:02,748 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:02,807 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:43:02,808 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.0630049427315068 arcsec.
2026-09-09 18:43:02,814 - stcal.resample.resample - INFO - Output pixel scale: 0.0630049427315068 arcsec.
2026-09-09 18:43:02,815 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:43:02,815 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:43:02,816 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:43:02,817 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:43:02,826 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:04,656 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:05,237 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:05,779 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:06,325 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:07,271 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.915514460 52.903167594 214.910545127 52.899688806 214.877259936 52.876251196 214.921759367 52.852544389 214.921882058 52.852480535 214.961407760 52.879869125
2026-09-09 18:43:07,395 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcblong_i2d.fits
2026-09-09 18:43:07,396 - stpipe.step - INFO - Step resample done
2026-09-09 18:43:07,399 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcblong
2026-09-09 18:43:07,400 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:43:07,401 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:43:07,537 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcblong_cal.fits
2026-09-09 18:43:07,538 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:43:07,539 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:43:07,571 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:43:07,582 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:43:07,594 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:43:07,595 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:43:07,597 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:43:07,598 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:43:07,599 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:43:07,601 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:43:07,813 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcalong_rate.fits',).
2026-09-09 18:43:07,821 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:43:07,847 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_05101_00002_nrcalong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:43:07,851 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits'.
2026-09-09 18:43:07,852 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:43:07,852 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:43:07,853 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:43:07,853 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:43:07,854 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:43:07,854 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:43:07,855 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:43:07,856 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:43:07,856 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:43:07,857 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:43:07,857 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:43:07,858 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:43:07,858 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:43:07,859 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:43:07,860 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:43:07,860 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:43:07,861 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits'.
2026-09-09 18:43:07,862 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:43:07,862 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:43:07,863 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:43:07,863 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:43:07,864 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:43:07,865 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcalong
2026-09-09 18:43:07,866 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcalong_rate.fits ...
2026-09-09 18:43:08,137 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:08,267 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  215.014578622 52.916512713 214.969021580 52.939594494 214.930636135 52.912798626 214.975594739 52.888912008
2026-09-09 18:43:08,268 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  215.014578622 52.916512713 214.969021580 52.939594494 214.930636135 52.912798626 214.975594739 52.888912008
2026-09-09 18:43:08,269 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:43:08,315 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:43:08,527 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:08,599 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:43:08,600 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:43:08,600 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:43:08,601 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:43:08,737 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:43:08,956 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:08,964 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits
2026-09-09 18:43:08,964 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits
2026-09-09 18:43:08,965 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:43:08,965 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:43:08,966 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:43:08,967 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:43:08,968 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:43:09,013 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:43:09,014 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:43:09,015 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:43:09,017 - jwst.photom.photom - INFO - PHOTMJSR value: 0.423
2026-09-09 18:43:09,076 - stpipe.step - INFO - Step photom done
2026-09-09 18:43:09,295 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:09,361 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:43:09,362 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.06290911057125158 arcsec.
2026-09-09 18:43:09,370 - stcal.resample.resample - INFO - Output pixel scale: 0.06290911057125158 arcsec.
2026-09-09 18:43:09,371 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:43:09,372 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:43:09,373 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:43:09,373 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:43:09,388 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:11,224 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:11,828 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:12,377 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:12,923 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:13,888 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.969021580 52.939594494 214.934265896 52.915334416 214.930644938 52.912793953 214.974863737 52.889300737 214.975602226 52.888917313 215.014578622 52.916512713
2026-09-09 18:43:14,010 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcalong_i2d.fits
2026-09-09 18:43:14,010 - stpipe.step - INFO - Step resample done
2026-09-09 18:43:14,014 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_05101_00002_nrcalong
2026-09-09 18:43:14,015 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:43:14,015 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:43:14,153 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcalong_cal.fits
2026-09-09 18:43:14,154 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:43:14,155 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:43:14,185 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:43:14,197 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:43:14,210 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:43:14,211 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:43:14,212 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:43:14,213 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:43:14,215 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:43:14,216 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:43:14,439 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcblong_rate.fits',).
2026-09-09 18:43:14,447 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:43:14,474 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_08101_00001_nrcblong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:43:14,478 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits'.
2026-09-09 18:43:14,479 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:43:14,480 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:43:14,480 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:43:14,481 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:43:14,482 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:43:14,482 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:43:14,483 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:43:14,483 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:43:14,484 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:43:14,485 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:43:14,486 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:43:14,486 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:43:14,487 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:43:14,487 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:43:14,488 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:43:14,489 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:43:14,489 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits'.
2026-09-09 18:43:14,490 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:43:14,490 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:43:14,491 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:43:14,491 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:43:14,492 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:43:14,493 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcblong
2026-09-09 18:43:14,494 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcblong_rate.fits ...
2026-09-09 18:43:14,789 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:14,923 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.957745676 52.878065059 214.911837886 52.901369335 214.873601674 52.874444435 214.918222749 52.850674315
2026-09-09 18:43:14,924 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  214.957745676 52.878065059 214.911837886 52.901369335 214.873601674 52.874444435 214.918222749 52.850674315
2026-09-09 18:43:14,925 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:43:14,971 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:43:15,186 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:15,264 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:43:15,265 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:43:15,266 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:43:15,266 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:43:15,398 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:43:15,612 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:15,619 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits
2026-09-09 18:43:15,620 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits
2026-09-09 18:43:15,620 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:43:15,621 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:43:15,622 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:43:15,622 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:43:15,623 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:43:15,673 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:43:15,674 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:43:15,675 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:43:15,676 - jwst.photom.photom - INFO - PHOTMJSR value: 0.377
2026-09-09 18:43:15,738 - stpipe.step - INFO - Step photom done
2026-09-09 18:43:15,957 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:16,017 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:43:16,018 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.06300494294437169 arcsec.
2026-09-09 18:43:16,024 - stcal.resample.resample - INFO - Output pixel scale: 0.06300494294437169 arcsec.
2026-09-09 18:43:16,025 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:43:16,026 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:43:16,026 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:43:16,027 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:43:16,036 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:17,899 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:18,486 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:19,027 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:19,566 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:20,515 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.911852236 52.901362057 214.906883443 52.897883129 214.873601674 52.874444435 214.918101338 52.850739050 214.918224027 52.850675202 214.957745676 52.878065059
2026-09-09 18:43:20,635 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcblong_i2d.fits
2026-09-09 18:43:20,636 - stpipe.step - INFO - Step resample done
2026-09-09 18:43:20,639 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcblong
2026-09-09 18:43:20,640 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:43:20,641 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:43:20,776 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcblong_cal.fits
2026-09-09 18:43:20,776 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:43:20,777 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:43:20,807 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:43:20,817 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:43:20,829 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:43:20,830 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:43:20,832 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:43:20,832 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:43:20,834 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:43:20,835 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:43:21,043 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcalong_rate.fits',).
2026-09-09 18:43:21,051 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:43:21,076 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_08101_00001_nrcalong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:43:21,080 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits'.
2026-09-09 18:43:21,081 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:43:21,081 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:43:21,082 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:43:21,082 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:43:21,083 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:43:21,083 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:43:21,084 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:43:21,085 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:43:21,086 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:43:21,086 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:43:21,087 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:43:21,087 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:43:21,088 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:43:21,088 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:43:21,089 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:43:21,090 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:43:21,091 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits'.
2026-09-09 18:43:21,091 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:43:21,092 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:43:21,092 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:43:21,093 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:43:21,094 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:43:21,094 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcalong
2026-09-09 18:43:21,095 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcalong_rate.fits ...
2026-09-09 18:43:21,370 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:21,501 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  215.010911096 52.914710353 214.965353914 52.937790672 214.926972432 52.910993574 214.971931269 52.887108397
2026-09-09 18:43:21,502 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  215.010911096 52.914710353 214.965353914 52.937790672 214.926972432 52.910993574 214.971931269 52.887108397
2026-09-09 18:43:21,503 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:43:21,549 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:43:21,764 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:21,840 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:43:21,841 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:43:21,842 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:43:21,842 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:43:21,977 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:43:22,191 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:22,199 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits
2026-09-09 18:43:22,199 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits
2026-09-09 18:43:22,200 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:43:22,201 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:43:22,201 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:43:22,201 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:43:22,202 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:43:22,248 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:43:22,249 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:43:22,250 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:43:22,251 - jwst.photom.photom - INFO - PHOTMJSR value: 0.423
2026-09-09 18:43:22,311 - stpipe.step - INFO - Step photom done
2026-09-09 18:43:22,522 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:22,581 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:43:22,582 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.0629091108410966 arcsec.
2026-09-09 18:43:22,589 - stcal.resample.resample - INFO - Output pixel scale: 0.0629091108410966 arcsec.
2026-09-09 18:43:22,589 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:43:22,590 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:43:22,591 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:43:22,591 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:43:22,600 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:24,423 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:25,005 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:25,546 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:26,085 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:27,046 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.965353914 52.937790672 214.930601941 52.913529566 214.926981236 52.910988901 214.971200253 52.887497109 214.971938755 52.887113702 215.010911096 52.914710353
2026-09-09 18:43:27,171 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcalong_i2d.fits
2026-09-09 18:43:27,172 - stpipe.step - INFO - Step resample done
2026-09-09 18:43:27,175 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_08101_00001_nrcalong
2026-09-09 18:43:27,176 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:43:27,177 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:43:27,315 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcalong_cal.fits
2026-09-09 18:43:27,316 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:43:27,317 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:43:27,349 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:43:27,360 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:43:27,372 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:43:27,373 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:43:27,375 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:43:27,376 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:43:27,377 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:43:27,378 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:43:27,594 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcblong_rate.fits',).
2026-09-09 18:43:27,602 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:43:27,627 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012002_02101_00001_nrcblong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:43:27,632 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits'.
2026-09-09 18:43:27,632 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:43:27,633 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:43:27,633 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:43:27,634 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:43:27,634 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:43:27,635 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:43:27,635 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:43:27,636 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:43:27,637 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:43:27,637 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:43:27,638 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:43:27,639 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:43:27,639 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:43:27,640 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:43:27,641 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:43:27,641 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:43:27,642 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits'.
2026-09-09 18:43:27,642 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:43:27,643 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:43:27,643 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:43:27,644 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:43:27,644 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:43:27,645 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcblong
2026-09-09 18:43:27,646 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcblong_rate.fits ...
2026-09-09 18:43:27,925 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:28,059 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.962332873 52.875840838 214.916429502 52.899146595 214.878192863 52.872222929 214.922809548 52.848451369
2026-09-09 18:43:28,060 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  214.962332873 52.875840838 214.916429502 52.899146595 214.878192863 52.872222929 214.922809548 52.848451369
2026-09-09 18:43:28,061 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:43:28,107 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:43:28,314 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:28,388 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:43:28,389 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:43:28,389 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:43:28,390 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:43:28,518 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:43:28,725 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:28,732 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits
2026-09-09 18:43:28,733 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits
2026-09-09 18:43:28,733 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:43:28,734 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:43:28,734 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:43:28,735 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:43:28,736 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:43:28,786 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:43:28,786 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:43:28,787 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:43:28,789 - jwst.photom.photom - INFO - PHOTMJSR value: 0.377
2026-09-09 18:43:28,849 - stpipe.step - INFO - Step photom done
2026-09-09 18:43:29,060 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:29,119 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:43:29,120 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.06300494197670875 arcsec.
2026-09-09 18:43:29,126 - stcal.resample.resample - INFO - Output pixel scale: 0.06300494197670875 arcsec.
2026-09-09 18:43:29,127 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:43:29,128 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:43:29,128 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:43:29,129 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:43:29,138 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:30,960 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:31,548 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:32,097 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:32,652 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:33,598 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.916443852 52.899139316 214.911474598 52.895660263 214.878192863 52.872222929 214.922688128 52.848516119 214.922810826 52.848452256 214.962332873 52.875840838
2026-09-09 18:43:33,719 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcblong_i2d.fits
2026-09-09 18:43:33,720 - stpipe.step - INFO - Step resample done
2026-09-09 18:43:33,724 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcblong
2026-09-09 18:43:33,725 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:43:33,725 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:43:33,860 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcblong_cal.fits
2026-09-09 18:43:33,861 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:43:33,862 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:43:33,892 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:43:33,903 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:43:33,915 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:43:33,916 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:43:33,918 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:43:33,919 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:43:33,920 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:43:33,922 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:43:34,134 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcalong_rate.fits',).
2026-09-09 18:43:34,142 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:43:34,167 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012002_02101_00001_nrcalong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:43:34,171 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits'.
2026-09-09 18:43:34,172 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:43:34,173 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:43:34,173 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:43:34,174 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:43:34,174 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:43:34,175 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:43:34,175 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:43:34,176 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:43:34,176 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:43:34,178 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:43:34,178 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:43:34,179 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:43:34,179 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:43:34,180 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:43:34,180 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:43:34,181 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:43:34,182 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits'.
2026-09-09 18:43:34,182 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:43:34,183 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:43:34,183 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:43:34,184 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:43:34,184 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:43:34,185 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcalong
2026-09-09 18:43:34,186 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcalong_rate.fits ...
2026-09-09 18:43:34,458 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:34,589 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  215.015498807 52.912484420 214.969946013 52.935566206 214.931564126 52.908770346 214.976518538 52.884883719
2026-09-09 18:43:34,590 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  215.015498807 52.912484420 214.969946013 52.935566206 214.931564126 52.908770346 214.976518538 52.884883719
2026-09-09 18:43:34,591 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:43:34,637 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:43:34,858 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:34,931 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:43:34,932 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:43:34,932 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:43:34,933 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:43:35,070 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:43:35,306 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:35,314 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits
2026-09-09 18:43:35,314 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits
2026-09-09 18:43:35,315 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:43:35,315 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:43:35,316 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:43:35,316 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:43:35,317 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:43:35,363 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:43:35,364 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:43:35,365 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:43:35,366 - jwst.photom.photom - INFO - PHOTMJSR value: 0.423
2026-09-09 18:43:35,425 - stpipe.step - INFO - Step photom done
2026-09-09 18:43:35,645 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:35,704 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:43:35,704 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.06290910989473786 arcsec.
2026-09-09 18:43:35,711 - stcal.resample.resample - INFO - Output pixel scale: 0.06290910989473786 arcsec.
2026-09-09 18:43:35,711 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:43:35,712 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:43:35,712 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:43:35,713 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:43:35,722 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:37,524 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:38,119 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:38,674 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:39,212 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:40,160 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.969946013 52.935566206 214.935193755 52.911306279 214.931572929 52.908765673 214.975787477 52.885272516 214.976526025 52.884889025 215.015498807 52.912484420
2026-09-09 18:43:40,280 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcalong_i2d.fits
2026-09-09 18:43:40,281 - stpipe.step - INFO - Step resample done
2026-09-09 18:43:40,285 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012002_02101_00001_nrcalong
2026-09-09 18:43:40,286 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:43:40,286 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:43:40,422 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcalong_cal.fits
2026-09-09 18:43:40,423 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:43:40,423 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:43:40,452 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:43:40,463 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:43:40,474 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:43:40,475 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:43:40,477 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:43:40,478 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:43:40,479 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:43:40,480 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:43:40,691 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcalong_rate.fits',).
2026-09-09 18:43:40,699 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:43:40,723 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012003_02101_00001_nrcalong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:43:40,727 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits'.
2026-09-09 18:43:40,728 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:43:40,728 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:43:40,729 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:43:40,729 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:43:40,730 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:43:40,730 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:43:40,731 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:43:40,731 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:43:40,732 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:43:40,733 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:43:40,733 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:43:40,734 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:43:40,735 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:43:40,735 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:43:40,737 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:43:40,737 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:43:40,738 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits'.
2026-09-09 18:43:40,739 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:43:40,739 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:43:40,740 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:43:40,740 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:43:40,741 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:43:40,742 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcalong
2026-09-09 18:43:40,743 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcalong_rate.fits ...
2026-09-09 18:43:40,998 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:41,129 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.999109503 52.921015435 214.953539447 52.944091277 214.915159633 52.917290405 214.960131461 52.893409650
2026-09-09 18:43:41,130 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  214.999109503 52.921015435 214.953539447 52.944091277 214.915159633 52.917290405 214.960131461 52.893409650
2026-09-09 18:43:41,131 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:43:41,178 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:43:41,394 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:41,469 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:43:41,470 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:43:41,471 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:43:41,472 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:43:41,600 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:43:41,816 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:41,823 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0168.fits
2026-09-09 18:43:41,824 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0246.fits
2026-09-09 18:43:41,825 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:43:41,825 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:43:41,826 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:43:41,826 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:43:41,827 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:43:41,878 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:43:41,878 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:43:41,879 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:43:41,881 - jwst.photom.photom - INFO - PHOTMJSR value: 0.423
2026-09-09 18:43:41,940 - stpipe.step - INFO - Step photom done
2026-09-09 18:43:42,147 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcalong_image2pipeline.fits>,).
2026-09-09 18:43:42,206 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:43:42,207 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.0629091098307218 arcsec.
2026-09-09 18:43:42,213 - stcal.resample.resample - INFO - Output pixel scale: 0.0629091098307218 arcsec.
2026-09-09 18:43:42,213 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:43:42,214 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:43:42,214 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:43:42,215 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:43:42,224 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:44,049 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:44,633 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:45,175 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:45,712 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2075)
2026-09-09 18:43:46,661 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.953539447 52.944091277 214.918788971 52.919826746 214.915168439 52.917285733 214.959400254 52.893798279 214.960138946 52.893414956 214.999109503 52.921015435
2026-09-09 18:43:46,782 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcalong_i2d.fits
2026-09-09 18:43:46,783 - stpipe.step - INFO - Step resample done
2026-09-09 18:43:46,786 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcalong
2026-09-09 18:43:46,787 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:43:46,787 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:43:46,925 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcalong_cal.fits
2026-09-09 18:43:46,926 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:43:46,926 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:43:46,956 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:43:46,967 - stpipe.step - INFO - PARS-IMAGE2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-image2pipeline_0003.asdf
2026-09-09 18:43:46,979 - stpipe.step - INFO - Image2Pipeline instance created.
2026-09-09 18:43:46,980 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:43:46,981 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:43:46,982 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:43:46,984 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:43:46,985 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:43:47,196 - stpipe.step - INFO - Step Image2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcblong_rate.fits',).
2026-09-09 18:43:47,204 - stpipe.step - INFO - Step Image2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img
  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
  steps:
    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
    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
    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
    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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
2026-09-09 18:43:47,229 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012003_02101_00001_nrcblong_rate.fits' reftypes = ['area', 'camera', 'chromcorr', 'collimator', 'dflat', 'disperser', 'distortion', 'fflat', 'filteroffset', 'flat', 'fore', 'fpa', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'photom', 'regions', 'sflat', 'specwcs', 'wavelengthrange']
2026-09-09 18:43:47,233 - stpipe.pipeline - INFO - Prefetch for AREA reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits'.
2026-09-09 18:43:47,234 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:43:47,234 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:43:47,235 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:43:47,236 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:43:47,236 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:43:47,237 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:43:47,237 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:43:47,238 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:43:47,239 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:43:47,239 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:43:47,240 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:43:47,240 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:43:47,241 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:43:47,241 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:43:47,242 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:43:47,242 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:43:47,243 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits'.
2026-09-09 18:43:47,244 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:43:47,245 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:43:47,245 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-09-09 18:43:47,246 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is 'N/A'.
2026-09-09 18:43:47,247 - jwst.pipeline.calwebb_image2 - INFO - Starting calwebb_image2 ...
2026-09-09 18:43:47,247 - jwst.pipeline.calwebb_image2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcblong
2026-09-09 18:43:47,248 - jwst.pipeline.calwebb_image2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcblong_rate.fits ...
2026-09-09 18:43:47,502 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:47,634 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.945946248 52.884364917 214.900025490 52.907664676 214.861791009 52.880736013 214.906424977 52.856970286
2026-09-09 18:43:47,635 - jwst.assign_wcs.assign_wcs - INFO - assign_wcs updated S_REGION to POLYGON ICRS  214.945946248 52.884364917 214.900025490 52.907664676 214.861791009 52.880736013 214.906424977 52.856970286
2026-09-09 18:43:47,636 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:43:47,682 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:43:47,898 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:47,970 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:43:47,970 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:43:47,971 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:43:47,972 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:43:48,108 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:43:48,323 - stpipe.step - INFO - Step photom running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:48,331 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0171.fits
2026-09-09 18:43:48,331 - jwst.photom.photom_step - INFO - Using area reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_area_0326.fits
2026-09-09 18:43:48,332 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:43:48,333 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:43:48,333 - jwst.photom.photom - INFO -  exp_type: NRC_IMAGE
2026-09-09 18:43:48,334 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:43:48,334 - jwst.photom.photom - INFO -  pupil: CLEAR
2026-09-09 18:43:48,386 - jwst.photom.photom - INFO - Pixel area map copied to output.
2026-09-09 18:43:48,386 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from AREA reference file.
2026-09-09 18:43:48,387 - jwst.photom.photom - INFO - Matching to subarray: FULL
2026-09-09 18:43:48,388 - jwst.photom.photom - INFO - PHOTMJSR value: 0.377
2026-09-09 18:43:48,449 - stpipe.step - INFO - Step photom done
2026-09-09 18:43:48,662 - stpipe.step - INFO - Step resample running with args (<ImageModel(2048, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcblong_image2pipeline.fits>,).
2026-09-09 18:43:48,721 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:43:48,722 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.06300494188571658 arcsec.
2026-09-09 18:43:48,728 - stcal.resample.resample - INFO - Output pixel scale: 0.06300494188571658 arcsec.
2026-09-09 18:43:48,729 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:43:48,729 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:43:48,730 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:43:48,730 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:43:48,740 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:50,593 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:43:51,183 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:51,732 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:52,278 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2068, 2076)
2026-09-09 18:43:53,226 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.900039844 52.907657400 214.895071311 52.904178011 214.861791009 52.880736013 214.906303480 52.857035036 214.906426256 52.856971173 214.945946248 52.884364917
2026-09-09 18:43:53,348 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcblong_i2d.fits
2026-09-09 18:43:53,349 - stpipe.step - INFO - Step resample done
2026-09-09 18:43:53,353 - jwst.pipeline.calwebb_image2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012003_02101_00001_nrcblong
2026-09-09 18:43:53,354 - jwst.pipeline.calwebb_image2 - INFO - ... ending calwebb_image2
2026-09-09 18:43:53,354 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:43:53,495 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcblong_cal.fits
2026-09-09 18:43:53,496 - stpipe.step - INFO - Step Image2Pipeline done
2026-09-09 18:43:53,497 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
# Print out the time benchmark
time_image2_end = time.perf_counter()
print(f"Runtime for Image2: {(time_image2_end - time_image2):0.0f} seconds")
Runtime for Image2: 89 seconds

7. Image3 Pipeline#


In this section we continue calibrating the direct images with the Image3 stage of the pipeline to obtain a source catalog and segmentation map of the field to use as input into the Spec2 stage later. In the Image3 stage of the pipeline, the individual *_cal.fits files for each of the dither positions are combined to one single distortion corrected image (*_i2d.fits files).

By default, the Image3 stage of the pipeline performs the following steps on NIRCam data:

  • tweakreg - creates source catalogs of pointlike sources for each input image. The source catalog for each input image is compared to each other to derive coordinate transforms to align the images relative to each other.

  • skymatch - measures the background level from the sky to use as input into the subsequent outlier detection and resample steps.

  • outlier detection - flags any remaining cosmic rays, bad pixels, or other artifacts not already flagged during the detector1 stage of the pipeline, using all input images to create a median image so that outliers in individual images can be identified.

  • resample - resamples each input image based on its WCS and distortion information and creates a single undistorted image.

  • source catalog - creates a catalog of detected sources along with measured photometries and morphologies (i.e., point-like vs extended). Useful for quicklooks, but optimization is likely needed for specific science cases. Users may wish to experiment with changing the snr_threshold and deblend options. Modifications to the following parameters will not significantly improve data quality and it is advised to keep them at their default values: aperture_ee1, aperture_ee2, aperture_ee3, ci1_star_threshold, ci2_star_threshold.

time_image3 = time.perf_counter()

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

# Science Files need the cal.fits files
sstring = os.path.join(image2_dir, 'jw*cal.fits')
img3_cal_files = sorted(glob.glob(sstring))
for ii, cal_relpath in enumerate(img3_cal_files):
    img3_cal_files[ii] = os.path.abspath(cal_relpath)
img3_cal_files = np.array(img3_cal_files)

print(f'Found {str(len(img3_cal_files))} imaging cal files to process for level 3')
Found 12 imaging cal files to process for level 3

Create Image3 Association Files#

An association file lists the exposures to calibrated together in the Image3 stage of the pipeline. Note that an association file is available for download from MAST, with a filename of *image3_asn.json. Additionally, you can download the _pool.csv file for a specific observation and create associations directly from the pool file using the asn_generate function with the latest version of the pipeline. In both of these cases, the pipeline is expecting the files being calibrated to exist in the same directory that the association is in. Below, we show how to create an image3 association file by providing a list of exposures that we have processed through the pipeline and saved in separate directories. Also note that the output products will have a rootname that is specified by the product_name in the association file. For this tutorial, the rootname of the output products will end with image3_asn.json.

# Create a Level 3 Association for each blocking filter
if doimage3:

    # Parameters to be used for the Image3 association creation
    img3_pid = str(program) # Associations are only set up to combine for the same program & observation
    img3_obs = str(sci_observtn) # Associations are only set up to combine for the same program & observation
    img3_pupil = 'CLEAR' # For imaging mode, the pupil wheel is set to clear
    img3_ins = 'NIRCAM'

    # Identify the unique filters used for the direct images
    img3_all_filters = np.array([fits.getval(cf, 'FILTER') for cf in img3_cal_files])
    img3_uniq_filters = np.unique(img3_all_filters)
    
    # Loop over unique filter values
    for img3_filter in img3_uniq_filters:
        img3_indx = np.where(img3_all_filters == img3_filter)[0]
        img3_filter_files = img3_cal_files[img3_indx]

        # Set up the association filename to match the default pipeline level3 naming output
        img3_product_name = f"jw{img3_pid}-o{img3_obs}_{img3_ins}_{img3_filter}-{img3_pupil}".lower()
        img3_asn_filename = img3_product_name + '_image3_asn.json'
    
        img3_association = asn_from_list.asn_from_list(img3_filter_files, rule=DMS_Level3_Base,
                                                       product_name=img3_product_name)
    
        img3_association.data['asn_type'] = 'image3'
        img3_association.data['program'] = img3_pid
    
        # Format association as .json file
        _, serialized = img3_association.dump(format="json")

        # Write out association file
        img3_asn_pathname = os.path.join(sci_dir, img3_asn_filename)
        with open(img3_asn_pathname, "w") as fd:
            fd.write(serialized)
        print(f'Writing image3 association: {img3_asn_pathname}')
Writing image3 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345-o012_nircam_f356w-clear_image3_asn.json
/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)

Take a quick look at the contents of the image3 association file to see which files will be combined

if doimage3:
    image3_asns = glob.glob(os.path.join(sci_dir, "*image3*_asn.json"))
    
    # open the image3 association to look at
    image3_asn_data = json.load(open(image3_asns[0]))
    print(f'asn_type : {image3_asn_data["asn_type"]}')
    print(f'code_version : {image3_asn_data["code_version"]}')
    
    # in particular, take a closer look at the product filenames with the association file:
    for product in image3_asn_data['products']:
        for key, value in product.items():
            if key == 'members':
                print(f"{key}:")
                for member in value:
                    print(f"    {member['expname']} {member['exptype']}")
            else:
                print(f"{key}: {value}")
asn_type : image3
code_version : 3.0.0
name: jw01345-o012_nircam_f356w-clear
members:
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcalong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_03101_00001_nrcblong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcalong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00001_nrcblong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcalong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_05101_00002_nrcblong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcalong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012001_08101_00001_nrcblong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcalong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012002_02101_00001_nrcblong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcalong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_img/jw01345012003_02101_00001_nrcblong_cal.fits science

Run Image3#

In Image3, the *_cal.fits individual pointing files will be calibrated into a single combined *_i2d.fits image. The parameters in each of the Image3 steps can be modified from the default values, including overwriting reference files that are used during this stage. This dictionary of the modified parameters for each of the steps is then fed into the steps parameter of the Image3Pipeline call. The syntax for modifying some of these parameters is below; the full list of parameters can be found in the tweakreg, skymatch, outlier detection, resample and sourcecatalog documentation.

# Set up a dictionary to define how the Image3 pipeline should be configured

# this sets up any entry to image3dict to be a dictionary itself
image3dict = defaultdict(dict)

# -----------------------------Set step parameters------------------------------
# Example overrides for whether or not certain steps should be skipped
#   Some of these example values differ from default values to improve the demo scene
# image3dict['outlier_detection']['skip'] = True

# Example parameters for the source_catalog step
# image3dict['source_catalog']['kernel_fwhm'] = 5.0
# image3dict['source_catalog']['snr_threshold'] = 10.0
# image3dict['source_catalog']['npixels'] = 50
# image3dict['source_catalog']['deblend'] = True

# Example parameters for the tweakreg step
# image3dict['tweakreg']['snr_threshold'] = 20
# image3dict['tweakreg']['abs_refcat'] = 'GAIADR3'
# image3dict['tweakreg']['searchrad'] = 3.0,
# image3dict['tweakreg']['kernel_fwhm'] = 2.302
# image3dict['tweakreg']['fitgeometry'] = 'shift'

# ---------------------------Override reference files---------------------------
# Example overrides for various reference files
#   Files should be in the base local directory or provide full path
# image3dict['source_catalog']['override_apcorr'] = 'myfile.fits'  # Aperture correction parameters
# image3dict['source_catalog']['override_abvegaoffset'] = 'myfile.asdf'  # Data to convert from AB to Vega magnitudes (ASDF file)
# Run Image3
if doimage3:
    asn_files = np.sort(glob.glob(os.path.join(sci_dir, '*image3_asn.json')))
    for asn in asn_files:
        img3 = Image3Pipeline.call(asn, output_dir=image3_dir, steps=image3dict, save_results=True)
else:
    print('Skipping Image3 processing')
2026-09-09 18:43:53,654 - CRDS - INFO -  Syncing 1 files
2026-09-09 18:43:53,655 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-tweakregstep_0043.asdf    1.6 K bytes  (1 / 1 files) (0 / 1.6 K bytes)
2026-09-09 18:43:53,902 - stpipe.step - INFO - PARS-TWEAKREGSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-tweakregstep_0043.asdf
2026-09-09 18:43:53,915 - stpipe.step - INFO - PARS-RESAMPLESTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-resamplestep_0001.asdf
2026-09-09 18:43:53,927 - CRDS - INFO -  Syncing 1 files
2026-09-09 18:43:53,928 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-sourcecatalogstep_0029.asdf      991 bytes  (1 / 1 files) (0 / 991 bytes)
2026-09-09 18:43:54,175 - stpipe.step - INFO - PARS-SOURCECATALOGSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-sourcecatalogstep_0029.asdf
2026-09-09 18:43:54,190 - stpipe.step - INFO - Image3Pipeline instance created.
2026-09-09 18:43:54,191 - stpipe.step - INFO - AssignMTWcsStep instance created.
2026-09-09 18:43:54,194 - stpipe.step - INFO - TweakRegStep instance created.
2026-09-09 18:43:54,195 - stpipe.step - INFO - SkyMatchStep instance created.
2026-09-09 18:43:54,196 - stpipe.step - INFO - OutlierDetectionStep instance created.
2026-09-09 18:43:54,198 - stpipe.step - INFO - ResampleStep instance created.
2026-09-09 18:43:54,199 - stpipe.step - INFO - SourceCatalogStep instance created.
2026-09-09 18:43:54,414 - stpipe.step - INFO - Step Image3Pipeline running with args (np.str_('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345-o012_nircam_f356w-clear_image3_asn.json'),).
2026-09-09 18:43:54,428 - stpipe.step - INFO - Step Image3Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img
  output_ext: .fits
  output_use_model: False
  output_use_index: True
  save_results: True
  skip: False
  suffix: None
  search_output_file: True
  input_dir: ''
  in_memory: True
  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: ''
    tweakreg:
      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: ''
      save_catalogs: False
      use_custom_catalogs: False
      catalog_format: ecsv
      catfile: ''
      starfinder: iraf
      snr_threshold: 10.0
      kernel_fwhm: 1.83
      bkg_boxsize: 400
      minsep_fwhm: 0.0
      sigma_radius: 1.5
      sharplo: 0.5
      sharphi: 2.0
      roundlo: 0.0
      roundhi: 0.2
      brightest: 200
      peakmax: None
      npixels: 10
      connectivity: '8'
      nlevels: 32
      contrast: 0.001
      multithresh_mode: exponential
      localbkg_width: 0
      apermask_method: correct
      kron_params: None
      deblend: True
      enforce_user_order: False
      expand_refcat: False
      minobj: 15
      fitgeometry: shift
      nclip: 3
      sigma: 3.0
      searchrad: 2.0
      use2dhist: True
      separation: 2.0
      tolerance: 1.0
      xoffset: 0.0
      yoffset: 0.0
      abs_refcat: ''
      save_abs_catalog: False
      abs_minobj: 15
      abs_fitgeometry: rshift
      abs_nclip: 3
      abs_sigma: 3.0
      abs_searchrad: 6.0
      abs_use2dhist: True
      abs_separation: 1.0
      abs_tolerance: 0.7
      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
      in_memory: True
    skymatch:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: None
      search_output_file: True
      input_dir: ''
      skymethod: match
      match_down: True
      subtract: False
      skylist: None
      stepsize: None
      skystat: mode
      dqbits: ~DO_NOT_USE+NON_SCIENCE
      lower: None
      upper: None
      nclip: 5
      lsigma: 4.0
      usigma: 4.0
      binwidth: 0.1
      in_memory: True
    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: 7 7
      threshold_percent: 99.8
      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
    resample:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      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
      crpix: None
      crval: None
      rotation: None
      pixel_scale_ratio: 1.0
      pixel_scale: None
      output_wcs: ''
      single: False
      blendheaders: True
      in_memory: True
      enable_ctx: True
      enable_err: True
      report_var: True
      propagate_dq: False
      pixmap_stepsize: 1.0
      pixmap_order: 1
    source_catalog:
      pre_hooks: []
      post_hooks: []
      output_file: None
      output_dir: None
      output_ext: .fits
      output_use_model: False
      output_use_index: True
      save_results: False
      skip: False
      suffix: cat
      search_output_file: True
      input_dir: ''
      aperture_ee1: 30
      aperture_ee2: 50
      aperture_ee3: 70
      ci1_star_threshold: 2.0
      ci2_star_threshold: 1.8
      starfinder: segmentation
      snr_threshold: 3.0
      bkg_boxsize: 1000
      kernel_fwhm: 1.83
      minsep_fwhm: 0.0
      sigma_radius: 1.5
      sharplo: 0.5
      sharphi: 2.0
      roundlo: 0.0
      roundhi: 0.2
      brightest: 200
      peakmax: None
      npixels: 25
      connectivity: '8'
      nlevels: 32
      contrast: 0.001
      multithresh_mode: exponential
      localbkg_width: 0
      apermask_method: correct
      kron_params: None
      deblend: True
2026-09-09 18:43:54,501 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345-o012_nircam_f356w-clear_image3_asn.json' reftypes = ['abvegaoffset', 'apcorr']
2026-09-09 18:43:54,504 - CRDS - INFO -  Syncing 2 files
2026-09-09 18:43:54,505 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_abvegaoffset_0003.asdf    3.8 K bytes  (1 / 2 files) (0 / 116.1 K bytes)
2026-09-09 18:43:54,737 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0005.fits  112.3 K bytes  (2 / 2 files) (3.8 K / 116.1 K bytes)
2026-09-09 18:43:55,178 - stpipe.pipeline - INFO - Prefetch for ABVEGAOFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_abvegaoffset_0003.asdf'.
2026-09-09 18:43:55,179 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0005.fits'.
2026-09-09 18:43:55,180 - jwst.pipeline.calwebb_image3 - INFO - Starting calwebb_image3 ...
2026-09-09 18:43:55,815 - stpipe.step - INFO - Step tweakreg running with args (<jwst.datamodels.library.ModelLibrary object at 0x7ff65a69add0>,).
2026-09-09 18:43:58,473 - jwst.tweakreg.tweakreg_step - INFO - Detected 196 sources in jw01345012001_03101_00001_nrcalong_cal.fits.
2026-09-09 18:44:01,163 - jwst.tweakreg.tweakreg_step - INFO - Detected 200 sources in jw01345012001_03101_00001_nrcblong_cal.fits.
2026-09-09 18:44:03,838 - jwst.tweakreg.tweakreg_step - INFO - Detected 163 sources in jw01345012001_05101_00001_nrcalong_cal.fits.
2026-09-09 18:44:06,529 - jwst.tweakreg.tweakreg_step - INFO - Detected 191 sources in jw01345012001_05101_00001_nrcblong_cal.fits.
2026-09-09 18:44:09,218 - jwst.tweakreg.tweakreg_step - INFO - Detected 162 sources in jw01345012001_05101_00002_nrcalong_cal.fits.
2026-09-09 18:44:11,920 - jwst.tweakreg.tweakreg_step - INFO - Detected 195 sources in jw01345012001_05101_00002_nrcblong_cal.fits.
2026-09-09 18:44:14,611 - jwst.tweakreg.tweakreg_step - INFO - Detected 174 sources in jw01345012001_08101_00001_nrcalong_cal.fits.
2026-09-09 18:44:17,306 - jwst.tweakreg.tweakreg_step - INFO - Detected 200 sources in jw01345012001_08101_00001_nrcblong_cal.fits.
2026-09-09 18:44:20,005 - jwst.tweakreg.tweakreg_step - INFO - Detected 177 sources in jw01345012002_02101_00001_nrcalong_cal.fits.
2026-09-09 18:44:22,725 - jwst.tweakreg.tweakreg_step - INFO - Detected 191 sources in jw01345012002_02101_00001_nrcblong_cal.fits.
2026-09-09 18:44:25,422 - jwst.tweakreg.tweakreg_step - INFO - Detected 182 sources in jw01345012003_02101_00001_nrcalong_cal.fits.
2026-09-09 18:44:28,128 - jwst.tweakreg.tweakreg_step - INFO - Detected 200 sources in jw01345012003_02101_00001_nrcblong_cal.fits.
2026-09-09 18:44:28,154 - jwst.tweakreg.tweakreg_step - INFO - 
2026-09-09 18:44:28,154 - jwst.tweakreg.tweakreg_step - INFO - Number of image groups to be aligned: 6.
2026-09-09 18:44:28,155 - tweakwcs.imalign - INFO -  
2026-09-09 18:44:28,156 - tweakwcs.imalign - INFO - ***** tweakwcs.imalign.align_wcs() started on 2026-09-09 18:44:28.155805
2026-09-09 18:44:28,156 - tweakwcs.imalign - INFO -       Version 0.9.2
2026-09-09 18:44:28,157 - tweakwcs.imalign - INFO -  
2026-09-09 18:44:29,759 - tweakwcs.imalign - INFO - Selected image 'GROUP ID: jw01345012001_03101_1' as reference image
2026-09-09 18:44:29,765 - tweakwcs.imalign - INFO - Aligning image catalog 'GROUP ID: jw01345012001_05101_1' to the reference catalog.
2026-09-09 18:44:29,827 - tweakwcs.matchutils - INFO - Matching sources from 'jw01345012001_05101_00001_nrc' catalog with sources from the reference 'jw01345012001_03101_00001_nrc' catalog.
2026-09-09 18:44:29,828 - tweakwcs.matchutils - INFO - Computing initial guess for X and Y shifts...
2026-09-09 18:44:29,830 - tweakwcs.matchutils - INFO - Found initial X and Y shifts of -0.0424726, 0.00749802 (arcsec) with significance of 152.056 and 164 matches.
2026-09-09 18:44:29,831 - tweakwcs.wcsimage - INFO - Found 143 matches for 'GROUP ID: jw01345012001_05101_1'...
2026-09-09 18:44:29,832 - tweakwcs.linearfit - INFO - Performing 'shift' fit
2026-09-09 18:44:29,834 - tweakwcs.wcsimage - INFO - Computed 'shift' fit for 'GROUP ID: jw01345012001_05101_1':
2026-09-09 18:44:29,835 - tweakwcs.wcsimage - INFO - XSH: -0.00611563  YSH: -0.000979187
2026-09-09 18:44:29,836 - tweakwcs.wcsimage - INFO - 
2026-09-09 18:44:29,836 - tweakwcs.wcsimage - INFO - FIT RMSE: 0.093546   FIT MAE: 0.0307926
2026-09-09 18:44:29,837 - tweakwcs.wcsimage - INFO - Final solution based on 136 objects.
2026-09-09 18:44:29,919 - tweakwcs.imalign - INFO - Aligning image catalog 'GROUP ID: jw01345012001_05101_2' to the reference catalog.
2026-09-09 18:44:29,978 - tweakwcs.matchutils - INFO - Matching sources from 'jw01345012001_05101_00002_nrc' catalog with sources from the reference 'jw01345012001_03101_00001_nrc' catalog.
2026-09-09 18:44:29,979 - tweakwcs.matchutils - INFO - Computing initial guess for X and Y shifts...
2026-09-09 18:44:29,981 - tweakwcs.matchutils - INFO - Found initial X and Y shifts of 0.0126894, 0.0110659 (arcsec) with significance of 142.555 and 155 matches.
2026-09-09 18:44:29,982 - tweakwcs.wcsimage - INFO - Found 138 matches for 'GROUP ID: jw01345012001_05101_2'...
2026-09-09 18:44:29,983 - tweakwcs.linearfit - INFO - Performing 'shift' fit
2026-09-09 18:44:29,985 - tweakwcs.wcsimage - INFO - Computed 'shift' fit for 'GROUP ID: jw01345012001_05101_2':
2026-09-09 18:44:29,986 - tweakwcs.wcsimage - INFO - XSH: 0.00555816  YSH: 0.00440187
2026-09-09 18:44:29,986 - tweakwcs.wcsimage - INFO - 
2026-09-09 18:44:29,987 - tweakwcs.wcsimage - INFO - FIT RMSE: 0.0696861   FIT MAE: 0.0254493
2026-09-09 18:44:29,988 - tweakwcs.wcsimage - INFO - Final solution based on 131 objects.
2026-09-09 18:44:30,071 - tweakwcs.imalign - INFO - Aligning image catalog 'GROUP ID: jw01345012001_08101_1' to the reference catalog.
2026-09-09 18:44:30,130 - tweakwcs.matchutils - INFO - Matching sources from 'jw01345012001_08101_00001_nrc' catalog with sources from the reference 'jw01345012001_03101_00001_nrc' catalog.
2026-09-09 18:44:30,131 - tweakwcs.matchutils - INFO - Computing initial guess for X and Y shifts...
2026-09-09 18:44:30,133 - tweakwcs.matchutils - INFO - Found initial X and Y shifts of 0.012596, 0.0133449 (arcsec) with significance of 237.659 and 252 matches.
2026-09-09 18:44:30,134 - tweakwcs.wcsimage - INFO - Found 215 matches for 'GROUP ID: jw01345012001_08101_1'...
2026-09-09 18:44:30,135 - tweakwcs.linearfit - INFO - Performing 'shift' fit
2026-09-09 18:44:30,138 - tweakwcs.wcsimage - INFO - Computed 'shift' fit for 'GROUP ID: jw01345012001_08101_1':
2026-09-09 18:44:30,138 - tweakwcs.wcsimage - INFO - XSH: 0.0013993  YSH: 0.00465219
2026-09-09 18:44:30,139 - tweakwcs.wcsimage - INFO - 
2026-09-09 18:44:30,140 - tweakwcs.wcsimage - INFO - FIT RMSE: 0.0814968   FIT MAE: 0.023942
2026-09-09 18:44:30,140 - tweakwcs.wcsimage - INFO - Final solution based on 208 objects.
2026-09-09 18:44:30,483 - tweakwcs.imalign - INFO - Aligning image catalog 'GROUP ID: jw01345012002_02101_1' to the reference catalog.
2026-09-09 18:44:30,542 - tweakwcs.matchutils - INFO - Matching sources from 'jw01345012002_02101_00001_nrc' catalog with sources from the reference 'jw01345012001_03101_00001_nrc' catalog.
2026-09-09 18:44:30,543 - tweakwcs.matchutils - INFO - Computing initial guess for X and Y shifts...
2026-09-09 18:44:30,545 - tweakwcs.matchutils - INFO - Found initial X and Y shifts of 0.0113411, -0.022937 (arcsec) with significance of 137.713 and 158 matches.
2026-09-09 18:44:30,546 - tweakwcs.wcsimage - INFO - Found 142 matches for 'GROUP ID: jw01345012002_02101_1'...
2026-09-09 18:44:30,547 - tweakwcs.linearfit - INFO - Performing 'shift' fit
2026-09-09 18:44:30,549 - tweakwcs.wcsimage - INFO - Computed 'shift' fit for 'GROUP ID: jw01345012002_02101_1':
2026-09-09 18:44:30,550 - tweakwcs.wcsimage - INFO - XSH: 0.00236507  YSH: -0.0165233
2026-09-09 18:44:30,551 - tweakwcs.wcsimage - INFO - 
2026-09-09 18:44:30,551 - tweakwcs.wcsimage - INFO - FIT RMSE: 0.0775227   FIT MAE: 0.026401
2026-09-09 18:44:30,552 - tweakwcs.wcsimage - INFO - Final solution based on 135 objects.
2026-09-09 18:44:30,636 - tweakwcs.imalign - INFO - Aligning image catalog 'GROUP ID: jw01345012003_02101_1' to the reference catalog.
2026-09-09 18:44:30,695 - tweakwcs.matchutils - INFO - Matching sources from 'jw01345012003_02101_00001_nrc' catalog with sources from the reference 'jw01345012001_03101_00001_nrc' catalog.
2026-09-09 18:44:30,696 - tweakwcs.matchutils - INFO - Computing initial guess for X and Y shifts...
2026-09-09 18:44:30,698 - tweakwcs.matchutils - INFO - Found initial X and Y shifts of 0.0157164, 0.010474 (arcsec) with significance of 115.508 and 144 matches.
2026-09-09 18:44:30,699 - tweakwcs.wcsimage - INFO - Found 132 matches for 'GROUP ID: jw01345012003_02101_1'...
2026-09-09 18:44:30,700 - tweakwcs.linearfit - INFO - Performing 'shift' fit
2026-09-09 18:44:30,702 - tweakwcs.wcsimage - INFO - Computed 'shift' fit for 'GROUP ID: jw01345012003_02101_1':
2026-09-09 18:44:30,703 - tweakwcs.wcsimage - INFO - XSH: -0.0169715  YSH: 0.0149235
2026-09-09 18:44:30,703 - tweakwcs.wcsimage - INFO - 
2026-09-09 18:44:30,704 - tweakwcs.wcsimage - INFO - FIT RMSE: 0.0714152   FIT MAE: 0.0242254
2026-09-09 18:44:30,705 - tweakwcs.wcsimage - INFO - Final solution based on 126 objects.
2026-09-09 18:44:30,792 - tweakwcs.imalign - INFO -  
2026-09-09 18:44:30,793 - tweakwcs.imalign - INFO - ***** tweakwcs.imalign.align_wcs() ended on 2026-09-09 18:44:30.792468
2026-09-09 18:44:30,793 - tweakwcs.imalign - INFO - ***** tweakwcs.imalign.align_wcs() TOTAL RUN TIME: 0:00:02.636663
2026-09-09 18:44:30,794 - tweakwcs.imalign - INFO -  
2026-09-09 18:44:30,917 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  215.007351203 52.911466052 214.961795566 52.934545030 214.923419129 52.907746803 214.968376528 52.883862948
2026-09-09 18:44:31,009 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.954192728 52.874819192 214.908286494 52.898122119 214.870055316 52.871196097 214.914674966 52.847427287
2026-09-09 18:44:31,102 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  215.014581184 52.916513935 214.969024142 52.939595717 214.930638694 52.912799850 214.975597298 52.888913230
2026-09-09 18:44:31,195 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.961410318 52.879870348 214.915502668 52.903176096 214.877262492 52.876252421 214.921883335 52.852480871
2026-09-09 18:44:31,288 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  215.010911742 52.914711645 214.965354559 52.937791965 214.926973075 52.910994867 214.971931913 52.887109689
2026-09-09 18:44:31,383 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.957746320 52.878066351 214.911838528 52.901370627 214.873602315 52.874445727 214.918223391 52.850675607
2026-09-09 18:44:31,477 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  215.015499892 52.912479830 214.969947103 52.935561616 214.931565219 52.908765757 214.976519627 52.884879130
2026-09-09 18:44:31,570 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.962333962 52.875836249 214.916430597 52.899142005 214.878193961 52.872218340 214.922810641 52.848446780
2026-09-09 18:44:31,663 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.999101688 52.921019583 214.953531623 52.944095422 214.915151811 52.917294548 214.960123647 52.893413795
2026-09-09 18:44:31,755 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS  214.945938434 52.884369061 214.900017668 52.907668818 214.861783188 52.880740152 214.906417165 52.856974428
2026-09-09 18:44:31,839 - stpipe.step - INFO - Step tweakreg done
2026-09-09 18:44:32,115 - stpipe.step - INFO - Step skymatch running with args (<jwst.datamodels.library.ModelLibrary object at 0x7ff65a69add0>,).
2026-09-09 18:44:32,555 - stcal.skymatch.skymatch - INFO -  
2026-09-09 18:44:32,556 - stcal.skymatch.skymatch - INFO - ***** stcal.skymatch.skymatch.skymatch() started on 2026-09-09 18:44:32.555873
2026-09-09 18:44:32,557 - stcal.skymatch.skymatch - INFO -  
2026-09-09 18:44:32,557 - stcal.skymatch.skymatch - INFO - Sky computation method: 'match'
2026-09-09 18:44:32,558 - stcal.skymatch.skymatch - INFO - Sky matching direction: DOWN
2026-09-09 18:44:32,558 - stcal.skymatch.skymatch - INFO - Sky subtraction from image data: OFF
2026-09-09 18:44:32,559 - stcal.skymatch.skymatch - INFO -  
2026-09-09 18:44:32,559 - stcal.skymatch.skymatch - INFO - ----  Computing differences in sky values in overlapping regions.
2026-09-09 18:44:41,207 - stcal.skymatch.skymatch - INFO -    *  Group ID=0. Sky background of component images:
2026-09-09 18:44:41,208 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012001_03101_00001_nrcalong_cal.fits. Sky background: 0.00155919
2026-09-09 18:44:41,209 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012001_03101_00001_nrcblong_cal.fits. Sky background: 0.00155919
2026-09-09 18:44:41,209 - stcal.skymatch.skymatch - INFO -    *  Group ID=1. Sky background of component images:
2026-09-09 18:44:41,210 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012001_05101_00001_nrcalong_cal.fits. Sky background: 0.00342078
2026-09-09 18:44:41,211 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012001_05101_00001_nrcblong_cal.fits. Sky background: 0.00342078
2026-09-09 18:44:41,211 - stcal.skymatch.skymatch - INFO -    *  Group ID=2. Sky background of component images:
2026-09-09 18:44:41,212 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012001_05101_00002_nrcalong_cal.fits. Sky background: 0.00166349
2026-09-09 18:44:41,212 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012001_05101_00002_nrcblong_cal.fits. Sky background: 0.00166349
2026-09-09 18:44:41,213 - stcal.skymatch.skymatch - INFO -    *  Group ID=3. Sky background of component images:
2026-09-09 18:44:41,213 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012001_08101_00001_nrcalong_cal.fits. Sky background: 0
2026-09-09 18:44:41,214 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012001_08101_00001_nrcblong_cal.fits. Sky background: 0
2026-09-09 18:44:41,214 - stcal.skymatch.skymatch - INFO -    *  Group ID=4. Sky background of component images:
2026-09-09 18:44:41,215 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012002_02101_00001_nrcalong_cal.fits. Sky background: 0.00185014
2026-09-09 18:44:41,215 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012002_02101_00001_nrcblong_cal.fits. Sky background: 0.00185014
2026-09-09 18:44:41,216 - stcal.skymatch.skymatch - INFO -    *  Group ID=5. Sky background of component images:
2026-09-09 18:44:41,216 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012003_02101_00001_nrcalong_cal.fits. Sky background: 0.00301257
2026-09-09 18:44:41,217 - stcal.skymatch.skymatch - INFO -       - Image ID=jw01345012003_02101_00001_nrcblong_cal.fits. Sky background: 0.00301257
2026-09-09 18:44:41,217 - stcal.skymatch.skymatch - INFO -  
2026-09-09 18:44:41,218 - stcal.skymatch.skymatch - INFO - ***** stcal.skymatch.skymatch.skymatch() ended on 2026-09-09 18:44:41.217954
2026-09-09 18:44:41,219 - stcal.skymatch.skymatch - INFO - ***** stcal.skymatch.skymatch.skymatch() TOTAL RUN TIME: 0:00:08.662081
2026-09-09 18:44:41,219 - stcal.skymatch.skymatch - INFO -  
2026-09-09 18:44:41,270 - stpipe.step - INFO - Step skymatch done
2026-09-09 18:44:41,522 - stpipe.step - INFO - Step outlier_detection running with args (<jwst.datamodels.library.ModelLibrary object at 0x7ff65a69add0>,).
2026-09-09 18:44:41,523 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection mode: imaging
2026-09-09 18:44:41,524 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection asn_id: a3001
2026-09-09 18:44:41,568 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:44:41,569 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.06290911086320311 arcsec.
2026-09-09 18:44:41,591 - stcal.resample.resample - INFO - Output pixel scale: 0.06290911086320311 arcsec.
2026-09-09 18:44:41,592 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:44:41,592 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:44:41,593 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:44:41,593 - stcal.resample.resample - INFO - Driz parameter weight_type: ivm
2026-09-09 18:44:41,600 - jwst.resample.resample - INFO - 2 exposures to drizzle together
2026-09-09 18:44:43,481 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:44:45,941 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:44:46,592 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.966248846 52.937659883 214.953531623 52.944095422 214.915151811 52.917294548 214.926994708 52.911009983 214.926973075 52.910994867 214.926972911 52.910993742 214.927593798 52.910664178 214.923419129 52.907746803 214.968376528 52.883862948 214.972686335 52.886917648 214.976519627 52.884879130 215.015499892 52.912479830 215.011643330 52.914435595 215.014581184 52.916513935 214.969024142 52.939595717  POLYGON ICRS  214.912727931 52.901224031 214.900018899 52.907668194 214.899263356 52.907137996 214.861783188 52.880740152 214.873606679 52.874448802 214.873602315 52.874445727 214.873601947 52.874444711 214.874207288 52.874122523 214.870055316 52.871196097 214.913674664 52.847960615 214.914686437 52.847435245 214.919041746 52.850456484 214.922810641 52.848446780 214.962333962 52.875836249 214.958440955 52.877814441 214.961410318 52.879870348 214.915502668 52.903176096
2026-09-09 18:44:47,276 - jwst.resample.resample - INFO - 2 exposures to drizzle together
2026-09-09 18:44:49,631 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:44:52,702 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:44:53,341 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.966248846 52.937659883 214.953531623 52.944095422 214.915151811 52.917294548 214.926994708 52.911009983 214.926973075 52.910994867 214.926972911 52.910993742 214.927593798 52.910664178 214.923419129 52.907746803 214.968376528 52.883862948 214.972686335 52.886917648 214.976519627 52.884879130 215.015499892 52.912479830 215.011643330 52.914435595 215.014581184 52.916513935 214.969024142 52.939595717  POLYGON ICRS  214.912727931 52.901224031 214.900018899 52.907668194 214.899263356 52.907137996 214.861783188 52.880740152 214.873606679 52.874448802 214.873602315 52.874445727 214.873601947 52.874444711 214.874207288 52.874122523 214.870055316 52.871196097 214.913674664 52.847960615 214.914686437 52.847435245 214.919041746 52.850456484 214.922810641 52.848446780 214.962333962 52.875836249 214.958440955 52.877814441 214.961410318 52.879870348 214.915502668 52.903176096
2026-09-09 18:44:53,944 - jwst.resample.resample - INFO - 2 exposures to drizzle together
2026-09-09 18:44:56,313 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:44:59,354 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:44:59,993 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.966248846 52.937659883 214.953531623 52.944095422 214.915151811 52.917294548 214.926994708 52.911009983 214.926973075 52.910994867 214.926972911 52.910993742 214.927593798 52.910664178 214.923419129 52.907746803 214.968376528 52.883862948 214.972686335 52.886917648 214.976519627 52.884879130 215.015499892 52.912479830 215.011643330 52.914435595 215.014581184 52.916513935 214.969024142 52.939595717  POLYGON ICRS  214.912727931 52.901224031 214.900018899 52.907668194 214.899263356 52.907137996 214.861783188 52.880740152 214.873606679 52.874448802 214.873602315 52.874445727 214.873601947 52.874444711 214.874207288 52.874122523 214.870055316 52.871196097 214.913674664 52.847960615 214.914686437 52.847435245 214.919041746 52.850456484 214.922810641 52.848446780 214.962333962 52.875836249 214.958440955 52.877814441 214.961410318 52.879870348 214.915502668 52.903176096
2026-09-09 18:45:00,708 - jwst.resample.resample - INFO - 2 exposures to drizzle together
2026-09-09 18:45:03,088 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:45:06,120 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:45:06,757 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.966248846 52.937659883 214.953531623 52.944095422 214.915151811 52.917294548 214.926994708 52.911009983 214.926973075 52.910994867 214.926972911 52.910993742 214.927593798 52.910664178 214.923419129 52.907746803 214.968376528 52.883862948 214.972686335 52.886917648 214.976519627 52.884879130 215.015499892 52.912479830 215.011643330 52.914435595 215.014581184 52.916513935 214.969024142 52.939595717  POLYGON ICRS  214.912727931 52.901224031 214.900018899 52.907668194 214.899263356 52.907137996 214.861783188 52.880740152 214.873606679 52.874448802 214.873602315 52.874445727 214.873601947 52.874444711 214.874207288 52.874122523 214.870055316 52.871196097 214.913674664 52.847960615 214.914686437 52.847435245 214.919041746 52.850456484 214.922810641 52.848446780 214.962333962 52.875836249 214.958440955 52.877814441 214.961410318 52.879870348 214.915502668 52.903176096
2026-09-09 18:45:07,402 - jwst.resample.resample - INFO - 2 exposures to drizzle together
2026-09-09 18:45:09,785 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:45:12,810 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:45:13,451 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.966248846 52.937659883 214.953531623 52.944095422 214.915151811 52.917294548 214.926994708 52.911009983 214.926973075 52.910994867 214.926972911 52.910993742 214.927593798 52.910664178 214.923419129 52.907746803 214.968376528 52.883862948 214.972686335 52.886917648 214.976519627 52.884879130 215.015499892 52.912479830 215.011643330 52.914435595 215.014581184 52.916513935 214.969024142 52.939595717  POLYGON ICRS  214.912727931 52.901224031 214.900018899 52.907668194 214.899263356 52.907137996 214.861783188 52.880740152 214.873606679 52.874448802 214.873602315 52.874445727 214.873601947 52.874444711 214.874207288 52.874122523 214.870055316 52.871196097 214.913674664 52.847960615 214.914686437 52.847435245 214.919041746 52.850456484 214.922810641 52.848446780 214.962333962 52.875836249 214.958440955 52.877814441 214.961410318 52.879870348 214.915502668 52.903176096
2026-09-09 18:45:14,098 - jwst.resample.resample - INFO - 2 exposures to drizzle together
2026-09-09 18:45:16,505 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:45:19,527 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:45:20,166 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.966248846 52.937659883 214.953531623 52.944095422 214.915151811 52.917294548 214.926994708 52.911009983 214.926973075 52.910994867 214.926972911 52.910993742 214.927593798 52.910664178 214.923419129 52.907746803 214.968376528 52.883862948 214.972686335 52.886917648 214.976519627 52.884879130 215.015499892 52.912479830 215.011643330 52.914435595 215.014581184 52.916513935 214.969024142 52.939595717  POLYGON ICRS  214.912727931 52.901224031 214.900018899 52.907668194 214.899263356 52.907137996 214.861783188 52.880740152 214.873606679 52.874448802 214.873602315 52.874445727 214.873601947 52.874444711 214.874207288 52.874122523 214.870055316 52.871196097 214.913674664 52.847960615 214.914686437 52.847435245 214.919041746 52.850456484 214.922810641 52.848446780 214.962333962 52.875836249 214.958440955 52.877814441 214.961410318 52.879870348 214.915502668 52.903176096
2026-09-09 18:45:27,904 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:28,141 - jwst.outlier_detection.utils - INFO - 1139 pixels marked as outliers
2026-09-09 18:45:29,988 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:30,223 - jwst.outlier_detection.utils - INFO - 845 pixels marked as outliers
2026-09-09 18:45:32,610 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:32,845 - jwst.outlier_detection.utils - INFO - 912 pixels marked as outliers
2026-09-09 18:45:35,245 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:35,479 - jwst.outlier_detection.utils - INFO - 928 pixels marked as outliers
2026-09-09 18:45:37,855 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:38,091 - jwst.outlier_detection.utils - INFO - 1129 pixels marked as outliers
2026-09-09 18:45:40,511 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:40,745 - jwst.outlier_detection.utils - INFO - 986 pixels marked as outliers
2026-09-09 18:45:43,129 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:43,360 - jwst.outlier_detection.utils - INFO - 1024 pixels marked as outliers
2026-09-09 18:45:45,765 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:45,998 - jwst.outlier_detection.utils - INFO - 914 pixels marked as outliers
2026-09-09 18:45:48,388 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:48,624 - jwst.outlier_detection.utils - INFO - 916 pixels marked as outliers
2026-09-09 18:45:51,086 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:51,326 - jwst.outlier_detection.utils - INFO - 815 pixels marked as outliers
2026-09-09 18:45:53,732 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:53,969 - jwst.outlier_detection.utils - INFO - 856 pixels marked as outliers
2026-09-09 18:45:56,389 - stcal.outlier_detection.utils - INFO - Blotting (2048, 2048) <-- (2853, 5247)
2026-09-09 18:45:56,643 - jwst.outlier_detection.utils - INFO - 645 pixels marked as outliers
2026-09-09 18:45:56,864 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012001_03101_00001_nrcalong_a3001_crf.fits
2026-09-09 18:45:57,004 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012001_03101_00001_nrcblong_a3001_crf.fits
2026-09-09 18:45:57,157 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012001_05101_00001_nrcalong_a3001_crf.fits
2026-09-09 18:45:57,311 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012001_05101_00001_nrcblong_a3001_crf.fits
2026-09-09 18:45:57,472 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012001_05101_00002_nrcalong_a3001_crf.fits
2026-09-09 18:45:57,625 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012001_05101_00002_nrcblong_a3001_crf.fits
2026-09-09 18:45:57,780 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012001_08101_00001_nrcalong_a3001_crf.fits
2026-09-09 18:45:57,937 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012001_08101_00001_nrcblong_a3001_crf.fits
2026-09-09 18:45:58,091 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012002_02101_00001_nrcalong_a3001_crf.fits
2026-09-09 18:45:58,245 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012002_02101_00001_nrcblong_a3001_crf.fits
2026-09-09 18:45:58,398 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012003_02101_00001_nrcalong_a3001_crf.fits
2026-09-09 18:45:58,552 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345012003_02101_00001_nrcblong_a3001_crf.fits
2026-09-09 18:45:58,553 - stpipe.step - INFO - Step outlier_detection done
2026-09-09 18:45:58,793 - stpipe.step - INFO - Step resample running with args (<jwst.datamodels.library.ModelLibrary object at 0x7ff65a69add0>,).
2026-09-09 18:45:59,148 - jwst.resample.resample_utils - INFO - Pixel scale ratio (pscale_out/pscale_in): 1.0
2026-09-09 18:45:59,149 - jwst.resample.resample_utils - INFO - Computed output pixel scale: 0.06290911086320311 arcsec.
2026-09-09 18:45:59,171 - stcal.resample.resample - INFO - Output pixel scale: 0.06290911086320311 arcsec.
2026-09-09 18:45:59,172 - stcal.resample.resample - INFO - Driz parameter kernel: square
2026-09-09 18:45:59,173 - stcal.resample.resample - INFO - Driz parameter pixfrac: 1.0
2026-09-09 18:45:59,173 - stcal.resample.resample - INFO - Driz parameter fillval: NAN
2026-09-09 18:45:59,174 - stcal.resample.resample - INFO - Driz parameter weight_type: exptime
2026-09-09 18:45:59,204 - jwst.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:01,104 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:01,718 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:02,290 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:02,863 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:05,705 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:06,311 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:06,890 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:07,467 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:10,732 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:11,336 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:11,911 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:12,486 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:15,776 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:16,381 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:16,958 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:17,533 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:20,789 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:21,397 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:21,973 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:22,546 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:25,816 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:26,428 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:27,005 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:27,579 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:30,834 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:31,442 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:32,020 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:32,592 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:35,842 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:36,445 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:37,029 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:37,603 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:40,873 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:41,473 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:42,057 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:42,629 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:45,872 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:46,477 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:47,059 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:47,639 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:50,889 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:51,487 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:52,061 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:52,642 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:55,927 - stcal.resample.resample - INFO - Resampling science and variance data
2026-09-09 18:46:56,526 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:57,104 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:57,684 - stcal.resample.resample - INFO - Drizzling (2048, 2048) --> (2853, 5247)
2026-09-09 18:46:59,074 - jwst.resample.resample - INFO - Assigning output S_REGION: POLYGON ICRS  214.966248846 52.937659883 214.953531623 52.944095422 214.915151811 52.917294548 214.926994708 52.911009983 214.926973075 52.910994867 214.926972911 52.910993742 214.927593798 52.910664178 214.923419129 52.907746803 214.968376528 52.883862948 214.972686335 52.886917648 214.976519627 52.884879130 215.015499892 52.912479830 215.011643330 52.914435595 215.014581184 52.916513935 214.969024142 52.939595717  POLYGON ICRS  214.912727931 52.901224031 214.900018899 52.907668194 214.899263356 52.907137996 214.861783188 52.880740152 214.873606679 52.874448802 214.873602315 52.874445727 214.873601947 52.874444711 214.874207288 52.874122523 214.870055316 52.871196097 214.913674664 52.847960615 214.914686437 52.847435245 214.919041746 52.850456484 214.922810641 52.848446780 214.962333962 52.875836249 214.958440955 52.877814441 214.961410318 52.879870348 214.915502668 52.903176096
2026-09-09 18:46:59,460 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:46:59,461 - stpipe.step - INFO - Step resample done
2026-09-09 18:46:59,720 - stpipe.step - INFO - Step source_catalog running with args (<ImageModel(2853, 5247) from jw01345-o012_nircam_f356w-clear_i2d.fits>,).
2026-09-09 18:46:59,848 - jwst.source_catalog.source_catalog_step - INFO - Using APCORR reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0005.fits
2026-09-09 18:46:59,853 - jwst.source_catalog.source_catalog_step - INFO - Using ABVEGAOFFSET reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_abvegaoffset_0003.asdf
2026-09-09 18:46:59,854 - jwst.source_catalog.reference_data - INFO - Instrument: NIRCAM
2026-09-09 18:46:59,854 - jwst.source_catalog.reference_data - INFO - Detector: MULTIPLE
2026-09-09 18:46:59,855 - jwst.source_catalog.reference_data - INFO - Filter: F356W
2026-09-09 18:46:59,855 - jwst.source_catalog.reference_data - INFO - Pupil: CLEAR
2026-09-09 18:46:59,856 - jwst.source_catalog.reference_data - INFO - Subarray: FULL
2026-09-09 18:46:59,902 - jwst.source_catalog.reference_data - INFO - AB to Vega magnitude offset 2.81165
2026-09-09 18:47:11,414 - jwst.source_catalog.source_catalog_step - INFO - Wrote source catalog: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:47:11,587 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:47:11,588 - jwst.source_catalog.source_catalog_step - INFO - Wrote segmentation map: jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:47:11,590 - stpipe.step - INFO - Step source_catalog done
2026-09-09 18:47:11,595 - stpipe.step - INFO - Step Image3Pipeline done
2026-09-09 18:47:11,595 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
# Print out the time benchmark
time_image3_end = time.perf_counter()
print(f"Runtime for Image3: {(time_image3_end - time_image3)/60:0.0f} minutes")
Runtime for Image3: 3 minutes

8. Visualize Image3 Output Products#


Using the combined image (*_i2d.fits ), the segmentation map files (*_segm.fits), and the source catalog (*cat.ecsv) produced by the Image3 stage of the pipeline, we can visually inspect the final direct image and the quality of the detected sources. Accurate source locations in the catalog are vital to achieving high quality spectral extraction in the Spec2 stage of the pipeline.

# Find the outputs of the Image3 pipeline, which will be needed for processing the spectral data
# Print which outputs were found for reference

# Combined (mosaic) image
image3_i2d = np.sort(glob.glob(os.path.join(image3_dir, '*i2d.fits')))
print('Direct images:')
for i2d_filename in image3_i2d:
    print(f"  {os.path.basename(i2d_filename)}")

# Segmentation map that defines the extent of sources
image3_segm = np.sort(glob.glob(os.path.join(image3_dir, '*segm.fits')))
print('Segmentation maps:')
for seg_filename in image3_segm:
    print(f"  {os.path.basename(seg_filename)}")
    
# Source catalog that defines the RA/Dec of sources
image3_cat = np.sort(glob.glob(os.path.join(image3_dir, '*cat.ecsv')))
print('Source catalogs:')
for cat_filename in image3_cat:
    print(f"  {os.path.basename(cat_filename)}")
Direct images:
  jw01345-o012_nircam_f356w-clear_i2d.fits
Segmentation maps:
  jw01345-o012_nircam_f356w-clear_segm.fits
Source catalogs:
  jw01345-o012_nircam_f356w-clear_cat.ecsv

i2d & segementation mapping#

The segmentation maps are used to help construct the source catalog. Let’s take a look at those to ensure we agree with what is being defined as a source. In the following figures, the combined image is shown on the left and the the segmentation map is shown on the right, where each black blob in the segmentation map should correspond to a physical target. The sources identified in the source catalog are overlayed on top of both of these, where what has been defined as an extended source by the pipeline is shown as a blue circle, and what has been defined as a point source by the pipeline is shown as a pink square. This definition affects the extraction box in the WFSS images as well as in the contamination correction step of the pipeline, so it is important to get correct.

It’s important to check the source catalog details for your sources of interest. In some cases where multiple sources are close together on the sky, it is possible for the sources to be blended into a single catalog object. More often, the pipeline can incorrectly categorize an object as a point or extended source. If using the demo data, you can see in the figure below that many of the source in the pink squares, indicating that the pipeine determined them to be point sources, are in fact extended. If your targets of interest suffer from blending or incorrect categorization in the source catalog, then the source catalog step should be re-run with modified parameters.

In the case of extended sources that are incorrectly identified as point sources, the subsequent spectral extraction may be poor because the extraction box will not be large enough to contain the entire source. Tweaks to the source_catalog parameters may help correct these problems.

if doviz:            
    cols = 2
    rows = len(image3_i2d)
    
    fig = plt.figure(figsize=(15, 15*(rows/2)))
    
    for plt_num, img in enumerate(np.sort(np.concatenate([image3_segm, image3_i2d]))):
    
        # Determine where the subplot should be
        xpos = (plt_num % 40) % cols
        ypos = ((plt_num % 40) // cols)
    
        # Make the subplot
        ax = plt.subplot2grid((rows, cols), (ypos, xpos))
    
        if 'i2d' in img:
            cat = Table.read(img.replace('i2d.fits', 'cat.ecsv'))
            cmap = 'gist_gray_r'
        else:
            cmap = 'gist_gray_r'
            
        # Plot the image
        with fits.open(img) as hdu:
            display_vals = [np.nanpercentile(hdu[1].data, 1), np.nanpercentile(hdu[1].data, 99)]
            ax.imshow(hdu[1].data, vmin=display_vals[0], vmax=display_vals[1], origin='lower', cmap=cmap)
            title = f"{hdu[0].header['FILTER']}"
    
        # Also plot the associated catalog
        extended_sources = cat[cat['is_extended'] == 1] # 1 is True; i.e. is extended
        point_sources = cat[cat['is_extended'] == 0] # 0 is False; i.e. is a point source

        for color, sources, source_type, marker in zip(['deepskyblue', 'deeppink'],
                                                       [extended_sources, point_sources],
                                                       ['Extended Source', 'Point Source'], 
                                                       ['o', 's']):
            # Plot the sources
            ax.scatter(sources['xcentroid'], sources['ycentroid'], marker=marker, s=150,
                       facecolors='None', edgecolors=color, alpha=0.9)
    
            # Add source labels 
            for i, source_num in enumerate(sources['label']):
                ax.annotate(source_num, 
                            (sources['xcentroid'][i]+1, sources['ycentroid'][i]+1), 
                            fontsize=10,
                            color=color)
            ax.scatter(-999, -999, marker=marker, label=source_type, s=150, facecolors='None', edgecolors=color, alpha=0.9)

        # Set titles
        if 'i2d' in img:
            ax.set_title(f"{title} combined image\n(i2d)", fontsize=16)
        else:
            ax.set_title(f"{title} segmentation map\n(segm)", fontsize=16)
        
        # Zoom in on a smaller region 
        # (default to a region centered on one of the 5 sources to be examined later).
        ax.set_xlim(3750, 4250)
        ax.set_ylim(1050, 1550)

        ax.legend(framealpha=0.6, fontsize=14, loc='upper left')

    # More labels 
    fig.supxlabel('x-pixel', fontsize=14)
    fig.supylabel('y-pixel', fontsize=14, x=0)
    
    # Helps to make the axes not overlap ; you can also set this manually if this doesn't work
    plt.tight_layout()
../../../_images/0c1f1fefdfb83671cd660dbe65024f58616cb7f9b3dfab2edec2b4b9bc3fa70d.png

In addition to the segmentation mapping, the source catalog itself can be useful to look at to examine the source centroids, calculated fluxes, and source extents

# Print a source catalogs to illustrate the contents
cat = Table.read(image3_cat[0])
cat
Table length=2509
labelxcentroidycentroidsky_centroidaper_bkg_fluxaper_bkg_flux_erraper30_fluxaper30_flux_erraper50_fluxaper50_flux_erraper70_fluxaper70_flux_erraper_total_fluxaper_total_flux_erraper30_abmagaper30_abmag_erraper50_abmagaper50_abmag_erraper70_abmagaper70_abmag_erraper_total_abmagaper_total_abmag_erraper30_vegamagaper30_vegamag_erraper50_vegamagaper50_vegamag_erraper70_vegamagaper70_vegamag_erraper_total_vegamagaper_total_vegamag_errCI_50_30CI_70_50CI_70_30is_extendedsharpnessroundnessnn_labelnn_distisophotal_fluxisophotal_flux_errisophotal_abmagisophotal_abmag_errisophotal_vegamagisophotal_vegamag_errisophotal_areasemimajor_sigmasemiminor_sigmaellipticityorientationsky_orientationsky_bbox_llsky_bbox_ulsky_bbox_lrsky_bbox_ur
deg,degJyJyJyJyJyJyJyJyJyJypixJyJypix2pixpixdegdegdeg,degdeg,degdeg,degdeg,deg
int32float64float64SkyCoordfloat64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64float64boolfloat64float32int32float64float64float32float64float64float64float64float64float64float64float64float64float64SkyCoordSkyCoordSkyCoordSkyCoord
12127.03637.0516214.97829252908184,52.886309975205099.468677e-095.513373e-117.986457e-092.016558e-091.744857e-082.937605e-094.129364e-084.851863e-095.923711e-086.960160e-0929.1441150.24444228.2956000.16894027.3602920.12061626.9685150.12061626.3324670.24444225.4839520.16894024.5486440.12061624.1568670.1206162.18482.36665.1705True1.185400nan986.5867619.100075e-087.152106e-0926.5023880.08214523.6907400.08214553.02.4843511.5338700.382587335.06042515.768023214.97847509895095,52.88634277354648214.9782776127408,52.886445413583274214.97826719521998,52.8861971302662214.97806970918074,52.88629976995806
21133.47707.9517214.9970570751602,52.8994737957611049.331027e-095.008368e-117.716866e-092.421138e-09nannannannannannan29.1813980.296279nannannannannannan26.3697500.296279nannannannannannannannannanFalsenannan733.9884174.552835e-085.888066e-0927.2542950.13205024.4426470.13205026.02.2110640.9600290.5658074.68800345.395602214.99718305688006,52.89952311642659214.99707333370793,52.89958015594998214.99699393883242,52.89939074318509214.99688421574626,52.89944778253423
3970.273716.0662214.99996562535483,52.901726703893569.838661e-095.575137e-114.631052e-082.615186e-099.099215e-083.766674e-091.919381e-076.054858e-092.753416e-078.685898e-0927.2358010.05964426.5024900.04403925.6920970.03372125.3003200.03372124.4241530.05964423.6908420.04403922.8804490.03372122.4886730.0337211.96482.10944.1446False0.472185-1.2770763662.4076705.653223e-071.371529e-0824.5192600.02602721.7076120.026027163.04.1332012.1076240.490075298.064283338.771882215.000300640288,52.90173187679738214.99986173992764,52.9019600457745214.9999601941547,52.90149361366938214.99952129441294,52.90172178139185
41641.471811.8837214.98736518527082,52.8927937618860549.431640e-094.509420e-114.271511e-092.567155e-099.076012e-093.736998e-092.959909e-086.104017e-094.246089e-088.756417e-0929.8235460.51097529.0052620.37439027.7218040.20356927.3300270.20356927.0118980.51097526.1936140.37439024.9101560.20356924.5183790.2035692.12483.26126.9294True0.486431-0.341649829.2074581.166735e-079.664208e-0926.2325690.08640223.4209210.08640270.03.4464391.8562910.461389339.00636719.713966214.98757428304415,52.89282282051343214.98733290115536,52.8929482878524214.98730960008817,52.89263747650988214.98706821846466,52.892762943312235
51349.610029.7138214.99249232651192,52.896860943594221.047455e-087.551142e-118.403071e-078.162537e-091.384237e-061.054457e-082.275401e-061.379778e-083.264139e-061.979338e-0824.0889050.01049623.5469740.00823923.0073550.00656422.6155790.00656421.2772570.01049620.7353260.00823920.1957070.00656419.8039310.0065641.64731.64382.7078False0.6448660.0954204068.0882513.886270e-062.462784e-0822.4261680.00685919.6145200.006859347.03.1384622.5595180.184467301.232533341.940132214.99307408494528,52.89686094848363214.9924157495373,52.89720316139296214.992563534094,52.896503522405744214.9919052000801,52.89684573249237
61432.785222.8881214.99106936784924,52.895681995933969.967631e-096.254487e-112.112785e-082.323581e-094.395567e-083.383886e-091.157523e-075.659390e-091.660506e-078.118585e-0928.0878620.11328527.2924630.08052326.2411750.05182725.8493990.05182725.2762140.11328524.4808150.08052323.4295280.05182723.0377510.0518272.08052.63345.4787True1.1700630.4772342046.7386616.766814e-071.684932e-0824.3240390.02670421.5123920.026704252.05.8262843.0013680.484857358.72992239.437521214.99158027469167,52.89581514008242214.99114138829495,52.89604327692007214.99101302385506,52.89541799273782214.99057413849127,52.89564612748463
71153.185235.6429214.99607668479445,52.8995288046852041.020818e-088.329489e-111.839557e-074.218968e-093.630139e-075.965317e-098.681107e-079.449074e-091.245334e-061.355501e-0825.7382170.02462025.0001920.01769724.0535620.01175423.6617850.01175422.9265690.02462022.1885440.01769721.2419140.01175420.8501380.0117541.97342.39144.7191False0.404236-0.220157233.9884173.088845e-062.198169e-0822.6755100.00769919.8638620.007699288.03.5592183.0504960.14293146.29084286.998440214.9965043759337,52.89952989732206214.99599964275635,52.899792275417994214.99612614507703,52.89926514838174214.99562141269075,52.899527524874564
81640.835741.0842214.9867364366622,52.893135246106431.055677e-086.938160e-114.947294e-076.443625e-099.290230e-078.874016e-091.698544e-061.230998e-082.436618e-061.765908e-0824.6640810.01405023.9799340.01032223.3248080.00784022.9330310.00784021.8524330.01405021.1682860.01032220.5131600.00784020.1213830.0078401.87781.82833.4333False0.606750-0.327718429.2074583.399690e-062.405999e-0822.5714020.00765719.7597540.007657360.03.2016113.1304210.0222367.17241147.880010214.98718300987142,52.89316459420049214.98667829434075,52.89342693278584214.98669145684062,52.89282038182442214.98618674234035,52.893082718326006
92203.502147.6748214.97595593821245,52.8857608061298241.080347e-086.393962e-116.583147e-082.946738e-091.292848e-074.227684e-093.008280e-076.814343e-094.315478e-079.775403e-0926.8539160.04754326.1211320.03493625.2042040.02432024.8124280.02432024.0422680.04754323.3094840.03493622.3925570.02432022.0007800.0243201.96392.32694.5697False0.5543510.194209186.5867611.597216e-062.318547e-0823.3915910.01564720.5799430.015647472.05.2799974.5868660.131275287.641772328.349371214.97651575474353,52.88574666723763214.9758135704506,52.8861115965495214.97602437048457,52.88540241081031214.97532218762848,52.88576733722342
..................................................................................................................................................................
25014971.33332792.5997214.86342709533272,52.880362787623739.590133e-097.248415e-112.220081e-082.230481e-094.735627e-083.249173e-091.214331e-075.402200e-091.741999e-077.749638e-0928.0340780.10394427.2115560.07204926.1891570.04725825.7973800.04725825.2224300.10394424.3999080.07204923.3775090.04725822.9857320.0472582.13312.56425.4698True-8.8531570.210579250011.6825873.204004e-071.058712e-0825.1357670.03529622.3241190.035296102.02.7411242.3216920.15301452.35313593.060734214.8636900007962,52.88038395248026214.86333847929964,52.8805660847281214.86342592387965,52.88019833346968214.86307440278023,52.880380464937716
25024763.05652793.6817214.86733222296195,52.8831364822672041.051981e-081.118753e-106.130335e-082.798869e-091.228033e-074.050254e-092.868879e-076.497919e-094.115504e-079.321483e-0926.9312900.04847226.1769750.03523225.2557190.02431724.8639420.02431724.1196420.04847223.3653270.03523222.4440710.02431722.0522950.0243172.00322.33624.6798True0.393340-1.280733250313.2394271.164908e-061.717505e-0823.7342710.01589120.9226230.015891249.04.9790262.3635120.525306349.06313329.770732214.867767722274,52.88322307266487214.86741619486526,52.88340521695356214.86725836604555,52.8828651100312214.8669068394021,52.883047252815906
25034763.63022806.9086214.86703079581093,52.883279451159331.063704e-087.919780e-111.097465e-073.371311e-092.224195e-074.845700e-095.135174e-077.780383e-097.366579e-071.116122e-0826.2990240.03285125.5320680.02340024.6236120.01632724.2318350.01632723.4873760.03285122.7204200.02340021.8119640.01632721.4201870.0163272.02672.30884.6791True0.3868631.045849250213.2394271.712749e-062.092785e-0823.3157660.01318620.5041180.013186341.04.2182563.1680360.24897042.69766783.405266214.86748210647926,52.88337106497854214.8670207230018,52.88361012803694214.86697275087266,52.883013101122884214.86651136839978,52.883252162207306
25043225.38942810.8578214.89597659635453,52.903714819100351.047432e-085.456642e-117.865202e-092.079960e-091.661439e-083.028586e-094.363841e-085.189831e-096.260077e-087.444987e-0929.1607250.25475528.3487890.18180727.3003280.12200526.9085510.12200526.3490770.25475525.5371410.18180724.4886800.12200524.0969030.1220052.11242.62655.5483True-0.0493280.635555250523.2256087.810876e-072.183458e-0824.1682510.02993421.3566030.029934427.06.7114295.0490270.24769770.374118111.081717214.89649770616072,52.90369561400582214.89579455755606,52.90406007116029214.8960256370175,52.90336428090408214.89532248982204,52.90372873527229
25053202.17572811.6043214.89639853343448,52.9040309788748361.096056e-087.193915e-111.372612e-073.780533e-092.650500e-075.349097e-095.624769e-078.245902e-098.068920e-071.182902e-0826.0561310.02950025.3416800.02169424.5247380.01580124.1329610.01580123.2444830.02950022.5300320.02169421.7130900.01580121.3213140.0158011.93102.12224.0979False0.540913-0.103573250423.2256082.215365e-062.612672e-0823.0363870.01273020.2247390.012730569.05.9268244.3019240.2741605.58915546.296754214.89707999193035,52.90413110710732214.89637684115257,52.90449556769841214.8963624357034,52.90362748356004214.89565928706742,52.90399193991597
25064373.83702833.6959214.87379656764548,52.8887520622577161.185199e-083.254683e-103.494132e-075.352419e-096.955118e-077.587336e-091.639981e-061.183390e-082.352608e-061.697613e-0825.0416520.01650624.2942390.01178023.3629030.00780622.9711260.00780622.2300040.01650621.4825910.01178020.5512550.00780620.1594780.0078061.99052.35794.6935False0.548055-1.581496250717.7952828.656114e-063.311705e-0821.5566930.00414618.7450450.004146540.07.8095792.3908660.693855326.4473057.154904214.87452660251276,52.88875009004046214.87391139881242,52.889068876784435214.8737152171235,52.88818004634309214.8731000155536,52.88849882889499
25074356.05532833.0013214.87414736137504,52.888979884306041.194470e-081.689945e-109.261646e-083.240687e-091.894736e-074.678831e-094.476143e-077.475994e-096.421178e-071.072456e-0826.4832800.03734125.7061280.02648524.7727400.01798424.3809630.01798423.6716320.03734122.8944800.02648521.9610920.01798421.5693150.0179842.04582.36244.8330True0.503202-0.201202250617.7952822.230313e-062.119503e-0823.0290850.01026920.2174380.010269352.05.2353343.1587380.396650317.695728358.403327214.874740633003,52.889007739294875214.8742133143125,52.88928098621771214.87421228162884,52.88863654962479214.87368496412734,52.88890979420785
25084794.71312832.6626214.86587859050886,52.883160532056819.817843e-095.609716e-114.666205e-091.908753e-099.337096e-092.826548e-092.318811e-084.848598e-093.326412e-086.955476e-0929.7275900.37232328.9744700.28713027.9868370.20615427.5950600.20615426.9159430.37232326.1628230.28713025.1751890.20615424.7834120.2061542.00102.48344.9694True3.6597451.431994250910.8732351.298383e-079.404888e-0926.1164930.07592823.3048450.07592884.03.6158601.8660030.48393952.10066192.808260214.86611233146655,52.88315949382737214.86580473951875,52.8833188658585214.86588595629462,52.88300039644708214.8655783646445,52.88315976789333
25094786.94572840.2715214.8658579462008,52.883350130258131.015760e-086.878876e-117.758062e-092.021549e-091.726177e-082.957979e-095.841258e-085.046570e-098.379481e-087.239474e-0929.1756170.25142128.3072870.17172626.9837340.08997026.5919570.08997026.3639690.25142125.4956390.17172624.1720860.08997023.7803090.0899702.22503.38397.5293True0.295067nan250810.8732353.239214e-071.187949e-0825.1239010.03910622.3122530.039106147.04.1981582.6568530.3671389.62615650.333755214.8662257481301,52.88340015150583214.86594012591172,52.88354814011874214.86582958974185,52.883121731184225214.8655439680073,52.8832697188467

In all likelihood, you will need to rerun Image3 with customized parameter values in order to return an optimal source catalog to use with your NIRCam WFSS data. You can additionally modify the source catalog so that Spec2 and Spec3 only run on the sources that you care most about.


9. Spec2 Pipeline#


After running Image3 and thus creating the the segmentation map and source catalog, the Spec2 pipeline is ready to be run. The spec2 pipeline first runs assign_wcs, background, and flat_field corrections first on the full-frame *_rate.fits files. The srctype step is run to determine the extent of the extraction box size before the extract_2d step is run, producing individual cutouts for the brightest 100 (by default) sources defined in the Image3 source catalog. The number of sources to extract is a user-settable parameter. The wfss_contam step is run towards the end of the extract_2d step and is currently not on by default as the step is being improved. The photom step is then run on the cutouts, producing flux calibrated 2-D spectral (*_cal.fits) files. The extract_1d step is run last, producing level 2 *_x1d.fits files.

time_spec2 = time.perf_counter()

Create Spec2 Association File#

As with the imaging part of the pipeline, there are association files for spec2. These are a bit more complex in that they need to have the dispersed data, direct image, source catalog, and segmentation map included as members. For the dispersed data, the rate files are used as inputs, similar to Image2. Also like Image2, there should be one association file for each dispersed image dither position in an observing sequence.

Like Image3, we create a spec2 association file manually by providing a list of exposures that we have processed through the pipeline and saved in separate directories rather than downloading directly from MAST or using the pool files. Note that the output products will have a rootname that is specified by the product_name in the association file. For this tutorial, the association filenames will end with _spec2_asn.json.

def write_spec2asn(grismfile, dimagefiles, catalogfiles, segmfiles, prodname):
    
    # Define the basic association of science files
    # # Wrap grismfile in a list since input is single exposure
    asn = asn_from_list.asn_from_list([grismfile], rule=DMSLevel2bBase, product_name=prodname)

    # Which blocking filter does the dispersed image use?
    grism_filter = fits.getval(grismfile, 'FILTER')
    grism_pid = fits.getval(grismfile, 'PROGRAM')
    grism_obs = fits.getval(grismfile, 'OBSERVTN')

    # Find the direct images with the same matching program, observation, and filter to use
    dir_img_match = []
    for dir_img in dimagefiles:
        img_pid = fits.getval(dir_img, 'PROGRAM')
        img_obs = fits.getval(dir_img, 'OBSERVTN')
        img_filter = fits.getval(dir_img, 'FILTER')

        if img_filter == grism_filter and img_pid == grism_pid and img_obs == grism_obs:
            dir_img_match.append(dir_img)

    # Ensure that there is only one match found for the grism image
    if len(dir_img_match) == 0:
        raise ValueError((f'Could not find a matching i2d image for {grismfile}. Please ensure that you '
                          f'have processed the appropriate data for {grism_pupil} PID {grism_pid} o{grism_obs}'))
    elif len(dir_img_match) > 1:
        raise ValueError((f'Multiple i2ds found matching: {grism_pupil} PID {grism_pid} o{grism_obs}. Please '
                          f'download the associations directly from MAST to proceed further.'))
    else:
        # There should only be one match per filter/program/observation combination, so grab that one
        dir_img_match = dir_img_match[0]
        
    # There should be a set of i2d, segm, and cat that have the same rootname, so we will just replace the filetype suffix
    dir_seg_match = dir_img_match.replace('_i2d.fits', '_segm.fits')
    dir_cat_match = dir_img_match.replace('_i2d.fits', '_cat.ecsv')
    
    # Add the direct image, catalog, and segmentation files
    asn['products'][0]['members'].append({'expname': dir_img_match, 'exptype': 'direct_image'})
    asn['products'][0]['members'].append({'expname': dir_cat_match, 'exptype': 'sourcecat'})
    asn['products'][0]['members'].append({'expname': dir_seg_match, 'exptype': 'segmap'})
    
    spec2_asnfile = os.path.join(sci_dir, os.path.basename(grismfile).replace('rate.fits', 'spec2_asn.json'))

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

    print(f'Writing spec2 association: {spec2_asnfile}')
    return spec2_asnfile
# Find the rate files using our dataframe table that we created in the detector1 stage of the notebook
grism_rate_files = rate_dfsort[rate_dfsort['EXP_TYPE'] == 'NRC_WFSS']['PATHNAME']
print(f'Found {str(len(grism_rate_files))} grism rate files to process for level 2')

# Use the rate files and image3 output products to define spec2 association files
# Strip off the path information from the image3 output products, since the pipeline 
# ignores the given path and always looks for those files in the current working directory.
# We'll work around this by changing the working directory before calling the pipeline.
if dospec2:
    for file in grism_rate_files:
        asnfile = write_spec2asn(file, image3_i2d, image3_cat, image3_segm, 'Level2')
Found 16 grism rate files to process for level 2
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00001_nrcalong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00001_nrcblong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00002_nrcblong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00002_nrcalong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00003_nrcblong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00003_nrcalong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00004_nrcalong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00004_nrcblong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00001_nrcalong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00001_nrcblong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00002_nrcblong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00002_nrcalong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00003_nrcblong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00003_nrcalong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00004_nrcblong_spec2_asn.json
Writing spec2 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00004_nrcalong_spec2_asn.json
/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)
# Take a quick look at the contents of an example spec2 association file to
# get a feel for what is being associated
if dospec2:
    spec2_asns = glob.glob(os.path.join(sci_dir, "*spec2*_asn.json"))
    
    # Look at one of the association files
    asn_data = json.load(open(spec2_asns[0]))
    print(f'asn_type : {asn_data["asn_type"]}')
    print(f'code_version : {asn_data["code_version"]}')
    
    # In particular, take a closer look at the product filenames with the association file:
    for product in asn_data['products']:
        for key, value in product.items():
            if key == 'members':
                print(f"{key}:")
                for member in value:
                    print(f"    {member['expname']} : {member['exptype']}")
            else:
                print(f"{key}: {value}")
asn_type : None
code_version : 3.0.0
name: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcblong
members:
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcblong_rate.fits : science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345-o012_nircam_f356w-clear_i2d.fits : direct_image
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345-o012_nircam_f356w-clear_cat.ecsv : sourcecat
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_img/jw01345-o012_nircam_f356w-clear_segm.fits : segmap

Run Spec2#

In Spec2, the *_rate.fits files run through various corrections before using the source catalog to extract the 100 (by default) brightest sources into 1-D spectra (level 2 *_x1d.fits files). The parameters in each of the Spec2 steps can be modified from the default values, including overwriting reference files that are used during this stage and saving additional files. This dictionary of the modified parameters for each of the steps is then fed into the steps parameter of the Spec2Pipeline call. The syntax for modifying some of these parameters is below. In particular, we show the option of only extracting the 10 brightest sources by setting wfss_nbright, as well as showing several options related to the contamination step, including turning on the step, saving the simulated images, and using additional cores to process more quickly.

The contamination correction step is turned off by default in pipeline version 3.0.0 while development work to make the results more robust is ongoing. If you run this step, check the results carefully. We also show how to save the background subtracted full-frame file as an intermediate product (*_bsub.fits). These background products are expected to be a default output in an upcoming pipeline build.

# Set up a dictionary to define how the Spec2 pipeline should be configured.

# this sets up any entry to spec2dict to be a dictionary itself
spec2dict = defaultdict(dict)

# ---------------------------Override reference files---------------------------
# Overrides for various reference files (example).
#   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_filteroffset'] = 'myfile.asdf'  # Imager filter offsets (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['bkg_subtract']['override_bkg'] = 'myfile.fits' # WFSS Background subtraction
# spec2dict['extract_2d']['override_wavelengthrange'] = 'myfile.asdf'  # Wavelength channel mapping (ASDF file)
# spec2dict['flat_field']['override_flat'] = 'myfile.fits'  # Pixel flatfield
# spec2dict['wfss_contam']['override_wavelengthrange'] = 'myfile.asdf'  # Wavelength channel mapping (ASDF file)
# spec2dict['wfss_contam']['override_photom'] = 'myfile.fits'  # Photometric calibration array
# spec2dict['photom']['override_photom'] = 'myfile.fits'  # Photometric calibration array

# -----------------------------Set step parameters------------------------------
# Overrides for whether or not certain steps should be skipped (example).
spec2dict['bkg_subtract']['skip'] = False  # perform the background subtraction
spec2dict['bkg_subtract']['save_results'] = True  # save background subtracted full-frame images
spec2dict['bkg_subtract']['wfss_mmag_extract'] = 24.0  # Ignore sources fainter than this when masking for background creation
# spec2dict['bkg_subtract']['wfss_mask'] = 'my_mask.fits'  # Provide your own background file for background subtraction
# spec2dict['flat_field']['save_results'] = True  # save the background subtracted, flat-field corrected, full-frame images
spec2dict['extract_2d']['wfss_nbright'] = 10  # only extract the 10 brightest sources
# spec2dict['wfss_contam']['skip'] = False  # uncomment to turn on contamination correction
# spec2dict['wfss_contam']['save_simulated_image'] = True  # save the simulated images produced by the pipeline
# spec2dict['wfss_contam']['maximum_cores'] = '1'  # (quarter, half, all, or the default='1'); This will speed up the calibration time
if dospec2:
    for spec2_asn in spec2_asns:
        os.chdir(image3_dir) # This is necessary since the pipeline looks in the current directory for the catalog
        spec2 = Spec2Pipeline.call(spec2_asn, steps=spec2dict, save_results=True, output_dir=spec2_dir)
        os.chdir(cwd) # Change back into your original directory
else:
    print('Skipping Spec2 processing for SCI data')
2026-09-09 18:47:17,988 - CRDS - INFO -  Syncing 1 files
2026-09-09 18:47:17,990 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf    1.2 K bytes  (1 / 1 files) (0 / 1.2 K bytes)
2026-09-09 18:47:18,236 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:47:18,253 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:47:18,265 - CRDS - INFO -  Syncing 1 files
2026-09-09 18:47:18,267 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf    2.1 K bytes  (1 / 1 files) (0 / 2.1 K bytes)
2026-09-09 18:47:18,512 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:47:18,535 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:47:18,536 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:47:18,537 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:47:18,538 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:47:18,539 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:47:18,540 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:47:18,542 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:47:18,543 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:47:18,548 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:47:18,549 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:47:18,550 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:47:18,551 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:47:18,553 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:47:18,553 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:47:18,555 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:47:18,557 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:47:18,558 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:47:18,559 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:47:18,560 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:47:18,560 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:47:18,561 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:47:18,563 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:47:18,564 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:47:18,565 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:47:18,566 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:47:18,568 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:47:18,569 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:47:18,570 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:47:18,571 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:47:18,573 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:47:18,574 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:47:18,576 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:47:18,845 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00003_nrcblong_spec2_asn.json',).
2026-09-09 18:47:18,880 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:47:18,946 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00003_nrcblong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:47:18,952 - CRDS - INFO -  Syncing 5 files
2026-09-09 18:47:18,954 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits    5.6 M bytes  (1 / 5 files) (0 / 57.7 M bytes)
2026-09-09 18:47:20,126 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0029.fits   50.4 M bytes  (2 / 5 files) (5.6 M / 57.7 M bytes)
2026-09-09 18:47:22,153 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits    1.7 M bytes  (3 / 5 files) (55.9 M / 57.7 M bytes)
2026-09-09 18:47:23,045 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0251.asdf    9.4 K bytes  (4 / 5 files) (57.7 M / 57.7 M bytes)
2026-09-09 18:47:23,300 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf    5.0 K bytes  (5 / 5 files) (57.7 M / 57.7 M bytes)
2026-09-09 18:47:23,538 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:47:23,538 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:47:23,539 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:47:23,539 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0029.fits'.
2026-09-09 18:47:23,540 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:47:23,541 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:47:23,541 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:47:23,542 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:47:23,543 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:47:23,544 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:47:23,544 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:47:23,545 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:47:23,545 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:47:23,546 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:47:23,547 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:47:23,547 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:47:23,548 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:47:23,549 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:47:23,550 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:47:23,550 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:47:23,551 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:47:23,551 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:47:23,552 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:47:23,552 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:47:23,553 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:47:23,553 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:47:23,554 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:47:23,555 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits'.
2026-09-09 18:47:23,555 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:47:23,556 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:47:23,557 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:47:23,557 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:47:23,558 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:47:23,559 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0251.asdf'.
2026-09-09 18:47:23,559 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:47:23,560 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:47:23,561 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:47:23,568 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcblong
2026-09-09 18:47:23,568 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcblong_rate.fits ...
2026-09-09 18:47:23,640 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:47:23,641 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:47:23,641 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:47:23,870 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcblong_rate.fits>,).
2026-09-09 18:47:23,936 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498280857322
2026-09-09 18:47:24,060 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:47:24,061 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:47:24,209 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:47:24,472 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcblong_rate.fits>, [], []).
2026-09-09 18:47:24,472 - stpipe.step - INFO - Step skipped.
2026-09-09 18:47:24,717 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcblong_rate.fits>,).
2026-09-09 18:47:24,718 - stpipe.step - INFO - Step skipped.
2026-09-09 18:47:24,947 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcblong_rate.fits>,).
2026-09-09 18:47:24,948 - stpipe.step - INFO - Step skipped.
2026-09-09 18:47:25,175 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcblong_rate.fits>, []).
2026-09-09 18:47:25,176 - stpipe.step - INFO - Step skipped.
2026-09-09 18:47:25,406 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcblong_rate.fits>, []).
2026-09-09 18:47:25,461 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcblong_rate.fits> ...
2026-09-09 18:47:25,511 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0029.fits
2026-09-09 18:47:25,512 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:47:25,588 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:47:25,588 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:47:25,589 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:47:30,911 - jwst.assign_wcs.util - INFO - Total of 256 grism objects defined
2026-09-09 18:47:30,937 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:47:30,939 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:47:30,950 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:47:31,368 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:47:31,430 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.494e-01
2026-09-09 18:47:31,430 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.69524e-01
2026-09-09 18:47:31,588 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcblong_bsub.fits
2026-09-09 18:47:31,589 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:47:31,822 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:47:31,901 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:47:31,902 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:47:31,903 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:47:31,903 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:47:32,030 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:47:32,257 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:47:32,265 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:47:32,421 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:47:32,422 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:47:59,885 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:47:59,928 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:47:59,931 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:48:00,015 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:48:00,016 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:17), (ymin:819, ymax:829)
2026-09-09 18:48:00,181 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2130 order: 1:
2026-09-09 18:48:00,182 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1795, xmax:2048), (ymin:6, ymax:16)
2026-09-09 18:48:00,344 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2131 order: 1:
2026-09-09 18:48:00,345 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1554, xmax:2048), (ymin:16, ymax:26)
2026-09-09 18:48:00,510 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2202 order: 1:
2026-09-09 18:48:00,511 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1956, xmax:2048), (ymin:350, ymax:360)
2026-09-09 18:48:00,680 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:48:00,681 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1081), (ymin:0, ymax:103)
2026-09-09 18:48:00,871 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2224 order: 1:
2026-09-09 18:48:00,873 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1163, xmax:2048), (ymin:480, ymax:574)
2026-09-09 18:48:01,054 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 911 order: 1:
2026-09-09 18:48:01,055 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:880, xmax:1989), (ymin:1059, ymax:1069)
2026-09-09 18:48:01,216 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2411 order: 1:
2026-09-09 18:48:01,217 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1120, xmax:2048), (ymin:2014, ymax:2024)
2026-09-09 18:48:01,381 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2227 order: 1:
2026-09-09 18:48:01,381 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1150, xmax:2048), (ymin:578, ymax:588)
2026-09-09 18:48:01,543 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2295 order: 1:
2026-09-09 18:48:01,544 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:421, xmax:1518), (ymin:1036, ymax:1095)
2026-09-09 18:48:01,924 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:48:01,931 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:48:02,206 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:48:02,207 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:48:02,208 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:48:02,209 - jwst.srctype.srctype - INFO - source_id=2130, type=POINT
2026-09-09 18:48:02,210 - jwst.srctype.srctype - INFO - source_id=2131, type=POINT
2026-09-09 18:48:02,210 - jwst.srctype.srctype - INFO - source_id=2202, type=POINT
2026-09-09 18:48:02,211 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:48:02,212 - jwst.srctype.srctype - INFO - source_id=2224, type=EXTENDED
2026-09-09 18:48:02,213 - jwst.srctype.srctype - INFO - source_id=911, type=POINT
2026-09-09 18:48:02,213 - jwst.srctype.srctype - INFO - source_id=2411, type=POINT
2026-09-09 18:48:02,214 - jwst.srctype.srctype - INFO - source_id=2227, type=POINT
2026-09-09 18:48:02,215 - jwst.srctype.srctype - INFO - source_id=2295, type=EXTENDED
2026-09-09 18:48:02,219 - stpipe.step - INFO - Step srctype done
2026-09-09 18:48:02,457 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:48:02,458 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:02,698 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:48:02,699 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:02,942 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:48:02,943 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:03,198 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:48:03,198 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:03,438 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:48:03,439 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:03,682 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:48:03,797 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits
2026-09-09 18:48:03,798 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:48:03,798 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:48:03,799 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:48:03,799 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:48:03,800 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:48:03,800 - jwst.photom.photom - INFO -  pupil: GRISMR
2026-09-09 18:48:03,832 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:48:03,833 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:48:03,835 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:48:03,836 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:03,837 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:03,864 - jwst.photom.photom - INFO - Working on slit 2130
2026-09-09 18:48:03,864 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:03,866 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:03,892 - jwst.photom.photom - INFO - Working on slit 2131
2026-09-09 18:48:03,893 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:03,894 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:03,920 - jwst.photom.photom - INFO - Working on slit 2202
2026-09-09 18:48:03,921 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:03,923 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:03,949 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:48:03,950 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:03,951 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:03,979 - jwst.photom.photom - INFO - Working on slit 2224
2026-09-09 18:48:03,980 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:03,982 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:04,010 - jwst.photom.photom - INFO - Working on slit 911
2026-09-09 18:48:04,011 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:04,012 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:04,040 - jwst.photom.photom - INFO - Working on slit 2411
2026-09-09 18:48:04,041 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:04,042 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:04,068 - jwst.photom.photom - INFO - Working on slit 2227
2026-09-09 18:48:04,069 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:04,071 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:04,096 - jwst.photom.photom - INFO - Working on slit 2295
2026-09-09 18:48:04,097 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:04,099 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:04,131 - stpipe.step - INFO - Step photom done
2026-09-09 18:48:04,760 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcblong_cal.fits>,).
2026-09-09 18:48:04,761 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:05,017 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcblong_cal.fits>,).
2026-09-09 18:48:05,018 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:05,662 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcblong_cal.fits>,).
2026-09-09 18:48:05,704 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:48:05,774 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:48:05,775 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:05,776 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:05,781 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:05,858 - jwst.extract_1d.extract - INFO - Working on slit 2130
2026-09-09 18:48:05,859 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:05,860 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:05,865 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:06,047 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 18:48:06,048 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:06,049 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:06,056 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:06,339 - jwst.extract_1d.extract - INFO - Working on slit 2202
2026-09-09 18:48:06,341 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:06,342 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:06,347 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:06,448 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:48:06,450 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:48:06,452 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 103.00 (inclusive)
2026-09-09 18:48:06,513 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 18:48:06,515 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:48:06,516 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 94.00 (inclusive)
2026-09-09 18:48:06,576 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 18:48:06,577 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:06,578 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:06,583 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:07,143 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 18:48:07,144 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:07,145 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:07,150 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:07,627 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 18:48:07,628 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:07,629 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:07,634 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:08,098 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 18:48:08,099 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:48:08,101 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 59.00 (inclusive)
2026-09-09 18:48:08,372 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcblong_x1d.fits
2026-09-09 18:48:08,373 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:48:08,374 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcblong
2026-09-09 18:48:08,377 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:48:08,378 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:48:09,056 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcblong_cal.fits
2026-09-09 18:48:09,057 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:48:09,058 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:48:09,069 - py.warnings - WARNING - /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-09-09 18:48:09,120 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:48:09,137 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:48:09,151 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:48:09,175 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:48:09,176 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:48:09,178 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:48:09,179 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:48:09,180 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:48:09,181 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:48:09,182 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:48:09,184 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:48:09,189 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:48:09,190 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:48:09,191 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:48:09,192 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:48:09,193 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:48:09,194 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:48:09,195 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:48:09,197 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:48:09,198 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:48:09,199 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:48:09,201 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:48:09,201 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:48:09,203 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:48:09,204 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:48:09,205 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:48:09,206 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:48:09,207 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:48:09,208 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:48:09,209 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:48:09,210 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:48:09,211 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:48:09,212 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:48:09,214 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:48:09,216 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:48:09,522 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00004_nrcblong_spec2_asn.json',).
2026-09-09 18:48:09,560 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:48:09,629 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00004_nrcblong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:48:09,635 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:48:09,635 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:48:09,636 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:48:09,636 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0029.fits'.
2026-09-09 18:48:09,637 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:48:09,638 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:48:09,639 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:48:09,639 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:48:09,640 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:48:09,640 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:48:09,641 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:48:09,642 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:48:09,642 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:48:09,643 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:48:09,643 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:48:09,644 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:48:09,645 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:48:09,645 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:48:09,646 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:48:09,647 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:48:09,647 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:48:09,648 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:48:09,649 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:48:09,649 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:48:09,650 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:48:09,650 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:48:09,651 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:48:09,651 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits'.
2026-09-09 18:48:09,652 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:48:09,653 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:48:09,653 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:48:09,654 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:48:09,654 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:48:09,655 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0251.asdf'.
2026-09-09 18:48:09,656 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:48:09,657 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:48:09,657 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:48:09,664 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00004_nrcblong
2026-09-09 18:48:09,665 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00004_nrcblong_rate.fits ...
2026-09-09 18:48:09,736 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:48:09,737 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:48:09,738 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:48:09,999 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcblong_rate.fits>,).
2026-09-09 18:48:10,061 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498280857322
2026-09-09 18:48:10,175 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:48:10,177 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:48:10,322 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:48:10,564 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcblong_rate.fits>, [], []).
2026-09-09 18:48:10,565 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:10,803 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcblong_rate.fits>,).
2026-09-09 18:48:10,804 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:11,042 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcblong_rate.fits>,).
2026-09-09 18:48:11,043 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:11,289 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcblong_rate.fits>, []).
2026-09-09 18:48:11,290 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:11,540 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcblong_rate.fits>, []).
2026-09-09 18:48:11,594 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcblong_rate.fits> ...
2026-09-09 18:48:11,602 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0029.fits
2026-09-09 18:48:11,603 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:48:11,675 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:48:11,676 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:48:11,677 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:48:16,974 - jwst.assign_wcs.util - INFO - Total of 259 grism objects defined
2026-09-09 18:48:17,000 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:48:17,002 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:48:17,012 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:48:17,426 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:48:17,494 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.493e-01
2026-09-09 18:48:17,495 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.69421e-01
2026-09-09 18:48:17,658 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcblong_bsub.fits
2026-09-09 18:48:17,659 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:48:17,931 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:48:18,001 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:48:18,002 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:48:18,002 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:48:18,003 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:48:18,129 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:48:18,368 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:48:18,373 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:48:18,520 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:48:18,521 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:48:45,684 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:48:45,728 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:48:45,729 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:48:45,801 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:48:45,802 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:39), (ymin:786, ymax:796)
2026-09-09 18:48:45,961 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2202 order: 1:
2026-09-09 18:48:45,962 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1978, xmax:2048), (ymin:316, ymax:326)
2026-09-09 18:48:46,120 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:48:46,121 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1103), (ymin:0, ymax:70)
2026-09-09 18:48:46,300 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2224 order: 1:
2026-09-09 18:48:46,301 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1184, xmax:2048), (ymin:447, ymax:540)
2026-09-09 18:48:46,477 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 911 order: 1:
2026-09-09 18:48:46,477 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:903, xmax:2012), (ymin:1025, ymax:1035)
2026-09-09 18:48:46,640 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2411 order: 1:
2026-09-09 18:48:46,641 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1142, xmax:2048), (ymin:1979, ymax:1989)
2026-09-09 18:48:46,803 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2227 order: 1:
2026-09-09 18:48:46,803 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1172, xmax:2048), (ymin:544, ymax:554)
2026-09-09 18:48:46,965 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2295 order: 1:
2026-09-09 18:48:46,966 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:444, xmax:1541), (ymin:1002, ymax:1061)
2026-09-09 18:48:47,141 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2136 order: 1:
2026-09-09 18:48:47,142 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1929, xmax:2048), (ymin:147, ymax:157)
2026-09-09 18:48:47,302 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 752 order: 1:
2026-09-09 18:48:47,303 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1091, xmax:2048), (ymin:799, ymax:809)
2026-09-09 18:48:47,678 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:48:47,685 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:48:47,968 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:48:47,969 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:48:47,970 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:48:47,970 - jwst.srctype.srctype - INFO - source_id=2202, type=POINT
2026-09-09 18:48:47,971 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:48:47,972 - jwst.srctype.srctype - INFO - source_id=2224, type=EXTENDED
2026-09-09 18:48:47,972 - jwst.srctype.srctype - INFO - source_id=911, type=POINT
2026-09-09 18:48:47,973 - jwst.srctype.srctype - INFO - source_id=2411, type=POINT
2026-09-09 18:48:47,974 - jwst.srctype.srctype - INFO - source_id=2227, type=POINT
2026-09-09 18:48:47,974 - jwst.srctype.srctype - INFO - source_id=2295, type=EXTENDED
2026-09-09 18:48:47,975 - jwst.srctype.srctype - INFO - source_id=2136, type=POINT
2026-09-09 18:48:47,976 - jwst.srctype.srctype - INFO - source_id=752, type=POINT
2026-09-09 18:48:47,980 - stpipe.step - INFO - Step srctype done
2026-09-09 18:48:48,236 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:48:48,237 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:48,498 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:48:48,498 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:48,756 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:48:48,757 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:49,019 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:48:49,019 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:49,278 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:48:49,278 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:49,537 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:48:49,546 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits
2026-09-09 18:48:49,547 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:48:49,548 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:48:49,548 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:48:49,549 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:48:49,550 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:48:49,550 - jwst.photom.photom - INFO -  pupil: GRISMR
2026-09-09 18:48:49,579 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:48:49,579 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:48:49,582 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:48:49,583 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:49,584 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:49,610 - jwst.photom.photom - INFO - Working on slit 2202
2026-09-09 18:48:49,611 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:49,612 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:49,638 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:48:49,639 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:49,640 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:49,667 - jwst.photom.photom - INFO - Working on slit 2224
2026-09-09 18:48:49,668 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:49,670 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:49,698 - jwst.photom.photom - INFO - Working on slit 911
2026-09-09 18:48:49,699 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:49,700 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:49,726 - jwst.photom.photom - INFO - Working on slit 2411
2026-09-09 18:48:49,727 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:49,729 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:49,755 - jwst.photom.photom - INFO - Working on slit 2227
2026-09-09 18:48:49,756 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:49,758 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:49,784 - jwst.photom.photom - INFO - Working on slit 2295
2026-09-09 18:48:49,785 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:49,787 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:49,815 - jwst.photom.photom - INFO - Working on slit 2136
2026-09-09 18:48:49,817 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:49,818 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:49,843 - jwst.photom.photom - INFO - Working on slit 752
2026-09-09 18:48:49,844 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:48:49,846 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:48:49,877 - stpipe.step - INFO - Step photom done
2026-09-09 18:48:50,528 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcblong_cal.fits>,).
2026-09-09 18:48:50,529 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:50,822 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcblong_cal.fits>,).
2026-09-09 18:48:50,823 - stpipe.step - INFO - Step skipped.
2026-09-09 18:48:51,485 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcblong_cal.fits>,).
2026-09-09 18:48:51,491 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:48:51,551 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:48:51,552 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:51,553 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:51,558 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:51,635 - jwst.extract_1d.extract - INFO - Working on slit 2202
2026-09-09 18:48:51,636 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:51,636 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:51,642 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:51,733 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:48:51,735 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:48:51,736 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 70.00 (inclusive)
2026-09-09 18:48:51,797 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 18:48:51,799 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:48:51,800 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 93.00 (inclusive)
2026-09-09 18:48:51,860 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 18:48:51,861 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:51,862 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:51,867 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:52,425 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 18:48:52,426 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:52,428 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:52,433 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:52,896 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 18:48:52,897 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:52,898 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:52,903 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:53,356 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 18:48:53,357 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:48:53,359 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 59.00 (inclusive)
2026-09-09 18:48:53,424 - jwst.extract_1d.extract - INFO - Working on slit 2136
2026-09-09 18:48:53,425 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:53,426 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:53,431 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:53,545 - jwst.extract_1d.extract - INFO - Working on slit 752
2026-09-09 18:48:53,546 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:48:53,547 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:48:53,553 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:48:54,244 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcblong_x1d.fits
2026-09-09 18:48:54,245 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:48:54,246 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00004_nrcblong
2026-09-09 18:48:54,249 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:48:54,250 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:48:54,924 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcblong_cal.fits
2026-09-09 18:48:54,925 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:48:54,926 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:48:54,938 - py.warnings - WARNING - /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-09-09 18:48:54,990 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:48:55,007 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:48:55,021 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:48:55,045 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:48:55,047 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:48:55,049 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:48:55,050 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:48:55,051 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:48:55,052 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:48:55,053 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:48:55,055 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:48:55,059 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:48:55,061 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:48:55,061 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:48:55,062 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:48:55,064 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:48:55,065 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:48:55,066 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:48:55,068 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:48:55,069 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:48:55,070 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:48:55,071 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:48:55,072 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:48:55,073 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:48:55,075 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:48:55,076 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:48:55,077 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:48:55,078 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:48:55,079 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:48:55,080 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:48:55,081 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:48:55,082 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:48:55,083 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:48:55,085 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:48:55,086 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:48:55,422 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00003_nrcalong_spec2_asn.json',).
2026-09-09 18:48:55,459 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:48:55,524 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00003_nrcalong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:48:55,529 - CRDS - INFO -  Syncing 3 files
2026-09-09 18:48:55,530 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0045.fits   50.4 M bytes  (1 / 3 files) (0 / 52.1 M bytes)
2026-09-09 18:48:57,791 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits    1.7 M bytes  (2 / 3 files) (50.4 M / 52.1 M bytes)
2026-09-09 18:48:58,637 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0217.asdf    9.4 K bytes  (3 / 3 files) (52.1 M / 52.1 M bytes)
2026-09-09 18:48:58,867 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:48:58,868 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:48:58,868 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:48:58,869 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0045.fits'.
2026-09-09 18:48:58,869 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:48:58,870 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:48:58,870 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:48:58,871 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:48:58,871 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:48:58,872 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:48:58,872 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:48:58,873 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:48:58,873 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:48:58,874 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:48:58,875 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:48:58,876 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:48:58,876 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:48:58,877 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:48:58,877 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:48:58,878 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:48:58,878 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:48:58,879 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:48:58,880 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:48:58,880 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:48:58,880 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:48:58,881 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:48:58,881 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:48:58,882 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits'.
2026-09-09 18:48:58,884 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:48:58,884 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:48:58,884 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:48:58,885 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:48:58,886 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:48:58,887 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0217.asdf'.
2026-09-09 18:48:58,887 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:48:58,888 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:48:58,888 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:48:58,895 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00003_nrcalong
2026-09-09 18:48:58,896 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00003_nrcalong_rate.fits ...
2026-09-09 18:48:58,960 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:48:58,961 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:48:58,962 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:48:59,230 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcalong_rate.fits>,).
2026-09-09 18:48:59,292 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498274518972
2026-09-09 18:48:59,406 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:48:59,408 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:48:59,555 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:48:59,802 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcalong_rate.fits>, [], []).
2026-09-09 18:48:59,803 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:00,042 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcalong_rate.fits>,).
2026-09-09 18:49:00,043 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:00,283 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcalong_rate.fits>,).
2026-09-09 18:49:00,284 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:00,521 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcalong_rate.fits>, []).
2026-09-09 18:49:00,522 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:00,767 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcalong_rate.fits>, []).
2026-09-09 18:49:00,823 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcalong_rate.fits> ...
2026-09-09 18:49:00,830 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0045.fits
2026-09-09 18:49:00,831 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:49:00,903 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:49:00,903 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:49:00,904 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:49:06,220 - jwst.assign_wcs.util - INFO - Total of 223 grism objects defined
2026-09-09 18:49:06,248 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:49:06,250 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:49:06,262 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:49:06,665 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:49:06,734 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.811e-01
2026-09-09 18:49:06,735 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.80980e-01
2026-09-09 18:49:06,894 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_bsub.fits
2026-09-09 18:49:06,895 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:49:07,159 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:49:07,233 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:49:07,234 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:49:07,235 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:49:07,235 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:49:07,362 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:49:07,613 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:49:07,617 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:49:07,777 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:49:07,778 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:49:35,315 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:49:35,357 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:49:35,360 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:49:35,438 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:49:35,439 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1680, xmax:1690), (ymin:0, ymax:1077)
2026-09-09 18:49:35,602 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2163 order: 1:
2026-09-09 18:49:35,602 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:747, xmax:757), (ymin:0, ymax:389)
2026-09-09 18:49:35,762 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2339 order: 1:
2026-09-09 18:49:35,763 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:388, xmax:398), (ymin:614, ymax:1748)
2026-09-09 18:49:35,926 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2154 order: 1:
2026-09-09 18:49:35,927 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1220, xmax:1230), (ymin:0, ymax:201)
2026-09-09 18:49:36,084 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 662 order: 1:
2026-09-09 18:49:36,085 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:142, xmax:152), (ymin:0, ymax:872)
2026-09-09 18:49:36,248 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1334 order: 1:
2026-09-09 18:49:36,248 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:827, xmax:837), (ymin:718, ymax:1811)
2026-09-09 18:49:36,410 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1935 order: 1:
2026-09-09 18:49:36,411 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1856, xmax:1866), (ymin:1483, ymax:2048)
2026-09-09 18:49:36,572 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2338 order: 1:
2026-09-09 18:49:36,573 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:545, xmax:555), (ymin:640, ymax:1716)
2026-09-09 18:49:36,735 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1299 order: 1:
2026-09-09 18:49:36,736 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1635, xmax:1645), (ymin:679, ymax:1756)
2026-09-09 18:49:36,898 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2170 order: 1:
2026-09-09 18:49:36,898 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1395, xmax:1461), (ymin:0, ymax:367)
2026-09-09 18:49:37,263 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:49:37,270 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:49:37,545 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:49:37,546 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:49:37,547 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:49:37,548 - jwst.srctype.srctype - INFO - source_id=2163, type=POINT
2026-09-09 18:49:37,548 - jwst.srctype.srctype - INFO - source_id=2339, type=POINT
2026-09-09 18:49:37,549 - jwst.srctype.srctype - INFO - source_id=2154, type=POINT
2026-09-09 18:49:37,550 - jwst.srctype.srctype - INFO - source_id=662, type=POINT
2026-09-09 18:49:37,550 - jwst.srctype.srctype - INFO - source_id=1334, type=POINT
2026-09-09 18:49:37,551 - jwst.srctype.srctype - INFO - source_id=1935, type=POINT
2026-09-09 18:49:37,552 - jwst.srctype.srctype - INFO - source_id=2338, type=POINT
2026-09-09 18:49:37,553 - jwst.srctype.srctype - INFO - source_id=1299, type=POINT
2026-09-09 18:49:37,553 - jwst.srctype.srctype - INFO - source_id=2170, type=EXTENDED
2026-09-09 18:49:37,558 - stpipe.step - INFO - Step srctype done
2026-09-09 18:49:37,818 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:49:37,819 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:38,078 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:49:38,079 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:38,344 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:49:38,345 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:38,599 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:49:38,600 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:38,855 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:49:38,856 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:39,111 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:49:39,121 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits
2026-09-09 18:49:39,121 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:49:39,122 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:49:39,122 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:49:39,123 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:49:39,123 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:49:39,124 - jwst.photom.photom - INFO -  pupil: GRISMC
2026-09-09 18:49:39,153 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:49:39,154 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:49:39,156 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:49:39,157 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:49:39,159 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:49:39,185 - jwst.photom.photom - INFO - Working on slit 2163
2026-09-09 18:49:39,186 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:49:39,187 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:49:39,213 - jwst.photom.photom - INFO - Working on slit 2339
2026-09-09 18:49:39,213 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:49:39,215 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:49:39,241 - jwst.photom.photom - INFO - Working on slit 2154
2026-09-09 18:49:39,242 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:49:39,243 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:49:39,269 - jwst.photom.photom - INFO - Working on slit 662
2026-09-09 18:49:39,270 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:49:39,272 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:49:39,297 - jwst.photom.photom - INFO - Working on slit 1334
2026-09-09 18:49:39,298 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:49:39,300 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:49:39,326 - jwst.photom.photom - INFO - Working on slit 1935
2026-09-09 18:49:39,327 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:49:39,329 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:49:39,356 - jwst.photom.photom - INFO - Working on slit 2338
2026-09-09 18:49:39,357 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:49:39,358 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:49:39,387 - jwst.photom.photom - INFO - Working on slit 1299
2026-09-09 18:49:39,388 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:49:39,390 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:49:39,416 - jwst.photom.photom - INFO - Working on slit 2170
2026-09-09 18:49:39,417 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:49:39,419 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:49:39,451 - stpipe.step - INFO - Step photom done
2026-09-09 18:49:40,104 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_cal.fits>,).
2026-09-09 18:49:40,104 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:40,391 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_cal.fits>,).
2026-09-09 18:49:40,392 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:41,089 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_cal.fits>,).
2026-09-09 18:49:41,095 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:49:41,155 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:49:41,157 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:49:41,158 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:49:41,163 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:49:41,703 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 18:49:41,704 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:49:41,705 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:49:41,710 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:49:41,941 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 18:49:41,942 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:49:41,943 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:49:41,948 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:49:42,512 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 18:49:42,514 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:49:42,515 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:49:42,520 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:49:42,667 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 18:49:42,668 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:49:42,669 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:49:42,674 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:49:43,123 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 18:49:43,124 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:49:43,126 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:49:43,131 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:49:43,672 - jwst.extract_1d.extract - INFO - Working on slit 1935
2026-09-09 18:49:43,673 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:49:43,675 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:49:43,680 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:49:43,989 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 18:49:43,990 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:49:43,991 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:49:43,996 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:49:44,527 - jwst.extract_1d.extract - INFO - Working on slit 1299
2026-09-09 18:49:44,528 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:49:44,529 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:49:44,534 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:49:45,066 - jwst.extract_1d.extract - INFO - Working on slit 2170
2026-09-09 18:49:45,067 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:49:45,069 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 66.00 (inclusive)
2026-09-09 18:49:45,326 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_x1d.fits
2026-09-09 18:49:45,326 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:49:45,327 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00003_nrcalong
2026-09-09 18:49:45,330 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:49:45,330 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:49:46,003 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_cal.fits
2026-09-09 18:49:46,004 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:49:46,004 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:49:46,017 - py.warnings - WARNING - /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-09-09 18:49:46,069 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:49:46,086 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:49:46,099 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:49:46,124 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:49:46,125 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:49:46,127 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:49:46,128 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:49:46,129 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:49:46,131 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:49:46,131 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:49:46,133 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:49:46,137 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:49:46,138 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:49:46,139 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:49:46,140 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:49:46,141 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:49:46,142 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:49:46,143 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:49:46,145 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:49:46,146 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:49:46,147 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:49:46,149 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:49:46,149 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:49:46,150 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:49:46,152 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:49:46,154 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:49:46,154 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:49:46,155 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:49:46,156 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:49:46,157 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:49:46,158 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:49:46,159 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:49:46,161 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:49:46,162 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:49:46,164 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:49:46,504 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00002_nrcalong_spec2_asn.json',).
2026-09-09 18:49:46,542 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:49:46,607 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00002_nrcalong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:49:46,612 - CRDS - INFO -  Syncing 2 files
2026-09-09 18:49:46,614 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0046.fits   50.4 M bytes  (1 / 2 files) (0 / 50.4 M bytes)
2026-09-09 18:49:48,907 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0236.asdf    9.4 K bytes  (2 / 2 files) (50.4 M / 50.4 M bytes)
2026-09-09 18:49:49,132 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:49:49,132 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:49:49,133 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:49:49,133 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0046.fits'.
2026-09-09 18:49:49,134 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:49:49,135 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:49:49,135 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:49:49,136 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:49:49,136 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:49:49,137 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:49:49,137 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:49:49,138 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:49:49,138 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:49:49,139 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:49:49,140 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:49:49,141 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:49:49,142 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:49:49,142 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:49:49,143 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:49:49,143 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:49:49,144 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:49:49,144 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:49:49,145 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:49:49,145 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:49:49,146 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:49:49,146 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:49:49,147 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:49:49,147 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits'.
2026-09-09 18:49:49,148 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:49:49,150 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:49:49,150 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:49:49,150 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:49:49,151 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:49:49,152 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0236.asdf'.
2026-09-09 18:49:49,152 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:49:49,153 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:49:49,154 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:49:49,160 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00002_nrcalong
2026-09-09 18:49:49,161 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00002_nrcalong_rate.fits ...
2026-09-09 18:49:49,227 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:49:49,228 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:49:49,228 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:49:49,467 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcalong_rate.fits>,).
2026-09-09 18:49:49,528 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498287195672
2026-09-09 18:49:49,641 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:49:49,642 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:49:49,790 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:49:50,068 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcalong_rate.fits>, [], []).
2026-09-09 18:49:50,069 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:50,314 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcalong_rate.fits>,).
2026-09-09 18:49:50,315 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:50,557 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcalong_rate.fits>,).
2026-09-09 18:49:50,558 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:50,801 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcalong_rate.fits>, []).
2026-09-09 18:49:50,802 - stpipe.step - INFO - Step skipped.
2026-09-09 18:49:51,053 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcalong_rate.fits>, []).
2026-09-09 18:49:51,108 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcalong_rate.fits> ...
2026-09-09 18:49:51,116 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0046.fits
2026-09-09 18:49:51,116 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:49:51,192 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:49:51,193 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:49:51,195 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:49:56,496 - jwst.assign_wcs.util - INFO - Total of 232 grism objects defined
2026-09-09 18:49:56,522 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:49:56,524 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:49:56,534 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:49:56,931 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:49:57,016 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.821e-01
2026-09-09 18:49:57,017 - jwst.background.background_sub_wfss - INFO - Scaling factor = 2.07119e-01
2026-09-09 18:49:57,174 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcalong_bsub.fits
2026-09-09 18:49:57,174 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:49:57,427 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:49:57,499 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:49:57,500 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:49:57,500 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:49:57,501 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:49:57,626 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:49:57,875 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:49:57,880 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:49:58,035 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:49:58,036 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:50:25,272 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:50:25,315 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:50:25,317 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:50:25,389 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:50:25,389 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:740, xmax:2023), (ymin:822, ymax:832)
2026-09-09 18:50:25,552 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2163 order: 1:
2026-09-09 18:50:25,553 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1025), (ymin:179, ymax:189)
2026-09-09 18:50:25,714 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2339 order: 1:
2026-09-09 18:50:25,715 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:670), (ymin:1541, ymax:1551)
2026-09-09 18:50:25,878 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:50:25,879 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1914, xmax:2048), (ymin:0, ymax:91)
2026-09-09 18:50:26,038 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2154 order: 1:
2026-09-09 18:50:26,039 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:362, xmax:1461), (ymin:18, ymax:28)
2026-09-09 18:50:26,202 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 662 order: 1:
2026-09-09 18:50:26,203 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:382), (ymin:693, ymax:703)
2026-09-09 18:50:26,363 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1334 order: 1:
2026-09-09 18:50:26,364 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1078), (ymin:1626, ymax:1636)
2026-09-09 18:50:26,525 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2144 order: 1:
2026-09-09 18:50:26,525 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1954, xmax:2048), (ymin:0, ymax:7)
2026-09-09 18:50:26,686 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2338 order: 1:
2026-09-09 18:50:26,687 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:787), (ymin:1539, ymax:1549)
2026-09-09 18:50:26,847 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2146 order: 1:
2026-09-09 18:50:26,848 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1883, xmax:2048), (ymin:0, ymax:73)
2026-09-09 18:50:27,206 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:50:27,213 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:50:27,490 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:50:27,491 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:50:27,492 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:50:27,492 - jwst.srctype.srctype - INFO - source_id=2163, type=POINT
2026-09-09 18:50:27,493 - jwst.srctype.srctype - INFO - source_id=2339, type=POINT
2026-09-09 18:50:27,494 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:50:27,494 - jwst.srctype.srctype - INFO - source_id=2154, type=POINT
2026-09-09 18:50:27,495 - jwst.srctype.srctype - INFO - source_id=662, type=POINT
2026-09-09 18:50:27,496 - jwst.srctype.srctype - INFO - source_id=1334, type=POINT
2026-09-09 18:50:27,497 - jwst.srctype.srctype - INFO - source_id=2144, type=POINT
2026-09-09 18:50:27,498 - jwst.srctype.srctype - INFO - source_id=2338, type=POINT
2026-09-09 18:50:27,498 - jwst.srctype.srctype - INFO - source_id=2146, type=EXTENDED
2026-09-09 18:50:27,502 - stpipe.step - INFO - Step srctype done
2026-09-09 18:50:27,756 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:50:27,757 - stpipe.step - INFO - Step skipped.
2026-09-09 18:50:28,021 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:50:28,022 - stpipe.step - INFO - Step skipped.
2026-09-09 18:50:28,282 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:50:28,283 - stpipe.step - INFO - Step skipped.
2026-09-09 18:50:28,537 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:50:28,538 - stpipe.step - INFO - Step skipped.
2026-09-09 18:50:28,797 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:50:28,798 - stpipe.step - INFO - Step skipped.
2026-09-09 18:50:29,056 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:50:29,067 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits
2026-09-09 18:50:29,067 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:50:29,068 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:50:29,069 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:50:29,069 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:50:29,070 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:50:29,070 - jwst.photom.photom - INFO -  pupil: GRISMR
2026-09-09 18:50:29,099 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:50:29,100 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:50:29,102 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:50:29,103 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:50:29,105 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:50:29,131 - jwst.photom.photom - INFO - Working on slit 2163
2026-09-09 18:50:29,132 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:50:29,133 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:50:29,159 - jwst.photom.photom - INFO - Working on slit 2339
2026-09-09 18:50:29,160 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:50:29,161 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:50:29,187 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:50:29,187 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:50:29,189 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:50:29,216 - jwst.photom.photom - INFO - Working on slit 2154
2026-09-09 18:50:29,217 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:50:29,218 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:50:29,244 - jwst.photom.photom - INFO - Working on slit 662
2026-09-09 18:50:29,245 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:50:29,247 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:50:29,274 - jwst.photom.photom - INFO - Working on slit 1334
2026-09-09 18:50:29,275 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:50:29,276 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:50:29,303 - jwst.photom.photom - INFO - Working on slit 2144
2026-09-09 18:50:29,304 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:50:29,306 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:50:29,333 - jwst.photom.photom - INFO - Working on slit 2338
2026-09-09 18:50:29,334 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:50:29,336 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:50:29,362 - jwst.photom.photom - INFO - Working on slit 2146
2026-09-09 18:50:29,363 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:50:29,364 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:50:29,396 - stpipe.step - INFO - Step photom done
2026-09-09 18:50:30,078 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcalong_cal.fits>,).
2026-09-09 18:50:30,079 - stpipe.step - INFO - Step skipped.
2026-09-09 18:50:30,365 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcalong_cal.fits>,).
2026-09-09 18:50:30,366 - stpipe.step - INFO - Step skipped.
2026-09-09 18:50:31,023 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcalong_cal.fits>,).
2026-09-09 18:50:31,029 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:50:31,090 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:50:31,091 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:50:31,092 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:50:31,098 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:50:31,722 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 18:50:31,723 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:50:31,724 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:50:31,729 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:50:32,246 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 18:50:32,248 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:50:32,249 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:50:32,254 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:50:32,614 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:50:32,616 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:50:32,617 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 91.00 (inclusive)
2026-09-09 18:50:32,671 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 18:50:32,672 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:50:32,674 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:50:32,679 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:50:33,237 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 18:50:33,238 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:50:33,241 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:50:33,247 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:50:33,483 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 18:50:33,484 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:50:33,485 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:50:33,490 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:50:34,029 - jwst.extract_1d.extract - INFO - Working on slit 2144
2026-09-09 18:50:34,030 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:50:34,031 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 7.00 (inclusive)
2026-09-09 18:50:34,036 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:50:34,137 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 18:50:34,138 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:50:34,139 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:50:34,144 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:50:34,549 - jwst.extract_1d.extract - INFO - Working on slit 2146
2026-09-09 18:50:34,550 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:50:34,551 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 73.00 (inclusive)
2026-09-09 18:50:34,811 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcalong_x1d.fits
2026-09-09 18:50:34,811 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:50:34,812 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00002_nrcalong
2026-09-09 18:50:34,815 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:50:34,816 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:50:35,477 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcalong_cal.fits
2026-09-09 18:50:35,478 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:50:35,479 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:50:35,491 - py.warnings - WARNING - /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-09-09 18:50:35,541 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:50:35,557 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:50:35,570 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:50:35,594 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:50:35,595 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:50:35,596 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:50:35,598 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:50:35,599 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:50:35,600 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:50:35,601 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:50:35,603 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:50:35,607 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:50:35,608 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:50:35,610 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:50:35,610 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:50:35,611 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:50:35,613 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:50:35,614 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:50:35,615 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:50:35,617 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:50:35,618 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:50:35,619 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:50:35,620 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:50:35,621 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:50:35,622 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:50:35,624 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:50:35,625 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:50:35,625 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:50:35,627 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:50:35,628 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:50:35,629 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:50:35,630 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:50:35,631 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:50:35,633 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:50:35,634 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:50:36,000 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00002_nrcalong_spec2_asn.json',).
2026-09-09 18:50:36,036 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:50:36,101 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00002_nrcalong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:50:36,106 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:50:36,107 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:50:36,107 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:50:36,108 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0045.fits'.
2026-09-09 18:50:36,109 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:50:36,110 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:50:36,110 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:50:36,111 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:50:36,111 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:50:36,112 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:50:36,112 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:50:36,113 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:50:36,114 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:50:36,114 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:50:36,115 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:50:36,115 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:50:36,116 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:50:36,116 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:50:36,117 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:50:36,118 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:50:36,118 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:50:36,119 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:50:36,119 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:50:36,120 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:50:36,120 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:50:36,121 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:50:36,122 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:50:36,122 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits'.
2026-09-09 18:50:36,123 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:50:36,124 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:50:36,124 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:50:36,125 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:50:36,125 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:50:36,126 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0217.asdf'.
2026-09-09 18:50:36,126 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:50:36,127 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:50:36,129 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:50:36,136 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00002_nrcalong
2026-09-09 18:50:36,136 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00002_nrcalong_rate.fits ...
2026-09-09 18:50:36,198 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:50:36,199 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:50:36,200 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:50:36,437 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcalong_rate.fits>,).
2026-09-09 18:50:36,498 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498274518972
2026-09-09 18:50:36,612 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:50:36,613 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:50:36,759 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:50:37,002 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcalong_rate.fits>, [], []).
2026-09-09 18:50:37,003 - stpipe.step - INFO - Step skipped.
2026-09-09 18:50:37,245 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcalong_rate.fits>,).
2026-09-09 18:50:37,246 - stpipe.step - INFO - Step skipped.
2026-09-09 18:50:37,488 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcalong_rate.fits>,).
2026-09-09 18:50:37,489 - stpipe.step - INFO - Step skipped.
2026-09-09 18:50:37,733 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcalong_rate.fits>, []).
2026-09-09 18:50:37,734 - stpipe.step - INFO - Step skipped.
2026-09-09 18:50:37,981 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcalong_rate.fits>, []).
2026-09-09 18:50:38,035 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcalong_rate.fits> ...
2026-09-09 18:50:38,043 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0045.fits
2026-09-09 18:50:38,044 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:50:38,124 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:50:38,125 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:50:38,125 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:50:43,383 - jwst.assign_wcs.util - INFO - Total of 227 grism objects defined
2026-09-09 18:50:43,411 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:50:43,413 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:50:43,424 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:50:43,841 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:50:43,906 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.847e-01
2026-09-09 18:50:43,906 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.84548e-01
2026-09-09 18:50:44,061 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_bsub.fits
2026-09-09 18:50:44,062 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:50:44,302 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:50:44,374 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:50:44,374 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:50:44,375 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:50:44,375 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:50:44,502 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:50:44,739 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:50:44,744 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:50:44,901 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:50:44,902 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:51:12,293 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:51:12,338 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:51:12,339 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:51:12,412 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:51:12,413 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1694, xmax:1704), (ymin:0, ymax:1048)
2026-09-09 18:51:12,577 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2163 order: 1:
2026-09-09 18:51:12,577 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:761, xmax:771), (ymin:0, ymax:360)
2026-09-09 18:51:12,739 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2339 order: 1:
2026-09-09 18:51:12,740 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:402, xmax:412), (ymin:585, ymax:1719)
2026-09-09 18:51:12,905 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2154 order: 1:
2026-09-09 18:51:12,906 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1234, xmax:1244), (ymin:0, ymax:172)
2026-09-09 18:51:13,066 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 662 order: 1:
2026-09-09 18:51:13,067 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:157, xmax:167), (ymin:0, ymax:842)
2026-09-09 18:51:13,230 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1334 order: 1:
2026-09-09 18:51:13,231 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:841, xmax:851), (ymin:689, ymax:1782)
2026-09-09 18:51:13,395 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1935 order: 1:
2026-09-09 18:51:13,396 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1869, xmax:1879), (ymin:1454, ymax:2048)
2026-09-09 18:51:13,558 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2338 order: 1:
2026-09-09 18:51:13,558 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:559, xmax:569), (ymin:611, ymax:1687)
2026-09-09 18:51:13,722 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1299 order: 1:
2026-09-09 18:51:13,723 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1649, xmax:1659), (ymin:649, ymax:1726)
2026-09-09 18:51:13,886 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2170 order: 1:
2026-09-09 18:51:13,887 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1409, xmax:1474), (ymin:0, ymax:338)
2026-09-09 18:51:14,257 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:51:14,263 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:51:14,541 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:51:14,542 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:51:14,543 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:51:14,543 - jwst.srctype.srctype - INFO - source_id=2163, type=POINT
2026-09-09 18:51:14,544 - jwst.srctype.srctype - INFO - source_id=2339, type=POINT
2026-09-09 18:51:14,545 - jwst.srctype.srctype - INFO - source_id=2154, type=POINT
2026-09-09 18:51:14,546 - jwst.srctype.srctype - INFO - source_id=662, type=POINT
2026-09-09 18:51:14,547 - jwst.srctype.srctype - INFO - source_id=1334, type=POINT
2026-09-09 18:51:14,548 - jwst.srctype.srctype - INFO - source_id=1935, type=POINT
2026-09-09 18:51:14,548 - jwst.srctype.srctype - INFO - source_id=2338, type=POINT
2026-09-09 18:51:14,549 - jwst.srctype.srctype - INFO - source_id=1299, type=POINT
2026-09-09 18:51:14,550 - jwst.srctype.srctype - INFO - source_id=2170, type=EXTENDED
2026-09-09 18:51:14,554 - stpipe.step - INFO - Step srctype done
2026-09-09 18:51:14,821 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:51:14,822 - stpipe.step - INFO - Step skipped.
2026-09-09 18:51:15,091 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:51:15,092 - stpipe.step - INFO - Step skipped.
2026-09-09 18:51:15,407 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:51:15,408 - stpipe.step - INFO - Step skipped.
2026-09-09 18:51:15,693 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:51:15,694 - stpipe.step - INFO - Step skipped.
2026-09-09 18:51:15,992 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:51:15,993 - stpipe.step - INFO - Step skipped.
2026-09-09 18:51:16,275 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcalong_bsub.fits>,).
2026-09-09 18:51:16,285 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits
2026-09-09 18:51:16,286 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:51:16,287 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:51:16,287 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:51:16,288 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:51:16,289 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:51:16,289 - jwst.photom.photom - INFO -  pupil: GRISMC
2026-09-09 18:51:16,319 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:51:16,320 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:51:16,322 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:51:16,323 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:51:16,325 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:51:16,351 - jwst.photom.photom - INFO - Working on slit 2163
2026-09-09 18:51:16,352 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:51:16,354 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:51:16,380 - jwst.photom.photom - INFO - Working on slit 2339
2026-09-09 18:51:16,381 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:51:16,382 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:51:16,408 - jwst.photom.photom - INFO - Working on slit 2154
2026-09-09 18:51:16,409 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:51:16,411 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:51:16,437 - jwst.photom.photom - INFO - Working on slit 662
2026-09-09 18:51:16,438 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:51:16,440 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:51:16,466 - jwst.photom.photom - INFO - Working on slit 1334
2026-09-09 18:51:16,467 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:51:16,468 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:51:16,494 - jwst.photom.photom - INFO - Working on slit 1935
2026-09-09 18:51:16,495 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:51:16,497 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:51:16,523 - jwst.photom.photom - INFO - Working on slit 2338
2026-09-09 18:51:16,524 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:51:16,525 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:51:16,552 - jwst.photom.photom - INFO - Working on slit 1299
2026-09-09 18:51:16,553 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:51:16,555 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:51:16,581 - jwst.photom.photom - INFO - Working on slit 2170
2026-09-09 18:51:16,582 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:51:16,583 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:51:16,615 - stpipe.step - INFO - Step photom done
2026-09-09 18:51:17,263 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_cal.fits>,).
2026-09-09 18:51:17,264 - stpipe.step - INFO - Step skipped.
2026-09-09 18:51:17,543 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_cal.fits>,).
2026-09-09 18:51:17,544 - stpipe.step - INFO - Step skipped.
2026-09-09 18:51:18,206 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_cal.fits>,).
2026-09-09 18:51:18,212 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:51:18,271 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:51:18,272 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:51:18,273 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:51:18,279 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:51:18,808 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 18:51:18,809 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:51:18,810 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:51:18,815 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:51:19,039 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 18:51:19,040 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:51:19,041 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:51:19,046 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:51:19,610 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 18:51:19,612 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:51:19,612 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:51:19,618 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:51:19,754 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 18:51:19,755 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:51:19,756 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:51:19,762 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:51:20,203 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 18:51:20,205 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:51:20,206 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:51:20,211 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:51:20,767 - jwst.extract_1d.extract - INFO - Working on slit 1935
2026-09-09 18:51:20,768 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:51:20,769 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:51:20,774 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:51:21,099 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 18:51:21,100 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:51:21,101 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:51:21,107 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:51:21,652 - jwst.extract_1d.extract - INFO - Working on slit 1299
2026-09-09 18:51:21,653 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:51:21,654 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:51:21,659 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:51:22,196 - jwst.extract_1d.extract - INFO - Working on slit 2170
2026-09-09 18:51:22,197 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:51:22,199 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 65.00 (inclusive)
2026-09-09 18:51:22,453 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_x1d.fits
2026-09-09 18:51:22,454 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:51:22,455 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00002_nrcalong
2026-09-09 18:51:22,458 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:51:22,459 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:51:23,119 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_cal.fits
2026-09-09 18:51:23,120 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:51:23,121 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:51:23,133 - py.warnings - WARNING - /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-09-09 18:51:23,183 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:51:23,199 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:51:23,213 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:51:23,237 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:51:23,239 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:51:23,240 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:51:23,241 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:51:23,243 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:51:23,244 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:51:23,245 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:51:23,246 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:51:23,251 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:51:23,252 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:51:23,253 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:51:23,255 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:51:23,256 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:51:23,257 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:51:23,258 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:51:23,259 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:51:23,260 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:51:23,261 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:51:23,263 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:51:23,264 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:51:23,265 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:51:23,266 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:51:23,268 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:51:23,269 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:51:23,270 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:51:23,271 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:51:23,272 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:51:23,273 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:51:23,274 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:51:23,275 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:51:23,277 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:51:23,279 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:51:23,608 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00002_nrcblong_spec2_asn.json',).
2026-09-09 18:51:23,644 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:51:23,711 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00002_nrcblong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:51:23,717 - CRDS - INFO -  Syncing 2 files
2026-09-09 18:51:23,717 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0031.fits   50.4 M bytes  (1 / 2 files) (0 / 50.4 M bytes)
2026-09-09 18:51:26,010 - CRDS - INFO -  Fetching  /home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0234.asdf    9.4 K bytes  (2 / 2 files) (50.4 M / 50.4 M bytes)
2026-09-09 18:51:26,253 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:51:26,254 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:51:26,254 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:51:26,255 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0031.fits'.
2026-09-09 18:51:26,256 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:51:26,256 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:51:26,257 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:51:26,257 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:51:26,258 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:51:26,258 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:51:26,259 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:51:26,259 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:51:26,260 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:51:26,260 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:51:26,261 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:51:26,261 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:51:26,262 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:51:26,262 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:51:26,263 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:51:26,263 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:51:26,264 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:51:26,264 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:51:26,265 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:51:26,265 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:51:26,266 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:51:26,267 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:51:26,267 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:51:26,268 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits'.
2026-09-09 18:51:26,269 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:51:26,269 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:51:26,271 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:51:26,271 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:51:26,272 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:51:26,272 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0234.asdf'.
2026-09-09 18:51:26,273 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:51:26,274 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:51:26,274 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:51:26,281 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00002_nrcblong
2026-09-09 18:51:26,282 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00002_nrcblong_rate.fits ...
2026-09-09 18:51:26,347 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:51:26,348 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:51:26,349 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:51:26,587 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcblong_rate.fits>,).
2026-09-09 18:51:26,648 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498280857322
2026-09-09 18:51:26,761 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:51:26,763 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:51:26,910 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:51:27,157 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcblong_rate.fits>, [], []).
2026-09-09 18:51:27,158 - stpipe.step - INFO - Step skipped.
2026-09-09 18:51:27,409 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcblong_rate.fits>,).
2026-09-09 18:51:27,410 - stpipe.step - INFO - Step skipped.
2026-09-09 18:51:27,652 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcblong_rate.fits>,).
2026-09-09 18:51:27,652 - stpipe.step - INFO - Step skipped.
2026-09-09 18:51:27,902 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcblong_rate.fits>, []).
2026-09-09 18:51:27,903 - stpipe.step - INFO - Step skipped.
2026-09-09 18:51:28,148 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcblong_rate.fits>, []).
2026-09-09 18:51:28,209 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcblong_rate.fits> ...
2026-09-09 18:51:28,217 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0031.fits
2026-09-09 18:51:28,218 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:51:28,289 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:51:28,290 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:51:28,290 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:51:33,520 - jwst.assign_wcs.util - INFO - Total of 283 grism objects defined
2026-09-09 18:51:33,547 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:51:33,549 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:51:33,560 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:51:33,938 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:51:34,002 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.575e-01
2026-09-09 18:51:34,003 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.57738e-01
2026-09-09 18:51:34,155 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_bsub.fits
2026-09-09 18:51:34,156 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:51:34,398 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:51:34,469 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:51:34,469 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:51:34,470 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:51:34,470 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:51:34,596 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:51:34,839 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:51:34,844 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:51:34,999 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:51:34,999 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:52:02,124 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:52:02,174 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:52:02,174 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:52:02,246 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2130 order: 1:
2026-09-09 18:52:02,247 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1909, xmax:1919), (ymin:0, ymax:203)
2026-09-09 18:52:02,413 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2131 order: 1:
2026-09-09 18:52:02,414 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1873, xmax:1883), (ymin:0, ymax:285)
2026-09-09 18:52:02,572 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:52:02,573 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:39, xmax:150), (ymin:0, ymax:226)
2026-09-09 18:52:02,751 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2224 order: 1:
2026-09-09 18:52:02,752 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1255, xmax:1361), (ymin:0, ymax:701)
2026-09-09 18:52:02,935 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 911 order: 1:
2026-09-09 18:52:02,936 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1012, xmax:1022), (ymin:127, ymax:1224)
2026-09-09 18:52:03,095 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2411 order: 1:
2026-09-09 18:52:03,096 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1259, xmax:1269), (ymin:1065, ymax:2048)
2026-09-09 18:52:03,259 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1938 order: 1:
2026-09-09 18:52:03,260 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:928, xmax:938), (ymin:1489, ymax:2048)
2026-09-09 18:52:03,418 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2227 order: 1:
2026-09-09 18:52:03,419 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1278, xmax:1288), (ymin:0, ymax:743)
2026-09-09 18:52:03,580 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2295 order: 1:
2026-09-09 18:52:03,581 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:514, xmax:591), (ymin:140, ymax:1221)
2026-09-09 18:52:03,758 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 752 order: 1:
2026-09-09 18:52:03,759 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1191, xmax:1201), (ymin:0, ymax:998)
2026-09-09 18:52:04,115 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:52:04,121 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:52:04,395 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:04,396 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:52:04,397 - jwst.srctype.srctype - INFO - source_id=2130, type=POINT
2026-09-09 18:52:04,397 - jwst.srctype.srctype - INFO - source_id=2131, type=POINT
2026-09-09 18:52:04,398 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:52:04,399 - jwst.srctype.srctype - INFO - source_id=2224, type=EXTENDED
2026-09-09 18:52:04,399 - jwst.srctype.srctype - INFO - source_id=911, type=POINT
2026-09-09 18:52:04,400 - jwst.srctype.srctype - INFO - source_id=2411, type=POINT
2026-09-09 18:52:04,401 - jwst.srctype.srctype - INFO - source_id=1938, type=POINT
2026-09-09 18:52:04,401 - jwst.srctype.srctype - INFO - source_id=2227, type=POINT
2026-09-09 18:52:04,402 - jwst.srctype.srctype - INFO - source_id=2295, type=EXTENDED
2026-09-09 18:52:04,402 - jwst.srctype.srctype - INFO - source_id=752, type=POINT
2026-09-09 18:52:04,406 - stpipe.step - INFO - Step srctype done
2026-09-09 18:52:04,664 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:04,665 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:04,926 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:04,927 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:05,188 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:05,189 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:05,448 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:05,449 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:05,705 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:05,706 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:05,971 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_07101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:05,981 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits
2026-09-09 18:52:05,982 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:52:05,983 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:52:05,983 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:52:05,983 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:52:05,984 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:52:05,985 - jwst.photom.photom - INFO -  pupil: GRISMC
2026-09-09 18:52:06,014 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:52:06,015 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:52:06,017 - jwst.photom.photom - INFO - Working on slit 2130
2026-09-09 18:52:06,018 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:52:06,020 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:06,046 - jwst.photom.photom - INFO - Working on slit 2131
2026-09-09 18:52:06,047 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:52:06,048 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:06,074 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:52:06,076 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:52:06,077 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:06,104 - jwst.photom.photom - INFO - Working on slit 2224
2026-09-09 18:52:06,105 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:52:06,106 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:06,135 - jwst.photom.photom - INFO - Working on slit 911
2026-09-09 18:52:06,136 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:52:06,138 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:06,164 - jwst.photom.photom - INFO - Working on slit 2411
2026-09-09 18:52:06,165 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:52:06,167 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:06,193 - jwst.photom.photom - INFO - Working on slit 1938
2026-09-09 18:52:06,194 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:52:06,195 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:06,222 - jwst.photom.photom - INFO - Working on slit 2227
2026-09-09 18:52:06,223 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:52:06,224 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:06,251 - jwst.photom.photom - INFO - Working on slit 2295
2026-09-09 18:52:06,252 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:52:06,253 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:06,282 - jwst.photom.photom - INFO - Working on slit 752
2026-09-09 18:52:06,283 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:52:06,284 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:06,315 - stpipe.step - INFO - Step photom done
2026-09-09 18:52:06,963 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_cal.fits>,).
2026-09-09 18:52:06,964 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:07,243 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_cal.fits>,).
2026-09-09 18:52:07,244 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:07,911 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_cal.fits>,).
2026-09-09 18:52:07,918 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:52:07,977 - jwst.extract_1d.extract - INFO - Working on slit 2130
2026-09-09 18:52:07,978 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:07,979 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:07,985 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:08,134 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 18:52:08,135 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:08,136 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:08,141 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:08,330 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:52:08,331 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:52:08,332 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 111.00 (inclusive)
2026-09-09 18:52:08,387 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 18:52:08,389 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:52:08,390 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 106.00 (inclusive)
2026-09-09 18:52:08,448 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 18:52:08,449 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:08,450 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:08,456 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:09,010 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 18:52:09,011 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:09,012 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:09,017 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:09,514 - jwst.extract_1d.extract - INFO - Working on slit 1938
2026-09-09 18:52:09,515 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:09,516 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:09,522 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:09,830 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 18:52:09,831 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:09,832 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:09,837 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:10,229 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 18:52:10,231 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:52:10,233 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 77.00 (inclusive)
2026-09-09 18:52:10,292 - jwst.extract_1d.extract - INFO - Working on slit 752
2026-09-09 18:52:10,293 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:10,294 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:10,299 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:11,009 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_x1d.fits
2026-09-09 18:52:11,009 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:52:11,010 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00002_nrcblong
2026-09-09 18:52:11,013 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:52:11,014 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:52:11,688 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_cal.fits
2026-09-09 18:52:11,689 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:52:11,690 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:52:11,702 - py.warnings - WARNING - /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-09-09 18:52:11,752 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:52:11,768 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:52:11,781 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:52:11,804 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:52:11,806 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:52:11,807 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:52:11,808 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:52:11,810 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:52:11,811 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:52:11,812 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:52:11,813 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:52:11,818 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:52:11,819 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:52:11,820 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:52:11,821 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:52:11,822 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:52:11,823 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:52:11,824 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:52:11,826 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:52:11,827 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:52:11,828 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:52:11,829 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:52:11,830 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:52:11,831 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:52:11,832 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:52:11,834 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:52:11,835 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:52:11,836 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:52:11,837 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:52:11,838 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:52:11,839 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:52:11,840 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:52:11,841 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:52:11,843 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:52:11,844 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:52:12,179 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00002_nrcblong_spec2_asn.json',).
2026-09-09 18:52:12,215 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:52:12,280 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00002_nrcblong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:52:12,284 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:52:12,285 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:52:12,286 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:52:12,286 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0029.fits'.
2026-09-09 18:52:12,287 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:52:12,288 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:52:12,288 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:52:12,289 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:52:12,289 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:52:12,289 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:52:12,290 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:52:12,291 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:52:12,291 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:52:12,292 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:52:12,293 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:52:12,293 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:52:12,294 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:52:12,294 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:52:12,295 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:52:12,296 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:52:12,296 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:52:12,297 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:52:12,297 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:52:12,298 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:52:12,298 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:52:12,299 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:52:12,299 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:52:12,301 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits'.
2026-09-09 18:52:12,301 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:52:12,302 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:52:12,302 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:52:12,303 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:52:12,303 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:52:12,304 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0251.asdf'.
2026-09-09 18:52:12,305 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:52:12,305 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:52:12,306 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:52:12,313 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00002_nrcblong
2026-09-09 18:52:12,313 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00002_nrcblong_rate.fits ...
2026-09-09 18:52:12,382 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:52:12,383 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:52:12,384 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:52:12,633 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcblong_rate.fits>,).
2026-09-09 18:52:12,694 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498287195672
2026-09-09 18:52:12,810 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:52:12,812 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:52:12,962 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:52:13,206 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcblong_rate.fits>, [], []).
2026-09-09 18:52:13,207 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:13,453 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcblong_rate.fits>,).
2026-09-09 18:52:13,454 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:13,703 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcblong_rate.fits>,).
2026-09-09 18:52:13,704 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:13,951 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcblong_rate.fits>, []).
2026-09-09 18:52:13,952 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:14,195 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcblong_rate.fits>, []).
2026-09-09 18:52:14,265 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcblong_rate.fits> ...
2026-09-09 18:52:14,272 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0029.fits
2026-09-09 18:52:14,273 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:52:14,350 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:52:14,351 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:52:14,352 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:52:19,607 - jwst.assign_wcs.util - INFO - Total of 261 grism objects defined
2026-09-09 18:52:19,634 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:52:19,636 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:52:19,647 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:52:20,074 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:52:20,138 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.543e-01
2026-09-09 18:52:20,139 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.75038e-01
2026-09-09 18:52:20,297 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcblong_bsub.fits
2026-09-09 18:52:20,298 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:52:20,551 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:20,621 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:52:20,622 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:52:20,623 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:52:20,623 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:52:20,752 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:52:21,000 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:21,005 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:52:21,160 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:52:21,160 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:52:48,300 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:52:48,343 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:52:48,346 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:52:48,417 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:52:48,418 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:31), (ymin:790, ymax:800)
2026-09-09 18:52:48,575 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2202 order: 1:
2026-09-09 18:52:48,576 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1970, xmax:2048), (ymin:320, ymax:330)
2026-09-09 18:52:48,732 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:52:48,733 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1095), (ymin:0, ymax:75)
2026-09-09 18:52:48,918 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2224 order: 1:
2026-09-09 18:52:48,919 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1176, xmax:2048), (ymin:451, ymax:545)
2026-09-09 18:52:49,100 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 911 order: 1:
2026-09-09 18:52:49,101 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:894, xmax:2003), (ymin:1030, ymax:1040)
2026-09-09 18:52:49,264 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2411 order: 1:
2026-09-09 18:52:49,265 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1134, xmax:2048), (ymin:1984, ymax:1994)
2026-09-09 18:52:49,428 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2227 order: 1:
2026-09-09 18:52:49,428 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1164, xmax:2048), (ymin:548, ymax:558)
2026-09-09 18:52:49,589 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2295 order: 1:
2026-09-09 18:52:49,590 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:435, xmax:1532), (ymin:1006, ymax:1065)
2026-09-09 18:52:49,770 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2136 order: 1:
2026-09-09 18:52:49,771 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1921, xmax:2048), (ymin:152, ymax:162)
2026-09-09 18:52:49,936 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 752 order: 1:
2026-09-09 18:52:49,937 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1083, xmax:2048), (ymin:804, ymax:814)
2026-09-09 18:52:50,298 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:52:50,305 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:52:50,586 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:50,587 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:52:50,588 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:52:50,588 - jwst.srctype.srctype - INFO - source_id=2202, type=POINT
2026-09-09 18:52:50,589 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:52:50,590 - jwst.srctype.srctype - INFO - source_id=2224, type=EXTENDED
2026-09-09 18:52:50,591 - jwst.srctype.srctype - INFO - source_id=911, type=POINT
2026-09-09 18:52:50,591 - jwst.srctype.srctype - INFO - source_id=2411, type=POINT
2026-09-09 18:52:50,592 - jwst.srctype.srctype - INFO - source_id=2227, type=POINT
2026-09-09 18:52:50,593 - jwst.srctype.srctype - INFO - source_id=2295, type=EXTENDED
2026-09-09 18:52:50,593 - jwst.srctype.srctype - INFO - source_id=2136, type=POINT
2026-09-09 18:52:50,594 - jwst.srctype.srctype - INFO - source_id=752, type=POINT
2026-09-09 18:52:50,598 - stpipe.step - INFO - Step srctype done
2026-09-09 18:52:50,861 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:50,862 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:51,131 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:51,132 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:51,394 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:51,395 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:51,668 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:51,669 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:51,934 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:51,935 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:52,199 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_02101_00002_nrcblong_bsub.fits>,).
2026-09-09 18:52:52,209 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits
2026-09-09 18:52:52,209 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:52:52,210 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:52:52,210 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:52:52,211 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:52:52,211 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:52:52,212 - jwst.photom.photom - INFO -  pupil: GRISMR
2026-09-09 18:52:52,241 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:52:52,242 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:52:52,245 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:52:52,245 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:52:52,247 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:52,273 - jwst.photom.photom - INFO - Working on slit 2202
2026-09-09 18:52:52,274 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:52:52,275 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:52,301 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:52:52,302 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:52:52,304 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:52,331 - jwst.photom.photom - INFO - Working on slit 2224
2026-09-09 18:52:52,332 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:52:52,333 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:52,361 - jwst.photom.photom - INFO - Working on slit 911
2026-09-09 18:52:52,362 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:52:52,364 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:52,390 - jwst.photom.photom - INFO - Working on slit 2411
2026-09-09 18:52:52,391 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:52:52,392 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:52,419 - jwst.photom.photom - INFO - Working on slit 2227
2026-09-09 18:52:52,420 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:52:52,421 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:52,447 - jwst.photom.photom - INFO - Working on slit 2295
2026-09-09 18:52:52,449 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:52:52,450 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:52,481 - jwst.photom.photom - INFO - Working on slit 2136
2026-09-09 18:52:52,482 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:52:52,484 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:52,510 - jwst.photom.photom - INFO - Working on slit 752
2026-09-09 18:52:52,512 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:52:52,513 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:52:52,544 - stpipe.step - INFO - Step photom done
2026-09-09 18:52:53,207 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcblong_cal.fits>,).
2026-09-09 18:52:53,208 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:53,494 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcblong_cal.fits>,).
2026-09-09 18:52:53,495 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:54,202 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcblong_cal.fits>,).
2026-09-09 18:52:54,209 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:52:54,270 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:52:54,271 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:54,272 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:54,277 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:54,352 - jwst.extract_1d.extract - INFO - Working on slit 2202
2026-09-09 18:52:54,353 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:54,354 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:54,359 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:54,455 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:52:54,456 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:52:54,458 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 75.00 (inclusive)
2026-09-09 18:52:54,519 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 18:52:54,520 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:52:54,522 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 94.00 (inclusive)
2026-09-09 18:52:54,582 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 18:52:54,583 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:54,584 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:54,589 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:55,158 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 18:52:55,159 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:55,160 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:55,167 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:55,633 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 18:52:55,634 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:55,635 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:55,640 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:56,090 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 18:52:56,091 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:52:56,093 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 59.00 (inclusive)
2026-09-09 18:52:56,153 - jwst.extract_1d.extract - INFO - Working on slit 2136
2026-09-09 18:52:56,154 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:56,155 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:56,160 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:56,275 - jwst.extract_1d.extract - INFO - Working on slit 752
2026-09-09 18:52:56,276 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:52:56,277 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:52:56,282 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:52:56,971 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcblong_x1d.fits
2026-09-09 18:52:56,972 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:52:56,973 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00002_nrcblong
2026-09-09 18:52:56,975 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:52:56,976 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:52:57,638 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcblong_cal.fits
2026-09-09 18:52:57,638 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:52:57,639 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:52:57,651 - py.warnings - WARNING - /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-09-09 18:52:57,700 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:52:57,716 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:52:57,729 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:52:57,753 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:52:57,754 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:52:57,755 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:52:57,756 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:52:57,757 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:52:57,758 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:52:57,759 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:52:57,761 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:52:57,765 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:52:57,766 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:52:57,768 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:52:57,769 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:52:57,770 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:52:57,771 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:52:57,772 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:52:57,773 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:52:57,774 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:52:57,776 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:52:57,777 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:52:57,777 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:52:57,779 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:52:57,779 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:52:57,781 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:52:57,782 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:52:57,783 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:52:57,784 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:52:57,785 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:52:57,786 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:52:57,787 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:52:57,788 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:52:57,790 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:52:57,792 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:52:58,144 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00001_nrcblong_spec2_asn.json',).
2026-09-09 18:52:58,180 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:52:58,245 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00001_nrcblong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:52:58,250 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:52:58,251 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:52:58,251 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:52:58,252 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0029.fits'.
2026-09-09 18:52:58,253 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:52:58,253 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:52:58,254 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:52:58,254 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:52:58,255 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:52:58,256 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:52:58,256 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:52:58,257 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:52:58,258 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:52:58,258 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:52:58,259 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:52:58,260 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:52:58,260 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:52:58,261 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:52:58,261 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:52:58,262 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:52:58,262 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:52:58,263 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:52:58,263 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:52:58,264 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:52:58,264 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:52:58,265 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:52:58,265 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:52:58,266 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits'.
2026-09-09 18:52:58,266 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:52:58,267 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:52:58,267 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:52:58,268 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:52:58,268 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:52:58,269 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0251.asdf'.
2026-09-09 18:52:58,270 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:52:58,270 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:52:58,271 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:52:58,279 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00001_nrcblong
2026-09-09 18:52:58,280 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00001_nrcblong_rate.fits ...
2026-09-09 18:52:58,351 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:52:58,352 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:52:58,353 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:52:58,594 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcblong_rate.fits>,).
2026-09-09 18:52:58,656 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498280857322
2026-09-09 18:52:58,770 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:52:58,772 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:52:58,919 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:52:59,163 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcblong_rate.fits>, [], []).
2026-09-09 18:52:59,163 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:59,404 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcblong_rate.fits>,).
2026-09-09 18:52:59,404 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:59,646 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcblong_rate.fits>,).
2026-09-09 18:52:59,646 - stpipe.step - INFO - Step skipped.
2026-09-09 18:52:59,899 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcblong_rate.fits>, []).
2026-09-09 18:52:59,900 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:00,148 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcblong_rate.fits>, []).
2026-09-09 18:53:00,208 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcblong_rate.fits> ...
2026-09-09 18:53:00,216 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0029.fits
2026-09-09 18:53:00,217 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:53:00,291 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:53:00,291 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:53:00,292 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:53:05,562 - jwst.assign_wcs.util - INFO - Total of 260 grism objects defined
2026-09-09 18:53:05,588 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:53:05,590 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:53:05,601 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:53:06,005 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:53:06,070 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.489e-01
2026-09-09 18:53:06,071 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.68921e-01
2026-09-09 18:53:06,228 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcblong_bsub.fits
2026-09-09 18:53:06,229 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:53:06,485 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:53:06,557 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:53:06,558 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:53:06,558 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:53:06,559 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:53:06,684 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:53:06,931 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:53:06,936 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:53:07,089 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:53:07,090 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:53:34,459 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:53:34,502 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:53:34,505 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:53:34,577 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:53:34,577 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:9), (ymin:798, ymax:808)
2026-09-09 18:53:34,736 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2131 order: 1:
2026-09-09 18:53:34,737 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1547, xmax:2048), (ymin:0, ymax:5)
2026-09-09 18:53:34,896 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2202 order: 1:
2026-09-09 18:53:34,897 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1948, xmax:2048), (ymin:328, ymax:338)
2026-09-09 18:53:35,055 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:53:35,055 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1073), (ymin:0, ymax:82)
2026-09-09 18:53:35,253 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2224 order: 1:
2026-09-09 18:53:35,254 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1155, xmax:2048), (ymin:459, ymax:553)
2026-09-09 18:53:35,444 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 911 order: 1:
2026-09-09 18:53:35,444 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:873, xmax:1981), (ymin:1038, ymax:1048)
2026-09-09 18:53:35,610 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2411 order: 1:
2026-09-09 18:53:35,611 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1112, xmax:2048), (ymin:1992, ymax:2002)
2026-09-09 18:53:35,769 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2227 order: 1:
2026-09-09 18:53:35,770 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1142, xmax:2048), (ymin:556, ymax:566)
2026-09-09 18:53:35,932 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2295 order: 1:
2026-09-09 18:53:35,933 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:414, xmax:1511), (ymin:1014, ymax:1073)
2026-09-09 18:53:36,106 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2136 order: 1:
2026-09-09 18:53:36,107 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1900, xmax:2048), (ymin:159, ymax:169)
2026-09-09 18:53:36,473 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:53:36,480 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:53:36,765 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:53:36,766 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:53:36,767 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:53:36,768 - jwst.srctype.srctype - INFO - source_id=2131, type=POINT
2026-09-09 18:53:36,768 - jwst.srctype.srctype - INFO - source_id=2202, type=POINT
2026-09-09 18:53:36,769 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:53:36,770 - jwst.srctype.srctype - INFO - source_id=2224, type=EXTENDED
2026-09-09 18:53:36,771 - jwst.srctype.srctype - INFO - source_id=911, type=POINT
2026-09-09 18:53:36,771 - jwst.srctype.srctype - INFO - source_id=2411, type=POINT
2026-09-09 18:53:36,772 - jwst.srctype.srctype - INFO - source_id=2227, type=POINT
2026-09-09 18:53:36,773 - jwst.srctype.srctype - INFO - source_id=2295, type=EXTENDED
2026-09-09 18:53:36,773 - jwst.srctype.srctype - INFO - source_id=2136, type=POINT
2026-09-09 18:53:36,777 - stpipe.step - INFO - Step srctype done
2026-09-09 18:53:37,039 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:53:37,040 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:37,307 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:53:37,308 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:37,574 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:53:37,575 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:37,835 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:53:37,835 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:38,096 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:53:38,096 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:38,354 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:53:38,364 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits
2026-09-09 18:53:38,364 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:53:38,365 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:53:38,366 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:53:38,366 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:53:38,367 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:53:38,367 - jwst.photom.photom - INFO -  pupil: GRISMR
2026-09-09 18:53:38,396 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:53:38,396 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:53:38,399 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:53:38,400 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:53:38,401 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:53:38,428 - jwst.photom.photom - INFO - Working on slit 2131
2026-09-09 18:53:38,428 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:53:38,430 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:53:38,455 - jwst.photom.photom - INFO - Working on slit 2202
2026-09-09 18:53:38,457 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:53:38,458 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:53:38,484 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:53:38,485 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:53:38,486 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:53:38,514 - jwst.photom.photom - INFO - Working on slit 2224
2026-09-09 18:53:38,515 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:53:38,517 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:53:38,545 - jwst.photom.photom - INFO - Working on slit 911
2026-09-09 18:53:38,546 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:53:38,547 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:53:38,573 - jwst.photom.photom - INFO - Working on slit 2411
2026-09-09 18:53:38,574 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:53:38,575 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:53:38,602 - jwst.photom.photom - INFO - Working on slit 2227
2026-09-09 18:53:38,603 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:53:38,604 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:53:38,632 - jwst.photom.photom - INFO - Working on slit 2295
2026-09-09 18:53:38,633 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:53:38,634 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:53:38,662 - jwst.photom.photom - INFO - Working on slit 2136
2026-09-09 18:53:38,662 - jwst.photom.photom - INFO - PHOTMJSR value: 5324.88
2026-09-09 18:53:38,664 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:53:38,696 - stpipe.step - INFO - Step photom done
2026-09-09 18:53:39,406 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcblong_cal.fits>,).
2026-09-09 18:53:39,406 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:39,701 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcblong_cal.fits>,).
2026-09-09 18:53:39,702 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:40,377 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcblong_cal.fits>,).
2026-09-09 18:53:40,383 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:53:40,442 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:53:40,444 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:53:40,445 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:53:40,450 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:53:40,513 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 18:53:40,515 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:53:40,516 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 5.00 (inclusive)
2026-09-09 18:53:40,521 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:53:40,807 - jwst.extract_1d.extract - INFO - Working on slit 2202
2026-09-09 18:53:40,808 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:53:40,809 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:53:40,814 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:53:40,919 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:53:40,921 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:53:40,922 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 82.00 (inclusive)
2026-09-09 18:53:40,985 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 18:53:40,986 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:53:40,988 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 94.00 (inclusive)
2026-09-09 18:53:41,050 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 18:53:41,051 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:53:41,053 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:53:41,058 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:53:41,614 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 18:53:41,616 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:53:41,617 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:53:41,622 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:53:42,097 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 18:53:42,098 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:53:42,099 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:53:42,104 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:53:42,572 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 18:53:42,574 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:53:42,576 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 59.00 (inclusive)
2026-09-09 18:53:42,636 - jwst.extract_1d.extract - INFO - Working on slit 2136
2026-09-09 18:53:42,637 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:53:42,638 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:53:42,643 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:53:42,970 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcblong_x1d.fits
2026-09-09 18:53:42,971 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:53:42,972 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00001_nrcblong
2026-09-09 18:53:42,974 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:53:42,975 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:53:43,645 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcblong_cal.fits
2026-09-09 18:53:43,646 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:53:43,647 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:53:43,659 - py.warnings - WARNING - /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-09-09 18:53:43,710 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:53:43,726 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:53:43,739 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:53:43,762 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:53:43,764 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:53:43,765 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:53:43,766 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:53:43,767 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:53:43,768 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:53:43,769 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:53:43,771 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:53:43,776 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:53:43,777 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:53:43,778 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:53:43,779 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:53:43,780 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:53:43,781 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:53:43,782 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:53:43,784 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:53:43,785 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:53:43,786 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:53:43,787 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:53:43,787 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:53:43,789 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:53:43,790 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:53:43,791 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:53:43,792 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:53:43,793 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:53:43,794 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:53:43,795 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:53:43,796 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:53:43,797 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:53:43,799 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:53:43,800 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:53:43,802 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:53:44,195 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00003_nrcalong_spec2_asn.json',).
2026-09-09 18:53:44,233 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:53:44,300 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00003_nrcalong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:53:44,305 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:53:44,306 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:53:44,307 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:53:44,308 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0046.fits'.
2026-09-09 18:53:44,308 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:53:44,309 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:53:44,309 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:53:44,310 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:53:44,311 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:53:44,311 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:53:44,312 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:53:44,313 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:53:44,313 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:53:44,314 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:53:44,315 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:53:44,315 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:53:44,316 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:53:44,316 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:53:44,317 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:53:44,318 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:53:44,318 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:53:44,319 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:53:44,319 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:53:44,320 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:53:44,320 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:53:44,321 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:53:44,321 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:53:44,322 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits'.
2026-09-09 18:53:44,323 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:53:44,324 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:53:44,324 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:53:44,325 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:53:44,325 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:53:44,326 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0236.asdf'.
2026-09-09 18:53:44,327 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:53:44,328 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:53:44,328 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:53:44,335 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcalong
2026-09-09 18:53:44,336 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcalong_rate.fits ...
2026-09-09 18:53:44,402 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:53:44,403 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:53:44,404 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:53:44,644 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcalong_rate.fits>,).
2026-09-09 18:53:44,705 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498280857322
2026-09-09 18:53:44,818 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:53:44,820 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:53:44,967 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:53:45,217 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcalong_rate.fits>, [], []).
2026-09-09 18:53:45,218 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:45,470 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcalong_rate.fits>,).
2026-09-09 18:53:45,471 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:45,718 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcalong_rate.fits>,).
2026-09-09 18:53:45,719 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:45,959 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcalong_rate.fits>, []).
2026-09-09 18:53:45,960 - stpipe.step - INFO - Step skipped.
2026-09-09 18:53:46,203 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcalong_rate.fits>, []).
2026-09-09 18:53:46,258 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcalong_rate.fits> ...
2026-09-09 18:53:46,266 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0046.fits
2026-09-09 18:53:46,267 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:53:46,338 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:53:46,339 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:53:46,339 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:53:51,604 - jwst.assign_wcs.util - INFO - Total of 226 grism objects defined
2026-09-09 18:53:51,630 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:53:51,632 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:53:51,643 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:53:52,050 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:53:52,116 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.794e-01
2026-09-09 18:53:52,117 - jwst.background.background_sub_wfss - INFO - Scaling factor = 2.04098e-01
2026-09-09 18:53:52,272 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcalong_bsub.fits
2026-09-09 18:53:52,273 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:53:52,525 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:53:52,598 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:53:52,599 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:53:52,599 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:53:52,600 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:53:52,728 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:53:52,994 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:53:53,000 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:53:53,160 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:53:53,161 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:54:20,486 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:54:20,528 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:54:20,531 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:54:20,602 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:54:20,603 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:726, xmax:2009), (ymin:851, ymax:861)
2026-09-09 18:54:20,767 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2163 order: 1:
2026-09-09 18:54:20,767 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1011), (ymin:208, ymax:218)
2026-09-09 18:54:20,927 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2339 order: 1:
2026-09-09 18:54:20,928 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:656), (ymin:1570, ymax:1580)
2026-09-09 18:54:21,090 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:54:21,091 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1902, xmax:2048), (ymin:8, ymax:119)
2026-09-09 18:54:21,254 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2154 order: 1:
2026-09-09 18:54:21,254 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:348, xmax:1447), (ymin:47, ymax:57)
2026-09-09 18:54:21,417 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 662 order: 1:
2026-09-09 18:54:21,418 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:367), (ymin:722, ymax:732)
2026-09-09 18:54:21,581 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1334 order: 1:
2026-09-09 18:54:21,582 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1064), (ymin:1656, ymax:1666)
2026-09-09 18:54:21,742 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2144 order: 1:
2026-09-09 18:54:21,743 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1942, xmax:2048), (ymin:25, ymax:35)
2026-09-09 18:54:21,902 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2338 order: 1:
2026-09-09 18:54:21,903 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:772), (ymin:1568, ymax:1578)
2026-09-09 18:54:22,063 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2146 order: 1:
2026-09-09 18:54:22,064 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1870, xmax:2048), (ymin:8, ymax:102)
2026-09-09 18:54:22,424 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:54:22,430 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:54:22,702 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:54:22,703 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:54:22,703 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:54:22,704 - jwst.srctype.srctype - INFO - source_id=2163, type=POINT
2026-09-09 18:54:22,705 - jwst.srctype.srctype - INFO - source_id=2339, type=POINT
2026-09-09 18:54:22,705 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:54:22,707 - jwst.srctype.srctype - INFO - source_id=2154, type=POINT
2026-09-09 18:54:22,707 - jwst.srctype.srctype - INFO - source_id=662, type=POINT
2026-09-09 18:54:22,708 - jwst.srctype.srctype - INFO - source_id=1334, type=POINT
2026-09-09 18:54:22,709 - jwst.srctype.srctype - INFO - source_id=2144, type=POINT
2026-09-09 18:54:22,709 - jwst.srctype.srctype - INFO - source_id=2338, type=POINT
2026-09-09 18:54:22,710 - jwst.srctype.srctype - INFO - source_id=2146, type=EXTENDED
2026-09-09 18:54:22,713 - stpipe.step - INFO - Step srctype done
2026-09-09 18:54:22,968 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:54:22,969 - stpipe.step - INFO - Step skipped.
2026-09-09 18:54:23,223 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:54:23,224 - stpipe.step - INFO - Step skipped.
2026-09-09 18:54:23,490 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:54:23,491 - stpipe.step - INFO - Step skipped.
2026-09-09 18:54:23,748 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:54:23,749 - stpipe.step - INFO - Step skipped.
2026-09-09 18:54:24,007 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:54:24,008 - stpipe.step - INFO - Step skipped.
2026-09-09 18:54:24,265 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_02101_00003_nrcalong_bsub.fits>,).
2026-09-09 18:54:24,276 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits
2026-09-09 18:54:24,276 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:54:24,277 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:54:24,278 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:54:24,278 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:54:24,279 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:54:24,279 - jwst.photom.photom - INFO -  pupil: GRISMR
2026-09-09 18:54:24,312 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:54:24,313 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:54:24,316 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:54:24,316 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:54:24,318 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:54:24,345 - jwst.photom.photom - INFO - Working on slit 2163
2026-09-09 18:54:24,346 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:54:24,347 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:54:24,373 - jwst.photom.photom - INFO - Working on slit 2339
2026-09-09 18:54:24,374 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:54:24,376 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:54:24,401 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:54:24,402 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:54:24,404 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:54:24,431 - jwst.photom.photom - INFO - Working on slit 2154
2026-09-09 18:54:24,432 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:54:24,434 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:54:24,459 - jwst.photom.photom - INFO - Working on slit 662
2026-09-09 18:54:24,461 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:54:24,462 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:54:24,488 - jwst.photom.photom - INFO - Working on slit 1334
2026-09-09 18:54:24,489 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:54:24,491 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:54:24,517 - jwst.photom.photom - INFO - Working on slit 2144
2026-09-09 18:54:24,518 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:54:24,521 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:54:24,552 - jwst.photom.photom - INFO - Working on slit 2338
2026-09-09 18:54:24,552 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:54:24,554 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:54:24,580 - jwst.photom.photom - INFO - Working on slit 2146
2026-09-09 18:54:24,581 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:54:24,583 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:54:24,614 - stpipe.step - INFO - Step photom done
2026-09-09 18:54:25,270 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcalong_cal.fits>,).
2026-09-09 18:54:25,271 - stpipe.step - INFO - Step skipped.
2026-09-09 18:54:25,557 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcalong_cal.fits>,).
2026-09-09 18:54:25,558 - stpipe.step - INFO - Step skipped.
2026-09-09 18:54:26,226 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcalong_cal.fits>,).
2026-09-09 18:54:26,232 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:54:26,292 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:54:26,293 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:54:26,294 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:54:26,300 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:54:26,933 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 18:54:26,934 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:54:26,935 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:54:26,941 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:54:27,453 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 18:54:27,454 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:54:27,455 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:54:27,460 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:54:27,817 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:54:27,818 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:54:27,819 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 111.00 (inclusive)
2026-09-09 18:54:27,875 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 18:54:27,876 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:54:27,877 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:54:27,883 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:54:28,430 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 18:54:28,431 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:54:28,432 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:54:28,438 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:54:28,662 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 18:54:28,663 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:54:28,664 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:54:28,670 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:54:29,206 - jwst.extract_1d.extract - INFO - Working on slit 2144
2026-09-09 18:54:29,207 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:54:29,208 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:54:29,213 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:54:29,320 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 18:54:29,321 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:54:29,322 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:54:29,328 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:54:29,742 - jwst.extract_1d.extract - INFO - Working on slit 2146
2026-09-09 18:54:29,743 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:54:29,744 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 94.00 (inclusive)
2026-09-09 18:54:30,015 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcalong_x1d.fits
2026-09-09 18:54:30,016 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:54:30,017 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00003_nrcalong
2026-09-09 18:54:30,020 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:54:30,021 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:54:30,685 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcalong_cal.fits
2026-09-09 18:54:30,686 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:54:30,687 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:54:30,700 - py.warnings - WARNING - /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-09-09 18:54:30,750 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:54:30,766 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:54:30,779 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:54:30,802 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:54:30,803 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:54:30,805 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:54:30,806 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:54:30,807 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:54:30,808 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:54:30,809 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:54:30,810 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:54:30,815 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:54:30,816 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:54:30,818 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:54:30,819 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:54:30,820 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:54:30,821 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:54:30,822 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:54:30,824 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:54:30,825 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:54:30,826 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:54:30,827 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:54:30,828 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:54:30,829 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:54:30,830 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:54:30,832 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:54:30,833 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:54:30,833 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:54:30,835 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:54:30,836 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:54:30,837 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:54:30,838 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:54:30,839 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:54:30,841 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:54:30,842 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:54:31,163 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00001_nrcblong_spec2_asn.json',).
2026-09-09 18:54:31,198 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:54:31,263 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00001_nrcblong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:54:31,268 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:54:31,268 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:54:31,269 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:54:31,269 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0031.fits'.
2026-09-09 18:54:31,270 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:54:31,271 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:54:31,271 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:54:31,272 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:54:31,272 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:54:31,273 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:54:31,274 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:54:31,274 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:54:31,275 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:54:31,275 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:54:31,276 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:54:31,277 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:54:31,277 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:54:31,278 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:54:31,278 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:54:31,279 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:54:31,280 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:54:31,280 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:54:31,281 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:54:31,281 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:54:31,283 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:54:31,283 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:54:31,284 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:54:31,284 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits'.
2026-09-09 18:54:31,285 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:54:31,286 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:54:31,286 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:54:31,287 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:54:31,287 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:54:31,287 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0234.asdf'.
2026-09-09 18:54:31,288 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:54:31,288 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:54:31,289 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:54:31,296 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00001_nrcblong
2026-09-09 18:54:31,297 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00001_nrcblong_rate.fits ...
2026-09-09 18:54:31,365 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:54:31,366 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:54:31,367 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:54:31,610 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcblong_rate.fits>,).
2026-09-09 18:54:31,671 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498280857322
2026-09-09 18:54:31,783 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:54:31,785 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:54:31,930 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:54:32,176 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcblong_rate.fits>, [], []).
2026-09-09 18:54:32,177 - stpipe.step - INFO - Step skipped.
2026-09-09 18:54:32,419 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcblong_rate.fits>,).
2026-09-09 18:54:32,419 - stpipe.step - INFO - Step skipped.
2026-09-09 18:54:32,661 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcblong_rate.fits>,).
2026-09-09 18:54:32,662 - stpipe.step - INFO - Step skipped.
2026-09-09 18:54:32,906 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcblong_rate.fits>, []).
2026-09-09 18:54:32,907 - stpipe.step - INFO - Step skipped.
2026-09-09 18:54:33,151 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcblong_rate.fits>, []).
2026-09-09 18:54:33,206 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcblong_rate.fits> ...
2026-09-09 18:54:33,214 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0031.fits
2026-09-09 18:54:33,214 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:54:33,286 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:54:33,287 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:54:33,287 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:54:38,517 - jwst.assign_wcs.util - INFO - Total of 282 grism objects defined
2026-09-09 18:54:38,546 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:54:38,547 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:54:38,560 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:54:38,951 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:54:39,016 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.582e-01
2026-09-09 18:54:39,016 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.58387e-01
2026-09-09 18:54:39,173 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_bsub.fits
2026-09-09 18:54:39,174 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:54:39,422 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:54:39,493 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:54:39,493 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:54:39,494 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:54:39,494 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:54:39,619 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:54:39,858 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:54:39,862 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:54:40,020 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:54:40,021 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:55:07,123 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:55:07,168 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:55:07,171 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:55:07,243 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2130 order: 1:
2026-09-09 18:55:07,244 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1887, xmax:1897), (ymin:0, ymax:211)
2026-09-09 18:55:07,404 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2131 order: 1:
2026-09-09 18:55:07,405 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1852, xmax:1862), (ymin:0, ymax:293)
2026-09-09 18:55:07,563 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:55:07,564 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:18, xmax:129), (ymin:0, ymax:233)
2026-09-09 18:55:07,733 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2224 order: 1:
2026-09-09 18:55:07,733 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1234, xmax:1340), (ymin:0, ymax:709)
2026-09-09 18:55:07,920 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 911 order: 1:
2026-09-09 18:55:07,921 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:990, xmax:1000), (ymin:135, ymax:1232)
2026-09-09 18:55:08,085 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2411 order: 1:
2026-09-09 18:55:08,086 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1237, xmax:1247), (ymin:1073, ymax:2048)
2026-09-09 18:55:08,248 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1938 order: 1:
2026-09-09 18:55:08,249 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:906, xmax:916), (ymin:1496, ymax:2048)
2026-09-09 18:55:08,408 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2227 order: 1:
2026-09-09 18:55:08,409 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1257, xmax:1267), (ymin:0, ymax:751)
2026-09-09 18:55:08,571 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2295 order: 1:
2026-09-09 18:55:08,572 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:493, xmax:569), (ymin:147, ymax:1228)
2026-09-09 18:55:08,749 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2136 order: 1:
2026-09-09 18:55:08,750 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:2027, xmax:2037), (ymin:0, ymax:364)
2026-09-09 18:55:09,115 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:55:09,123 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:55:09,406 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:55:09,407 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:55:09,408 - jwst.srctype.srctype - INFO - source_id=2130, type=POINT
2026-09-09 18:55:09,409 - jwst.srctype.srctype - INFO - source_id=2131, type=POINT
2026-09-09 18:55:09,410 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:55:09,410 - jwst.srctype.srctype - INFO - source_id=2224, type=EXTENDED
2026-09-09 18:55:09,411 - jwst.srctype.srctype - INFO - source_id=911, type=POINT
2026-09-09 18:55:09,412 - jwst.srctype.srctype - INFO - source_id=2411, type=POINT
2026-09-09 18:55:09,413 - jwst.srctype.srctype - INFO - source_id=1938, type=POINT
2026-09-09 18:55:09,413 - jwst.srctype.srctype - INFO - source_id=2227, type=POINT
2026-09-09 18:55:09,414 - jwst.srctype.srctype - INFO - source_id=2295, type=EXTENDED
2026-09-09 18:55:09,414 - jwst.srctype.srctype - INFO - source_id=2136, type=POINT
2026-09-09 18:55:09,418 - stpipe.step - INFO - Step srctype done
2026-09-09 18:55:09,679 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:55:09,680 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:09,946 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:55:09,947 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:10,216 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:55:10,217 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:10,488 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:55:10,489 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:10,759 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:55:10,760 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:11,030 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcblong_bsub.fits>,).
2026-09-09 18:55:11,040 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits
2026-09-09 18:55:11,041 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:55:11,042 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:55:11,042 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:55:11,043 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:55:11,043 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:55:11,043 - jwst.photom.photom - INFO -  pupil: GRISMC
2026-09-09 18:55:11,073 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:55:11,074 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:55:11,076 - jwst.photom.photom - INFO - Working on slit 2130
2026-09-09 18:55:11,077 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:55:11,079 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:11,105 - jwst.photom.photom - INFO - Working on slit 2131
2026-09-09 18:55:11,106 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:55:11,108 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:11,133 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:55:11,134 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:55:11,135 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:11,162 - jwst.photom.photom - INFO - Working on slit 2224
2026-09-09 18:55:11,163 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:55:11,165 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:11,193 - jwst.photom.photom - INFO - Working on slit 911
2026-09-09 18:55:11,195 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:55:11,196 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:11,222 - jwst.photom.photom - INFO - Working on slit 2411
2026-09-09 18:55:11,223 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:55:11,224 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:11,250 - jwst.photom.photom - INFO - Working on slit 1938
2026-09-09 18:55:11,251 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:55:11,253 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:11,279 - jwst.photom.photom - INFO - Working on slit 2227
2026-09-09 18:55:11,280 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:55:11,282 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:11,310 - jwst.photom.photom - INFO - Working on slit 2295
2026-09-09 18:55:11,311 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:55:11,312 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:11,341 - jwst.photom.photom - INFO - Working on slit 2136
2026-09-09 18:55:11,342 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:55:11,343 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:11,374 - stpipe.step - INFO - Step photom done
2026-09-09 18:55:12,031 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 18:55:12,032 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:12,313 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 18:55:12,314 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:12,982 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 18:55:12,988 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:55:13,049 - jwst.extract_1d.extract - INFO - Working on slit 2130
2026-09-09 18:55:13,050 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:55:13,051 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:55:13,057 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:55:13,211 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 18:55:13,212 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:55:13,213 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:55:13,218 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:55:13,411 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:55:13,412 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:55:13,414 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 111.00 (inclusive)
2026-09-09 18:55:13,471 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 18:55:13,473 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:55:13,474 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 106.00 (inclusive)
2026-09-09 18:55:13,532 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 18:55:13,533 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:55:13,535 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:55:13,540 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:55:14,093 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 18:55:14,094 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:55:14,096 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:55:14,101 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:55:14,588 - jwst.extract_1d.extract - INFO - Working on slit 1938
2026-09-09 18:55:14,589 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:55:14,590 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:55:14,595 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:55:14,900 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 18:55:14,901 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:55:14,902 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:55:14,907 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:55:15,303 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 18:55:15,305 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:55:15,306 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 76.00 (inclusive)
2026-09-09 18:55:15,367 - jwst.extract_1d.extract - INFO - Working on slit 2136
2026-09-09 18:55:15,368 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:55:15,369 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:55:15,375 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:55:15,805 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_x1d.fits
2026-09-09 18:55:15,806 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:55:15,807 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00001_nrcblong
2026-09-09 18:55:15,810 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:55:15,810 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:55:16,486 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_cal.fits
2026-09-09 18:55:16,487 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:55:16,487 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:55:16,500 - py.warnings - WARNING - /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-09-09 18:55:16,551 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:55:16,567 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:55:16,580 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:55:16,603 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:55:16,605 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:55:16,606 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:55:16,607 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:55:16,608 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:55:16,610 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:55:16,611 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:55:16,612 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:55:16,617 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:55:16,618 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:55:16,619 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:55:16,620 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:55:16,621 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:55:16,622 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:55:16,623 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:55:16,626 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:55:16,627 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:55:16,628 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:55:16,629 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:55:16,630 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:55:16,631 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:55:16,632 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:55:16,633 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:55:16,634 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:55:16,635 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:55:16,636 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:55:16,637 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:55:16,638 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:55:16,640 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:55:16,641 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:55:16,642 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:55:16,644 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:55:16,976 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00001_nrcalong_spec2_asn.json',).
2026-09-09 18:55:17,013 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:55:17,083 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00001_nrcalong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:55:17,089 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:55:17,090 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:55:17,091 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:55:17,092 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0045.fits'.
2026-09-09 18:55:17,093 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:55:17,094 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:55:17,095 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:55:17,096 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:55:17,096 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:55:17,097 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:55:17,098 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:55:17,099 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:55:17,099 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:55:17,100 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:55:17,101 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:55:17,102 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:55:17,103 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:55:17,103 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:55:17,104 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:55:17,104 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:55:17,105 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:55:17,106 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:55:17,107 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:55:17,107 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:55:17,108 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:55:17,109 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:55:17,109 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:55:17,110 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits'.
2026-09-09 18:55:17,111 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:55:17,112 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:55:17,112 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:55:17,113 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:55:17,114 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:55:17,115 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0217.asdf'.
2026-09-09 18:55:17,115 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:55:17,116 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:55:17,116 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:55:17,124 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00001_nrcalong
2026-09-09 18:55:17,124 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00001_nrcalong_rate.fits ...
2026-09-09 18:55:17,194 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:55:17,194 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:55:17,195 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:55:17,436 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcalong_rate.fits>,).
2026-09-09 18:55:17,499 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498280857322
2026-09-09 18:55:17,610 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:55:17,612 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:55:17,757 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:55:18,015 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcalong_rate.fits>, [], []).
2026-09-09 18:55:18,015 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:18,265 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcalong_rate.fits>,).
2026-09-09 18:55:18,266 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:18,512 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcalong_rate.fits>,).
2026-09-09 18:55:18,512 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:18,760 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcalong_rate.fits>, []).
2026-09-09 18:55:18,761 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:19,016 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcalong_rate.fits>, []).
2026-09-09 18:55:19,071 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcalong_rate.fits> ...
2026-09-09 18:55:19,079 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0045.fits
2026-09-09 18:55:19,079 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:55:19,151 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:55:19,152 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:55:19,153 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:55:24,447 - jwst.assign_wcs.util - INFO - Total of 221 grism objects defined
2026-09-09 18:55:24,474 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:55:24,476 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:55:24,486 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:55:24,898 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:55:24,966 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.837e-01
2026-09-09 18:55:24,967 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.83547e-01
2026-09-09 18:55:25,124 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_bsub.fits
2026-09-09 18:55:25,125 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:55:25,381 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:55:25,451 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:55:25,452 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:55:25,453 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:55:25,453 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:55:25,581 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:55:25,823 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:55:25,828 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:55:25,984 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:55:25,985 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:55:53,483 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:55:53,525 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:55:53,528 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:55:53,600 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:55:53,600 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1672, xmax:1682), (ymin:0, ymax:1056)
2026-09-09 18:55:53,768 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2163 order: 1:
2026-09-09 18:55:53,768 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:739, xmax:749), (ymin:0, ymax:367)
2026-09-09 18:55:53,937 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2339 order: 1:
2026-09-09 18:55:53,938 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:380, xmax:390), (ymin:592, ymax:1727)
2026-09-09 18:55:54,105 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2154 order: 1:
2026-09-09 18:55:54,106 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1213, xmax:1223), (ymin:0, ymax:180)
2026-09-09 18:55:54,267 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 662 order: 1:
2026-09-09 18:55:54,268 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:135, xmax:145), (ymin:0, ymax:850)
2026-09-09 18:55:54,433 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1334 order: 1:
2026-09-09 18:55:54,434 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:819, xmax:829), (ymin:696, ymax:1790)
2026-09-09 18:55:54,600 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1935 order: 1:
2026-09-09 18:55:54,601 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1848, xmax:1858), (ymin:1462, ymax:2048)
2026-09-09 18:55:54,774 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2338 order: 1:
2026-09-09 18:55:54,775 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:537, xmax:547), (ymin:618, ymax:1694)
2026-09-09 18:55:54,941 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1299 order: 1:
2026-09-09 18:55:54,942 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1627, xmax:1637), (ymin:657, ymax:1734)
2026-09-09 18:55:55,106 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2170 order: 1:
2026-09-09 18:55:55,106 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1387, xmax:1453), (ymin:0, ymax:345)
2026-09-09 18:55:55,475 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:55:55,482 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:55:55,762 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:55:55,763 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:55:55,764 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:55:55,765 - jwst.srctype.srctype - INFO - source_id=2163, type=POINT
2026-09-09 18:55:55,766 - jwst.srctype.srctype - INFO - source_id=2339, type=POINT
2026-09-09 18:55:55,767 - jwst.srctype.srctype - INFO - source_id=2154, type=POINT
2026-09-09 18:55:55,767 - jwst.srctype.srctype - INFO - source_id=662, type=POINT
2026-09-09 18:55:55,768 - jwst.srctype.srctype - INFO - source_id=1334, type=POINT
2026-09-09 18:55:55,769 - jwst.srctype.srctype - INFO - source_id=1935, type=POINT
2026-09-09 18:55:55,770 - jwst.srctype.srctype - INFO - source_id=2338, type=POINT
2026-09-09 18:55:55,770 - jwst.srctype.srctype - INFO - source_id=1299, type=POINT
2026-09-09 18:55:55,771 - jwst.srctype.srctype - INFO - source_id=2170, type=EXTENDED
2026-09-09 18:55:55,774 - stpipe.step - INFO - Step srctype done
2026-09-09 18:55:56,036 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:55:56,037 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:56,301 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:55:56,301 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:56,564 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:55:56,565 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:56,820 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:55:56,821 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:57,082 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:55:57,082 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:57,350 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_07101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:55:57,361 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits
2026-09-09 18:55:57,362 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:55:57,363 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:55:57,364 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:55:57,364 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:55:57,365 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:55:57,366 - jwst.photom.photom - INFO -  pupil: GRISMC
2026-09-09 18:55:57,395 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:55:57,395 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:55:57,398 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:55:57,399 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:55:57,400 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:57,427 - jwst.photom.photom - INFO - Working on slit 2163
2026-09-09 18:55:57,428 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:55:57,430 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:57,455 - jwst.photom.photom - INFO - Working on slit 2339
2026-09-09 18:55:57,456 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:55:57,458 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:57,485 - jwst.photom.photom - INFO - Working on slit 2154
2026-09-09 18:55:57,486 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:55:57,487 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:57,514 - jwst.photom.photom - INFO - Working on slit 662
2026-09-09 18:55:57,515 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:55:57,517 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:57,543 - jwst.photom.photom - INFO - Working on slit 1334
2026-09-09 18:55:57,544 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:55:57,546 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:57,572 - jwst.photom.photom - INFO - Working on slit 1935
2026-09-09 18:55:57,573 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:55:57,574 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:57,601 - jwst.photom.photom - INFO - Working on slit 2338
2026-09-09 18:55:57,602 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:55:57,603 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:57,632 - jwst.photom.photom - INFO - Working on slit 1299
2026-09-09 18:55:57,633 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:55:57,635 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:57,661 - jwst.photom.photom - INFO - Working on slit 2170
2026-09-09 18:55:57,662 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:55:57,664 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:55:57,697 - stpipe.step - INFO - Step photom done
2026-09-09 18:55:58,362 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 18:55:58,363 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:58,654 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 18:55:58,655 - stpipe.step - INFO - Step skipped.
2026-09-09 18:55:59,342 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 18:55:59,348 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:55:59,408 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:55:59,409 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:55:59,410 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:55:59,416 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:55:59,945 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 18:55:59,946 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:55:59,947 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:55:59,953 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:00,180 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 18:56:00,181 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:00,182 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:00,187 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:00,752 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 18:56:00,753 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:00,754 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:00,759 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:00,900 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 18:56:00,901 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:00,902 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:00,907 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:01,346 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 18:56:01,347 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:01,348 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:01,353 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:01,899 - jwst.extract_1d.extract - INFO - Working on slit 1935
2026-09-09 18:56:01,900 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:01,901 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:01,906 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:02,227 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 18:56:02,228 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:02,229 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:02,235 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:02,772 - jwst.extract_1d.extract - INFO - Working on slit 1299
2026-09-09 18:56:02,773 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:02,774 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:02,780 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:03,317 - jwst.extract_1d.extract - INFO - Working on slit 2170
2026-09-09 18:56:03,318 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:56:03,319 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 66.00 (inclusive)
2026-09-09 18:56:03,573 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_x1d.fits
2026-09-09 18:56:03,573 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:56:03,574 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00001_nrcalong
2026-09-09 18:56:03,577 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:56:03,577 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:56:04,247 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_cal.fits
2026-09-09 18:56:04,248 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:56:04,249 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:56:04,261 - py.warnings - WARNING - /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-09-09 18:56:04,312 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:56:04,328 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:56:04,342 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:56:04,366 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:56:04,367 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:56:04,369 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:56:04,370 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:56:04,371 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:56:04,372 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:56:04,373 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:56:04,374 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:56:04,379 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:56:04,380 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:56:04,382 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:56:04,383 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:56:04,384 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:56:04,385 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:56:04,386 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:56:04,388 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:56:04,389 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:56:04,390 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:56:04,391 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:56:04,392 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:56:04,393 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:56:04,394 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:56:04,396 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:56:04,397 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:56:04,399 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:56:04,401 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:56:04,402 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:56:04,403 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:56:04,405 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:56:04,407 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:56:04,409 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:56:04,411 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:56:04,747 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00004_nrcalong_spec2_asn.json',).
2026-09-09 18:56:04,783 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:56:04,848 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00004_nrcalong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:56:04,853 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:56:04,854 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:56:04,855 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:56:04,855 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0046.fits'.
2026-09-09 18:56:04,856 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:56:04,856 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:56:04,857 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:56:04,857 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:56:04,858 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:56:04,858 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:56:04,859 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:56:04,859 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:56:04,860 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:56:04,860 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:56:04,861 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:56:04,862 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:56:04,863 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:56:04,864 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:56:04,864 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:56:04,865 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:56:04,865 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:56:04,866 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:56:04,866 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:56:04,867 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:56:04,868 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:56:04,868 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:56:04,869 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:56:04,869 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits'.
2026-09-09 18:56:04,870 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:56:04,871 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:56:04,871 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:56:04,872 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:56:04,872 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:56:04,873 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0236.asdf'.
2026-09-09 18:56:04,874 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:56:04,874 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:56:04,875 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:56:04,882 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00004_nrcalong
2026-09-09 18:56:04,882 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00004_nrcalong_rate.fits ...
2026-09-09 18:56:04,946 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:56:04,947 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:56:04,948 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:56:05,186 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcalong_rate.fits>,).
2026-09-09 18:56:05,247 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498280857322
2026-09-09 18:56:05,361 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:56:05,362 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:56:05,509 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:56:05,756 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcalong_rate.fits>, [], []).
2026-09-09 18:56:05,757 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:06,004 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcalong_rate.fits>,).
2026-09-09 18:56:06,005 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:06,255 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcalong_rate.fits>,).
2026-09-09 18:56:06,256 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:06,505 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcalong_rate.fits>, []).
2026-09-09 18:56:06,506 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:06,772 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcalong_rate.fits>, []).
2026-09-09 18:56:06,826 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcalong_rate.fits> ...
2026-09-09 18:56:06,834 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0046.fits
2026-09-09 18:56:06,834 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:56:06,906 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:56:06,906 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:56:06,907 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:56:12,168 - jwst.assign_wcs.util - INFO - Total of 232 grism objects defined
2026-09-09 18:56:12,194 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:56:12,196 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:56:12,206 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:56:12,607 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:56:12,671 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.796e-01
2026-09-09 18:56:12,672 - jwst.background.background_sub_wfss - INFO - Scaling factor = 2.04271e-01
2026-09-09 18:56:12,825 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcalong_bsub.fits
2026-09-09 18:56:12,826 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:56:13,067 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:56:13,139 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:56:13,139 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:56:13,140 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:56:13,141 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:56:13,270 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:56:13,515 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:56:13,520 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:56:13,677 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:56:13,677 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:56:41,177 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:56:41,221 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:56:41,225 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:56:41,300 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:56:41,300 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:748, xmax:2031), (ymin:817, ymax:827)
2026-09-09 18:56:41,464 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2163 order: 1:
2026-09-09 18:56:41,465 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1033), (ymin:174, ymax:184)
2026-09-09 18:56:41,627 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2339 order: 1:
2026-09-09 18:56:41,628 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:678), (ymin:1536, ymax:1546)
2026-09-09 18:56:41,791 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:56:41,792 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1922, xmax:2048), (ymin:0, ymax:86)
2026-09-09 18:56:41,954 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2154 order: 1:
2026-09-09 18:56:41,954 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:370, xmax:1469), (ymin:14, ymax:24)
2026-09-09 18:56:42,117 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 662 order: 1:
2026-09-09 18:56:42,118 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:390), (ymin:688, ymax:698)
2026-09-09 18:56:42,281 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1334 order: 1:
2026-09-09 18:56:42,282 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1086), (ymin:1622, ymax:1632)
2026-09-09 18:56:42,444 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2144 order: 1:
2026-09-09 18:56:42,445 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1962, xmax:2048), (ymin:0, ymax:2)
2026-09-09 18:56:42,607 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2338 order: 1:
2026-09-09 18:56:42,607 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:795), (ymin:1534, ymax:1544)
2026-09-09 18:56:42,769 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2146 order: 1:
2026-09-09 18:56:42,770 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1891, xmax:2048), (ymin:0, ymax:69)
2026-09-09 18:56:43,139 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:56:43,146 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:56:43,429 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:56:43,430 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:56:43,430 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:56:43,431 - jwst.srctype.srctype - INFO - source_id=2163, type=POINT
2026-09-09 18:56:43,432 - jwst.srctype.srctype - INFO - source_id=2339, type=POINT
2026-09-09 18:56:43,433 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:56:43,433 - jwst.srctype.srctype - INFO - source_id=2154, type=POINT
2026-09-09 18:56:43,434 - jwst.srctype.srctype - INFO - source_id=662, type=POINT
2026-09-09 18:56:43,435 - jwst.srctype.srctype - INFO - source_id=1334, type=POINT
2026-09-09 18:56:43,435 - jwst.srctype.srctype - INFO - source_id=2144, type=POINT
2026-09-09 18:56:43,437 - jwst.srctype.srctype - INFO - source_id=2338, type=POINT
2026-09-09 18:56:43,437 - jwst.srctype.srctype - INFO - source_id=2146, type=EXTENDED
2026-09-09 18:56:43,441 - stpipe.step - INFO - Step srctype done
2026-09-09 18:56:43,701 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:56:43,702 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:43,965 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:56:43,966 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:44,231 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:56:44,232 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:44,501 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:56:44,502 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:44,769 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:56:44,770 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:45,038 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_02101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:56:45,048 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits
2026-09-09 18:56:45,049 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:56:45,050 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:56:45,050 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:56:45,051 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:56:45,051 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:56:45,052 - jwst.photom.photom - INFO -  pupil: GRISMR
2026-09-09 18:56:45,081 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:56:45,082 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:56:45,084 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:56:45,085 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:56:45,086 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:56:45,113 - jwst.photom.photom - INFO - Working on slit 2163
2026-09-09 18:56:45,114 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:56:45,116 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:56:45,142 - jwst.photom.photom - INFO - Working on slit 2339
2026-09-09 18:56:45,143 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:56:45,145 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:56:45,171 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:56:45,172 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:56:45,174 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:56:45,201 - jwst.photom.photom - INFO - Working on slit 2154
2026-09-09 18:56:45,202 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:56:45,203 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:56:45,229 - jwst.photom.photom - INFO - Working on slit 662
2026-09-09 18:56:45,230 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:56:45,232 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:56:45,258 - jwst.photom.photom - INFO - Working on slit 1334
2026-09-09 18:56:45,259 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:56:45,261 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:56:45,287 - jwst.photom.photom - INFO - Working on slit 2144
2026-09-09 18:56:45,288 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:56:45,289 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:56:45,316 - jwst.photom.photom - INFO - Working on slit 2338
2026-09-09 18:56:45,317 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:56:45,319 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:56:45,345 - jwst.photom.photom - INFO - Working on slit 2146
2026-09-09 18:56:45,346 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:56:45,348 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:56:45,380 - stpipe.step - INFO - Step photom done
2026-09-09 18:56:46,029 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcalong_cal.fits>,).
2026-09-09 18:56:46,030 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:46,317 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcalong_cal.fits>,).
2026-09-09 18:56:46,318 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:47,010 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcalong_cal.fits>,).
2026-09-09 18:56:47,016 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:56:47,077 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:56:47,078 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:47,079 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:47,085 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:47,715 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 18:56:47,717 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:47,718 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:47,723 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:48,250 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 18:56:48,251 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:48,252 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:48,257 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:48,624 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:56:48,625 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:56:48,627 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 86.00 (inclusive)
2026-09-09 18:56:48,684 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 18:56:48,685 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:48,686 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:48,691 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:49,247 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 18:56:49,249 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:49,250 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:49,255 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:49,489 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 18:56:49,490 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:49,491 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:49,496 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:50,037 - jwst.extract_1d.extract - INFO - Working on slit 2144
2026-09-09 18:56:50,038 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:50,039 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 2.00 (inclusive)
2026-09-09 18:56:50,044 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:50,142 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 18:56:50,143 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:56:50,144 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:56:50,149 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:56:50,567 - jwst.extract_1d.extract - INFO - Working on slit 2146
2026-09-09 18:56:50,569 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:56:50,570 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 69.00 (inclusive)
2026-09-09 18:56:50,829 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcalong_x1d.fits
2026-09-09 18:56:50,830 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:56:50,831 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00004_nrcalong
2026-09-09 18:56:50,834 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:56:50,834 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:56:51,516 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcalong_cal.fits
2026-09-09 18:56:51,516 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:56:51,517 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:56:51,529 - py.warnings - WARNING - /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-09-09 18:56:51,580 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:56:51,596 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:56:51,609 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:56:51,636 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:56:51,637 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:56:51,638 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:56:51,639 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:56:51,641 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:56:51,642 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:56:51,643 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:56:51,644 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:56:51,648 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:56:51,650 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:56:51,651 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:56:51,652 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:56:51,653 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:56:51,654 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:56:51,655 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:56:51,657 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:56:51,659 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:56:51,659 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:56:51,660 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:56:51,661 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:56:51,662 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:56:51,663 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:56:51,665 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:56:51,666 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:56:51,667 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:56:51,668 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:56:51,669 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:56:51,670 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:56:51,671 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:56:51,673 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:56:51,674 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:56:51,676 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:56:52,047 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00004_nrcblong_spec2_asn.json',).
2026-09-09 18:56:52,085 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:56:52,152 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00004_nrcblong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:56:52,157 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:56:52,158 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:56:52,159 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:56:52,159 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0031.fits'.
2026-09-09 18:56:52,160 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:56:52,161 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:56:52,161 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:56:52,162 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:56:52,162 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:56:52,163 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:56:52,164 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:56:52,164 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:56:52,165 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:56:52,165 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:56:52,166 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:56:52,167 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:56:52,167 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:56:52,168 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:56:52,168 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:56:52,169 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:56:52,169 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:56:52,170 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:56:52,170 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:56:52,171 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:56:52,171 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:56:52,172 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:56:52,173 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:56:52,173 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits'.
2026-09-09 18:56:52,174 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:56:52,175 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:56:52,175 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:56:52,176 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:56:52,176 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:56:52,177 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0234.asdf'.
2026-09-09 18:56:52,178 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:56:52,179 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:56:52,179 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:56:52,186 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00004_nrcblong
2026-09-09 18:56:52,187 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00004_nrcblong_rate.fits ...
2026-09-09 18:56:52,263 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:56:52,264 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:56:52,265 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:56:52,519 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcblong_rate.fits>,).
2026-09-09 18:56:52,581 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498268180622
2026-09-09 18:56:52,696 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:56:52,698 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:56:52,845 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:56:53,097 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcblong_rate.fits>, [], []).
2026-09-09 18:56:53,098 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:53,349 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcblong_rate.fits>,).
2026-09-09 18:56:53,350 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:53,605 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcblong_rate.fits>,).
2026-09-09 18:56:53,606 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:53,856 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcblong_rate.fits>, []).
2026-09-09 18:56:53,857 - stpipe.step - INFO - Step skipped.
2026-09-09 18:56:54,107 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcblong_rate.fits>, []).
2026-09-09 18:56:54,163 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcblong_rate.fits> ...
2026-09-09 18:56:54,170 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0031.fits
2026-09-09 18:56:54,171 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:56:54,243 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:56:54,244 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:56:54,245 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:56:59,565 - jwst.assign_wcs.util - INFO - Total of 281 grism objects defined
2026-09-09 18:56:59,594 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:56:59,596 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:56:59,607 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:56:59,989 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:57:00,056 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.554e-01
2026-09-09 18:57:00,057 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.55583e-01
2026-09-09 18:57:00,217 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_bsub.fits
2026-09-09 18:57:00,218 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:57:00,476 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:57:00,549 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:57:00,549 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:57:00,550 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:57:00,550 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:57:00,678 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:57:00,929 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:57:00,934 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:57:01,095 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:57:01,096 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:57:28,502 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:57:28,550 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:57:28,553 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:57:28,625 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2130 order: 1:
2026-09-09 18:57:28,626 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1917, xmax:1927), (ymin:0, ymax:199)
2026-09-09 18:57:28,788 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2131 order: 1:
2026-09-09 18:57:28,789 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1881, xmax:1891), (ymin:0, ymax:281)
2026-09-09 18:57:28,950 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:57:28,951 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:47, xmax:158), (ymin:0, ymax:221)
2026-09-09 18:57:29,120 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2224 order: 1:
2026-09-09 18:57:29,121 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1264, xmax:1370), (ymin:0, ymax:697)
2026-09-09 18:57:29,304 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 911 order: 1:
2026-09-09 18:57:29,305 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1020, xmax:1030), (ymin:122, ymax:1219)
2026-09-09 18:57:29,466 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2411 order: 1:
2026-09-09 18:57:29,467 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1267, xmax:1277), (ymin:1061, ymax:2048)
2026-09-09 18:57:29,631 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1938 order: 1:
2026-09-09 18:57:29,631 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:936, xmax:946), (ymin:1485, ymax:2048)
2026-09-09 18:57:29,792 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2227 order: 1:
2026-09-09 18:57:29,793 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1287, xmax:1297), (ymin:0, ymax:738)
2026-09-09 18:57:29,957 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2295 order: 1:
2026-09-09 18:57:29,958 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:523, xmax:599), (ymin:135, ymax:1216)
2026-09-09 18:57:30,136 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 752 order: 1:
2026-09-09 18:57:30,136 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1200, xmax:1210), (ymin:0, ymax:994)
2026-09-09 18:57:30,505 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:57:30,512 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:57:30,792 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:57:30,793 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:57:30,794 - jwst.srctype.srctype - INFO - source_id=2130, type=POINT
2026-09-09 18:57:30,794 - jwst.srctype.srctype - INFO - source_id=2131, type=POINT
2026-09-09 18:57:30,795 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:57:30,796 - jwst.srctype.srctype - INFO - source_id=2224, type=EXTENDED
2026-09-09 18:57:30,797 - jwst.srctype.srctype - INFO - source_id=911, type=POINT
2026-09-09 18:57:30,797 - jwst.srctype.srctype - INFO - source_id=2411, type=POINT
2026-09-09 18:57:30,798 - jwst.srctype.srctype - INFO - source_id=1938, type=POINT
2026-09-09 18:57:30,799 - jwst.srctype.srctype - INFO - source_id=2227, type=POINT
2026-09-09 18:57:30,799 - jwst.srctype.srctype - INFO - source_id=2295, type=EXTENDED
2026-09-09 18:57:30,800 - jwst.srctype.srctype - INFO - source_id=752, type=POINT
2026-09-09 18:57:30,804 - stpipe.step - INFO - Step srctype done
2026-09-09 18:57:31,061 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:57:31,062 - stpipe.step - INFO - Step skipped.
2026-09-09 18:57:31,325 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:57:31,326 - stpipe.step - INFO - Step skipped.
2026-09-09 18:57:31,584 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:57:31,585 - stpipe.step - INFO - Step skipped.
2026-09-09 18:57:31,850 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:57:31,851 - stpipe.step - INFO - Step skipped.
2026-09-09 18:57:32,106 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:57:32,107 - stpipe.step - INFO - Step skipped.
2026-09-09 18:57:32,366 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcblong_bsub.fits>,).
2026-09-09 18:57:32,376 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits
2026-09-09 18:57:32,377 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:57:32,377 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:57:32,378 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:57:32,378 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:57:32,379 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:57:32,379 - jwst.photom.photom - INFO -  pupil: GRISMC
2026-09-09 18:57:32,408 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:57:32,409 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:57:32,412 - jwst.photom.photom - INFO - Working on slit 2130
2026-09-09 18:57:32,413 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:57:32,414 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:57:32,441 - jwst.photom.photom - INFO - Working on slit 2131
2026-09-09 18:57:32,442 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:57:32,444 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:57:32,469 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:57:32,470 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:57:32,472 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:57:32,499 - jwst.photom.photom - INFO - Working on slit 2224
2026-09-09 18:57:32,500 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:57:32,502 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:57:32,530 - jwst.photom.photom - INFO - Working on slit 911
2026-09-09 18:57:32,531 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:57:32,533 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:57:32,560 - jwst.photom.photom - INFO - Working on slit 2411
2026-09-09 18:57:32,561 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:57:32,562 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:57:32,590 - jwst.photom.photom - INFO - Working on slit 1938
2026-09-09 18:57:32,591 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:57:32,592 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:57:32,619 - jwst.photom.photom - INFO - Working on slit 2227
2026-09-09 18:57:32,620 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:57:32,622 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:57:32,650 - jwst.photom.photom - INFO - Working on slit 2295
2026-09-09 18:57:32,651 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:57:32,653 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:57:32,681 - jwst.photom.photom - INFO - Working on slit 752
2026-09-09 18:57:32,682 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:57:32,683 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:57:32,715 - stpipe.step - INFO - Step photom done
2026-09-09 18:57:33,368 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_cal.fits>,).
2026-09-09 18:57:33,369 - stpipe.step - INFO - Step skipped.
2026-09-09 18:57:33,652 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_cal.fits>,).
2026-09-09 18:57:33,653 - stpipe.step - INFO - Step skipped.
2026-09-09 18:57:34,343 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_cal.fits>,).
2026-09-09 18:57:34,349 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:57:34,410 - jwst.extract_1d.extract - INFO - Working on slit 2130
2026-09-09 18:57:34,411 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:57:34,412 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:57:34,417 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:57:34,567 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 18:57:34,568 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:57:34,569 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:57:34,575 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:57:34,763 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:57:34,764 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:57:34,766 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 111.00 (inclusive)
2026-09-09 18:57:34,824 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 18:57:34,826 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:57:34,828 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 106.00 (inclusive)
2026-09-09 18:57:34,889 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 18:57:34,890 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:57:34,892 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:57:34,897 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:57:35,444 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 18:57:35,445 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:57:35,446 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:57:35,452 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:57:35,956 - jwst.extract_1d.extract - INFO - Working on slit 1938
2026-09-09 18:57:35,958 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:57:35,959 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:57:35,964 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:57:36,276 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 18:57:36,277 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:57:36,279 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:57:36,284 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:57:36,673 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 18:57:36,674 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:57:36,676 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 76.00 (inclusive)
2026-09-09 18:57:36,736 - jwst.extract_1d.extract - INFO - Working on slit 752
2026-09-09 18:57:36,737 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:57:36,738 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:57:36,743 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:57:37,441 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_x1d.fits
2026-09-09 18:57:37,442 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:57:37,443 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00004_nrcblong
2026-09-09 18:57:37,446 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:57:37,446 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:57:38,124 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_cal.fits
2026-09-09 18:57:38,125 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:57:38,125 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:57:38,138 - py.warnings - WARNING - /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-09-09 18:57:38,191 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:57:38,208 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:57:38,221 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:57:38,246 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:57:38,248 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:57:38,249 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:57:38,250 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:57:38,251 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:57:38,252 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:57:38,253 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:57:38,255 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:57:38,259 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:57:38,260 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:57:38,261 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:57:38,262 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:57:38,263 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:57:38,265 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:57:38,266 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:57:38,267 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:57:38,268 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:57:38,269 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:57:38,271 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:57:38,272 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:57:38,273 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:57:38,274 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:57:38,275 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:57:38,276 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:57:38,278 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:57:38,279 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:57:38,281 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:57:38,281 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:57:38,282 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:57:38,283 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:57:38,285 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:57:38,287 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:57:38,617 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_02101_00001_nrcalong_spec2_asn.json',).
2026-09-09 18:57:38,653 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:57:38,722 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_02101_00001_nrcalong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:57:38,727 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:57:38,728 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:57:38,729 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:57:38,729 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0046.fits'.
2026-09-09 18:57:38,730 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:57:38,730 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:57:38,731 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:57:38,731 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:57:38,732 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:57:38,732 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:57:38,733 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:57:38,734 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:57:38,734 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:57:38,735 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:57:38,735 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:57:38,736 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:57:38,737 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:57:38,738 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:57:38,738 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:57:38,739 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:57:38,739 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:57:38,739 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:57:38,740 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:57:38,741 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:57:38,741 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:57:38,742 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:57:38,742 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:57:38,743 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits'.
2026-09-09 18:57:38,744 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:57:38,744 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:57:38,745 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:57:38,746 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:57:38,746 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:57:38,747 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0236.asdf'.
2026-09-09 18:57:38,747 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:57:38,748 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:57:38,749 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:57:38,756 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00001_nrcalong
2026-09-09 18:57:38,756 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00001_nrcalong_rate.fits ...
2026-09-09 18:57:38,828 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:57:38,829 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:57:38,829 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:57:39,076 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcalong_rate.fits>,).
2026-09-09 18:57:39,164 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498280857322
2026-09-09 18:57:39,282 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:57:39,283 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:57:39,452 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:57:39,704 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcalong_rate.fits>, [], []).
2026-09-09 18:57:39,705 - stpipe.step - INFO - Step skipped.
2026-09-09 18:57:39,949 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcalong_rate.fits>,).
2026-09-09 18:57:39,949 - stpipe.step - INFO - Step skipped.
2026-09-09 18:57:40,196 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcalong_rate.fits>,).
2026-09-09 18:57:40,197 - stpipe.step - INFO - Step skipped.
2026-09-09 18:57:40,444 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcalong_rate.fits>, []).
2026-09-09 18:57:40,445 - stpipe.step - INFO - Step skipped.
2026-09-09 18:57:40,694 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcalong_rate.fits>, []).
2026-09-09 18:57:40,748 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcalong_rate.fits> ...
2026-09-09 18:57:40,758 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0046.fits
2026-09-09 18:57:40,759 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:57:40,831 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:57:40,832 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:57:40,833 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:57:46,141 - jwst.assign_wcs.util - INFO - Total of 232 grism objects defined
2026-09-09 18:57:46,169 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:57:46,170 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:57:46,181 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:57:46,581 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:57:46,648 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.779e-01
2026-09-09 18:57:46,649 - jwst.background.background_sub_wfss - INFO - Scaling factor = 2.02401e-01
2026-09-09 18:57:46,819 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcalong_bsub.fits
2026-09-09 18:57:46,820 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:57:47,078 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:57:47,157 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:57:47,158 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:57:47,159 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:57:47,159 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:57:47,288 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:57:47,535 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_02101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:57:47,541 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:57:47,694 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:57:47,694 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:58:15,157 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:58:15,202 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:58:15,204 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:58:15,282 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:58:15,282 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:718, xmax:2001), (ymin:830, ymax:840)
2026-09-09 18:58:15,445 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2163 order: 1:
2026-09-09 18:58:15,446 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1003), (ymin:186, ymax:196)
2026-09-09 18:58:15,608 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2339 order: 1:
2026-09-09 18:58:15,608 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:648), (ymin:1548, ymax:1558)
2026-09-09 18:58:15,777 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:58:15,778 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1894, xmax:2048), (ymin:0, ymax:98)
2026-09-09 18:58:15,948 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2154 order: 1:
2026-09-09 18:58:15,949 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:340, xmax:1440), (ymin:26, ymax:36)
2026-09-09 18:58:16,112 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 662 order: 1:
2026-09-09 18:58:16,112 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:360), (ymin:700, ymax:710)
2026-09-09 18:58:16,274 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1334 order: 1:
2026-09-09 18:58:16,275 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:1056), (ymin:1634, ymax:1644)
2026-09-09 18:58:16,438 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2144 order: 1:
2026-09-09 18:58:16,439 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1934, xmax:2048), (ymin:4, ymax:14)
2026-09-09 18:58:16,600 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2338 order: 1:
2026-09-09 18:58:16,601 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:0, xmax:765), (ymin:1547, ymax:1557)
2026-09-09 18:58:16,762 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2146 order: 1:
2026-09-09 18:58:16,762 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1862, xmax:2048), (ymin:0, ymax:81)
2026-09-09 18:58:17,129 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:58:17,136 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:58:17,427 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:58:17,428 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:58:17,429 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:58:17,430 - jwst.srctype.srctype - INFO - source_id=2163, type=POINT
2026-09-09 18:58:17,431 - jwst.srctype.srctype - INFO - source_id=2339, type=POINT
2026-09-09 18:58:17,431 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:58:17,432 - jwst.srctype.srctype - INFO - source_id=2154, type=POINT
2026-09-09 18:58:17,433 - jwst.srctype.srctype - INFO - source_id=662, type=POINT
2026-09-09 18:58:17,433 - jwst.srctype.srctype - INFO - source_id=1334, type=POINT
2026-09-09 18:58:17,434 - jwst.srctype.srctype - INFO - source_id=2144, type=POINT
2026-09-09 18:58:17,435 - jwst.srctype.srctype - INFO - source_id=2338, type=POINT
2026-09-09 18:58:17,436 - jwst.srctype.srctype - INFO - source_id=2146, type=EXTENDED
2026-09-09 18:58:17,440 - stpipe.step - INFO - Step srctype done
2026-09-09 18:58:17,730 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:58:17,731 - stpipe.step - INFO - Step skipped.
2026-09-09 18:58:17,992 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:58:17,993 - stpipe.step - INFO - Step skipped.
2026-09-09 18:58:18,253 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:58:18,254 - stpipe.step - INFO - Step skipped.
2026-09-09 18:58:18,519 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:58:18,520 - stpipe.step - INFO - Step skipped.
2026-09-09 18:58:18,795 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:58:18,796 - stpipe.step - INFO - Step skipped.
2026-09-09 18:58:19,062 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_02101_00001_nrcalong_bsub.fits>,).
2026-09-09 18:58:19,075 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits
2026-09-09 18:58:19,076 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:58:19,076 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:58:19,077 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:58:19,077 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:58:19,078 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:58:19,078 - jwst.photom.photom - INFO -  pupil: GRISMR
2026-09-09 18:58:19,107 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:58:19,108 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:58:19,110 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:58:19,111 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:58:19,113 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:58:19,139 - jwst.photom.photom - INFO - Working on slit 2163
2026-09-09 18:58:19,140 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:58:19,142 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:58:19,167 - jwst.photom.photom - INFO - Working on slit 2339
2026-09-09 18:58:19,168 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:58:19,170 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:58:19,195 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:58:19,196 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:58:19,197 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:58:19,224 - jwst.photom.photom - INFO - Working on slit 2154
2026-09-09 18:58:19,225 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:58:19,226 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:58:19,252 - jwst.photom.photom - INFO - Working on slit 662
2026-09-09 18:58:19,253 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:58:19,255 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:58:19,281 - jwst.photom.photom - INFO - Working on slit 1334
2026-09-09 18:58:19,282 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:58:19,283 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:58:19,310 - jwst.photom.photom - INFO - Working on slit 2144
2026-09-09 18:58:19,311 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:58:19,312 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:58:19,344 - jwst.photom.photom - INFO - Working on slit 2338
2026-09-09 18:58:19,345 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:58:19,347 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:58:19,373 - jwst.photom.photom - INFO - Working on slit 2146
2026-09-09 18:58:19,374 - jwst.photom.photom - INFO - PHOTMJSR value: 4293.48
2026-09-09 18:58:19,376 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:58:19,408 - stpipe.step - INFO - Step photom done
2026-09-09 18:58:20,071 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 18:58:20,072 - stpipe.step - INFO - Step skipped.
2026-09-09 18:58:20,356 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 18:58:20,357 - stpipe.step - INFO - Step skipped.
2026-09-09 18:58:21,009 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 18:58:21,017 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:58:21,083 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:58:21,084 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:58:21,085 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:58:21,091 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:58:21,729 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 18:58:21,730 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:58:21,731 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:58:21,737 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:58:22,244 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 18:58:22,245 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:58:22,247 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:58:22,252 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:58:22,606 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:58:22,607 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:58:22,608 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 98.00 (inclusive)
2026-09-09 18:58:22,664 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 18:58:22,665 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:58:22,666 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:58:22,671 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:58:23,223 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 18:58:23,224 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:58:23,225 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:58:23,230 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:58:23,449 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 18:58:23,451 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:58:23,452 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:58:23,457 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:58:23,985 - jwst.extract_1d.extract - INFO - Working on slit 2144
2026-09-09 18:58:23,986 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:58:23,987 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:58:23,992 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:58:24,103 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 18:58:24,104 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:58:24,105 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:58:24,111 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:58:24,512 - jwst.extract_1d.extract - INFO - Working on slit 2146
2026-09-09 18:58:24,514 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:58:24,515 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 81.00 (inclusive)
2026-09-09 18:58:24,789 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcalong_x1d.fits
2026-09-09 18:58:24,790 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:58:24,791 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_02101_00001_nrcalong
2026-09-09 18:58:24,793 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:58:24,794 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:58:25,467 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcalong_cal.fits
2026-09-09 18:58:25,468 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:58:25,469 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:58:25,481 - py.warnings - WARNING - /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-09-09 18:58:25,541 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:58:25,558 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:58:25,571 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:58:25,595 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:58:25,596 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:58:25,597 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:58:25,598 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:58:25,600 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:58:25,601 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:58:25,602 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:58:25,603 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:58:25,608 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:58:25,609 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:58:25,610 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:58:25,611 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:58:25,612 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:58:25,613 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:58:25,615 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:58:25,616 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:58:25,618 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:58:25,618 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:58:25,620 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:58:25,621 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:58:25,622 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:58:25,623 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:58:25,625 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:58:25,626 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:58:25,627 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:58:25,628 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:58:25,629 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:58:25,630 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:58:25,631 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:58:25,632 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:58:25,634 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:58:25,636 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:58:25,987 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00003_nrcblong_spec2_asn.json',).
2026-09-09 18:58:26,023 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:58:26,088 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00003_nrcblong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:58:26,093 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:58:26,094 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:58:26,094 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:58:26,095 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0031.fits'.
2026-09-09 18:58:26,096 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:58:26,096 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:58:26,097 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:58:26,097 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:58:26,098 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:58:26,098 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:58:26,099 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0184.asdf'.
2026-09-09 18:58:26,100 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:58:26,101 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:58:26,101 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0008.asdf'.
2026-09-09 18:58:26,102 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits'.
2026-09-09 18:58:26,103 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:58:26,103 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:58:26,104 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:58:26,104 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:58:26,105 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:58:26,106 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:58:26,106 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:58:26,107 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:58:26,107 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:58:26,108 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:58:26,108 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:58:26,109 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:58:26,109 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits'.
2026-09-09 18:58:26,110 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:58:26,111 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:58:26,111 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:58:26,112 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:58:26,112 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:58:26,113 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0234.asdf'.
2026-09-09 18:58:26,113 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:58:26,114 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:58:26,115 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:58:26,123 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00003_nrcblong
2026-09-09 18:58:26,124 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00003_nrcblong_rate.fits ...
2026-09-09 18:58:26,196 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:58:26,197 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:58:26,197 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:58:26,450 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcblong_rate.fits>,).
2026-09-09 18:58:26,512 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498274518972
2026-09-09 18:58:26,625 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:58:26,627 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:58:26,773 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:58:27,032 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcblong_rate.fits>, [], []).
2026-09-09 18:58:27,033 - stpipe.step - INFO - Step skipped.
2026-09-09 18:58:27,284 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcblong_rate.fits>,).
2026-09-09 18:58:27,285 - stpipe.step - INFO - Step skipped.
2026-09-09 18:58:27,544 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcblong_rate.fits>,).
2026-09-09 18:58:27,545 - stpipe.step - INFO - Step skipped.
2026-09-09 18:58:27,800 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcblong_rate.fits>, []).
2026-09-09 18:58:27,801 - stpipe.step - INFO - Step skipped.
2026-09-09 18:58:28,058 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcblong_rate.fits>, []).
2026-09-09 18:58:28,114 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcblong_rate.fits> ...
2026-09-09 18:58:28,122 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0031.fits
2026-09-09 18:58:28,122 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:58:28,195 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:58:28,196 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:58:28,197 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:58:33,512 - jwst.assign_wcs.util - INFO - Total of 283 grism objects defined
2026-09-09 18:58:33,543 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:58:33,545 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:58:33,558 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:58:33,980 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:58:34,050 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.546e-01
2026-09-09 18:58:34,050 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.54765e-01
2026-09-09 18:58:34,208 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_bsub.fits
2026-09-09 18:58:34,209 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:58:34,466 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:58:34,540 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0743.fits
2026-09-09 18:58:34,541 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:58:34,541 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:58:34,542 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:58:34,670 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:58:34,923 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:58:34,928 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:58:35,090 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:58:35,090 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:59:02,914 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:59:02,962 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:59:02,963 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:59:03,036 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2130 order: 1:
2026-09-09 18:59:03,037 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1896, xmax:1906), (ymin:0, ymax:232)
2026-09-09 18:59:03,207 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2131 order: 1:
2026-09-09 18:59:03,208 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1860, xmax:1870), (ymin:0, ymax:315)
2026-09-09 18:59:03,367 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2145 order: 1:
2026-09-09 18:59:03,368 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:25, xmax:136), (ymin:0, ymax:254)
2026-09-09 18:59:03,537 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2224 order: 1:
2026-09-09 18:59:03,538 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1242, xmax:1348), (ymin:0, ymax:730)
2026-09-09 18:59:03,719 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 911 order: 1:
2026-09-09 18:59:03,720 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:998, xmax:1008), (ymin:156, ymax:1253)
2026-09-09 18:59:03,883 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2411 order: 1:
2026-09-09 18:59:03,884 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1245, xmax:1255), (ymin:1095, ymax:2048)
2026-09-09 18:59:04,049 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1938 order: 1:
2026-09-09 18:59:04,050 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:914, xmax:924), (ymin:1519, ymax:2048)
2026-09-09 18:59:04,210 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2227 order: 1:
2026-09-09 18:59:04,212 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1265, xmax:1275), (ymin:0, ymax:772)
2026-09-09 18:59:04,375 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2295 order: 1:
2026-09-09 18:59:04,376 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:500, xmax:577), (ymin:169, ymax:1250)
2026-09-09 18:59:04,557 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2136 order: 1:
2026-09-09 18:59:04,558 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:2035, xmax:2045), (ymin:0, ymax:385)
2026-09-09 18:59:04,934 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:59:04,941 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:59:05,240 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:59:05,241 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:59:05,242 - jwst.srctype.srctype - INFO - source_id=2130, type=POINT
2026-09-09 18:59:05,242 - jwst.srctype.srctype - INFO - source_id=2131, type=POINT
2026-09-09 18:59:05,243 - jwst.srctype.srctype - INFO - source_id=2145, type=EXTENDED
2026-09-09 18:59:05,244 - jwst.srctype.srctype - INFO - source_id=2224, type=EXTENDED
2026-09-09 18:59:05,244 - jwst.srctype.srctype - INFO - source_id=911, type=POINT
2026-09-09 18:59:05,245 - jwst.srctype.srctype - INFO - source_id=2411, type=POINT
2026-09-09 18:59:05,246 - jwst.srctype.srctype - INFO - source_id=1938, type=POINT
2026-09-09 18:59:05,246 - jwst.srctype.srctype - INFO - source_id=2227, type=POINT
2026-09-09 18:59:05,247 - jwst.srctype.srctype - INFO - source_id=2295, type=EXTENDED
2026-09-09 18:59:05,248 - jwst.srctype.srctype - INFO - source_id=2136, type=POINT
2026-09-09 18:59:05,251 - stpipe.step - INFO - Step srctype done
2026-09-09 18:59:05,524 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:59:05,525 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:05,798 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:59:05,800 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:06,087 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:59:06,089 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:06,361 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:59:06,362 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:06,623 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:59:06,624 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:06,885 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_07101_00003_nrcblong_bsub.fits>,).
2026-09-09 18:59:06,895 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0164.fits
2026-09-09 18:59:06,896 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:59:06,896 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:59:06,897 - jwst.photom.photom - INFO -  detector: NRCBLONG
2026-09-09 18:59:06,897 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:59:06,898 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:59:06,898 - jwst.photom.photom - INFO -  pupil: GRISMC
2026-09-09 18:59:06,928 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:59:06,928 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:59:06,931 - jwst.photom.photom - INFO - Working on slit 2130
2026-09-09 18:59:06,931 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:59:06,933 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:06,959 - jwst.photom.photom - INFO - Working on slit 2131
2026-09-09 18:59:06,960 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:59:06,962 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:06,988 - jwst.photom.photom - INFO - Working on slit 2145
2026-09-09 18:59:06,989 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:59:06,991 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:07,018 - jwst.photom.photom - INFO - Working on slit 2224
2026-09-09 18:59:07,019 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:59:07,021 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:07,049 - jwst.photom.photom - INFO - Working on slit 911
2026-09-09 18:59:07,050 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:59:07,051 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:07,077 - jwst.photom.photom - INFO - Working on slit 2411
2026-09-09 18:59:07,078 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:59:07,080 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:07,106 - jwst.photom.photom - INFO - Working on slit 1938
2026-09-09 18:59:07,107 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:59:07,109 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:07,136 - jwst.photom.photom - INFO - Working on slit 2227
2026-09-09 18:59:07,137 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:59:07,138 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:07,167 - jwst.photom.photom - INFO - Working on slit 2295
2026-09-09 18:59:07,168 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:59:07,170 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:07,198 - jwst.photom.photom - INFO - Working on slit 2136
2026-09-09 18:59:07,199 - jwst.photom.photom - INFO - PHOTMJSR value: 5422.84
2026-09-09 18:59:07,201 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:07,233 - stpipe.step - INFO - Step photom done
2026-09-09 18:59:07,891 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_cal.fits>,).
2026-09-09 18:59:07,892 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:08,175 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_cal.fits>,).
2026-09-09 18:59:08,176 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:08,862 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_cal.fits>,).
2026-09-09 18:59:08,869 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:59:08,929 - jwst.extract_1d.extract - INFO - Working on slit 2130
2026-09-09 18:59:08,930 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:08,931 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:08,937 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:09,102 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 18:59:09,103 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:09,104 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:09,110 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:09,312 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 18:59:09,313 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:59:09,315 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 111.00 (inclusive)
2026-09-09 18:59:09,374 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 18:59:09,375 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:59:09,378 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 106.00 (inclusive)
2026-09-09 18:59:09,438 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 18:59:09,439 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:09,440 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:09,445 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:10,000 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 18:59:10,001 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:10,003 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:10,008 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:10,497 - jwst.extract_1d.extract - INFO - Working on slit 1938
2026-09-09 18:59:10,498 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:10,499 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:10,505 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:10,801 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 18:59:10,802 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:10,803 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:10,808 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:11,214 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 18:59:11,215 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:59:11,217 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 77.00 (inclusive)
2026-09-09 18:59:11,280 - jwst.extract_1d.extract - INFO - Working on slit 2136
2026-09-09 18:59:11,281 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:11,282 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:11,287 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:11,718 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_x1d.fits
2026-09-09 18:59:11,719 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:59:11,720 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00003_nrcblong
2026-09-09 18:59:11,723 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:59:11,723 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 18:59:12,394 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_cal.fits
2026-09-09 18:59:12,395 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 18:59:12,396 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 18:59:12,408 - py.warnings - WARNING - /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-09-09 18:59:12,457 - stpipe.step - INFO - PARS-BACKGROUNDSTEP parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-backgroundstep_0001.asdf
2026-09-09 18:59:12,473 - CRDS - ERROR -  Error determining best reference for 'pars-targcentroidstep'  =   Unknown reference type 'pars-targcentroidstep'
2026-09-09 18:59:12,486 - stpipe.step - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds/references/jwst/nircam/jwst_nircam_pars-spec2pipeline_0005.asdf
2026-09-09 18:59:12,510 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-09-09 18:59:12,511 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:59:12,512 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-09-09 18:59:12,513 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-09-09 18:59:12,514 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-09-09 18:59:12,515 - stpipe.step - INFO - BackgroundStep instance created.
2026-09-09 18:59:12,516 - stpipe.step - INFO - ImprintStep instance created.
2026-09-09 18:59:12,518 - stpipe.step - INFO - Extract2dStep instance created.
2026-09-09 18:59:12,522 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-09-09 18:59:12,523 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:59:12,524 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:59:12,525 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:59:12,526 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:59:12,527 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:59:12,528 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:59:12,530 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:59:12,531 - stpipe.step - INFO - TargCentroidStep instance created.
2026-09-09 18:59:12,531 - stpipe.step - INFO - WavecorrStep instance created.
2026-09-09 18:59:12,533 - stpipe.step - INFO - FlatFieldStep instance created.
2026-09-09 18:59:12,533 - stpipe.step - INFO - SourceTypeStep instance created.
2026-09-09 18:59:12,534 - stpipe.step - INFO - StraylightStep instance created.
2026-09-09 18:59:12,536 - stpipe.step - INFO - FringeStep instance created.
2026-09-09 18:59:12,537 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-09-09 18:59:12,538 - stpipe.step - INFO - PathLossStep instance created.
2026-09-09 18:59:12,539 - stpipe.step - INFO - BarShadowStep instance created.
2026-09-09 18:59:12,540 - stpipe.step - INFO - WfssContamStep instance created.
2026-09-09 18:59:12,541 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 18:59:12,543 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 18:59:12,545 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 18:59:12,546 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 18:59:12,548 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 18:59:12,549 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 18:59:12,879 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345012001_07101_00004_nrcalong_spec2_asn.json',).
2026-09-09 18:59:12,915 - stpipe.step - INFO - Step Spec2Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec
  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: True
      skip: False
      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: 24.0
      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: 10
    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: 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: ivm
          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: False
          bkg_sigma_clip: 3.0
          ifu_rfcorr: True
          ifu_set_srctype: None
          ifu_rscale: None
          ifu_covar_scale: 1.0
          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
      polyfit_degree: None
      n_iterations: 1
      l2_alpha: 0.1
      rejection_threshold: 0.1
    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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 18:59:12,982 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345012001_07101_00004_nrcalong_spec2_asn.json' reftypes = ['apcorr', 'area', 'barshadow', 'bkg', 'camera', 'chromcorr', '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-09-09 18:59:12,987 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 18:59:12,988 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 18:59:12,988 - stpipe.pipeline - INFO - Prefetch for BARSHADOW reference file is 'N/A'.
2026-09-09 18:59:12,989 - stpipe.pipeline - INFO - Prefetch for BKG reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0045.fits'.
2026-09-09 18:59:12,990 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is 'N/A'.
2026-09-09 18:59:12,990 - stpipe.pipeline - INFO - Prefetch for CHROMCORR reference file is 'N/A'.
2026-09-09 18:59:12,991 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is 'N/A'.
2026-09-09 18:59:12,991 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 18:59:12,992 - stpipe.pipeline - INFO - Prefetch for DFLAT reference file is 'N/A'.
2026-09-09 18:59:12,992 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is 'N/A'.
2026-09-09 18:59:12,993 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_distortion_0260.asdf'.
2026-09-09 18:59:12,994 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 18:59:12,994 - stpipe.pipeline - INFO - Prefetch for FFLAT reference file is 'N/A'.
2026-09-09 18:59:12,995 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_filteroffset_0007.asdf'.
2026-09-09 18:59:12,995 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits'.
2026-09-09 18:59:12,996 - stpipe.pipeline - INFO - Prefetch for FORE reference file is 'N/A'.
2026-09-09 18:59:12,997 - stpipe.pipeline - INFO - Prefetch for FPA reference file is 'N/A'.
2026-09-09 18:59:12,997 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-09-09 18:59:12,998 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-09-09 18:59:12,999 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-09-09 18:59:12,999 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-09-09 18:59:13,000 - stpipe.pipeline - INFO - Prefetch for MRSXARTCORR reference file is 'N/A'.
2026-09-09 18:59:13,000 - stpipe.pipeline - INFO - Prefetch for MSA reference file is 'N/A'.
2026-09-09 18:59:13,001 - stpipe.pipeline - INFO - Prefetch for MSAOPER reference file is 'N/A'.
2026-09-09 18:59:13,002 - stpipe.pipeline - INFO - Prefetch for OTE reference file is 'N/A'.
2026-09-09 18:59:13,002 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 18:59:13,003 - stpipe.pipeline - INFO - Prefetch for PATHLOSS reference file is 'N/A'.
2026-09-09 18:59:13,003 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits'.
2026-09-09 18:59:13,005 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 18:59:13,005 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-09-09 18:59:13,006 - stpipe.pipeline - INFO - Prefetch for SFLAT reference file is 'N/A'.
2026-09-09 18:59:13,006 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 18:59:13,007 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 18:59:13,008 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_specwcs_0217.asdf'.
2026-09-09 18:59:13,009 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is 'N/A'.
2026-09-09 18:59:13,009 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf'.
2026-09-09 18:59:13,010 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-09-09 18:59:13,017 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00004_nrcalong
2026-09-09 18:59:13,017 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00004_nrcalong_rate.fits ...
2026-09-09 18:59:13,085 - jwst.pipeline.calwebb_spec2 - INFO - Using sourcecat file jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:59:13,086 - jwst.pipeline.calwebb_spec2 - INFO - Using segmentation map jw01345-o012_nircam_f356w-clear_segm.fits
2026-09-09 18:59:13,087 - jwst.pipeline.calwebb_spec2 - INFO - Using direct image jw01345-o012_nircam_f356w-clear_i2d.fits
2026-09-09 18:59:13,335 - stpipe.step - INFO - Step assign_wcs running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcalong_rate.fits>,).
2026-09-09 18:59:13,397 - jwst.assign_wcs.nircam - INFO - Added Barycentric velocity correction: 1.0000498268180622
2026-09-09 18:59:13,515 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-09-09 18:59:13,517 - stpipe.step - INFO - AssignWcsStep instance created.
2026-09-09 18:59:13,664 - stpipe.step - INFO - Step assign_wcs done
2026-09-09 18:59:13,938 - stpipe.step - INFO - Step badpix_selfcal running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcalong_rate.fits>, [], []).
2026-09-09 18:59:13,939 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:14,185 - stpipe.step - INFO - Step msa_flagging running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcalong_rate.fits>,).
2026-09-09 18:59:14,186 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:14,431 - stpipe.step - INFO - Step clean_flicker_noise running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcalong_rate.fits>,).
2026-09-09 18:59:14,432 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:14,678 - stpipe.step - INFO - Step imprint_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcalong_rate.fits>, []).
2026-09-09 18:59:14,679 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:14,930 - stpipe.step - INFO - Step bkg_subtract running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcalong_rate.fits>, []).
2026-09-09 18:59:14,986 - jwst.background.background_step - INFO - Working on input <ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcalong_rate.fits> ...
2026-09-09 18:59:14,994 - jwst.background.background_step - INFO - Using BKG reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_bkg_0045.fits
2026-09-09 18:59:14,994 - jwst.background.background_step - INFO - Using WavelengthRange reference file /home/runner/crds/references/jwst/nircam/jwst_nircam_wavelengthrange_0007.asdf
2026-09-09 18:59:15,070 - jwst.assign_wcs.util - INFO - Extracting objects < abmag = 24.0
2026-09-09 18:59:15,070 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:59:15,071 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:59:20,392 - jwst.assign_wcs.util - INFO - Total of 227 grism objects defined
2026-09-09 18:59:20,420 - jwst.background.background_sub_wfss - WARNING - No source_catalog found in input.meta, and custom mask not specified. 
2026-09-09 18:59:20,421 - jwst.background.background_sub_wfss - WARNING - No sources will be masked for background scaling.
2026-09-09 18:59:20,433 - jwst.background.background_sub_wfss - INFO - Starting iterative outlier rejection for background subtraction.
2026-09-09 18:59:20,846 - jwst.background.background_sub_wfss - INFO - Stopped at maxiter (5).
2026-09-09 18:59:20,915 - jwst.background.background_sub_wfss - INFO - Average of scaled background image = 1.876e-01
2026-09-09 18:59:20,915 - jwst.background.background_sub_wfss - INFO - Scaling factor = 1.87490e-01
2026-09-09 18:59:21,074 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_bsub.fits
2026-09-09 18:59:21,074 - stpipe.step - INFO - Step bkg_subtract done
2026-09-09 18:59:21,329 - stpipe.step - INFO - Step flat_field running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:59:21,403 - jwst.flatfield.flat_field_step - INFO - Using FLAT reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_flat_0762.fits
2026-09-09 18:59:21,404 - jwst.flatfield.flat_field_step - INFO - No reference found for type FFLAT
2026-09-09 18:59:21,404 - jwst.flatfield.flat_field_step - INFO - No reference found for type SFLAT
2026-09-09 18:59:21,405 - jwst.flatfield.flat_field_step - INFO - No reference found for type DFLAT
2026-09-09 18:59:21,534 - stpipe.step - INFO - Step flat_field done
2026-09-09 18:59:21,787 - stpipe.step - INFO - Step extract_2d running with args (<ImageModel(2048, 2048) from jw01345012001_07101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:59:21,792 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRC_WFSS
2026-09-09 18:59:21,954 - jwst.assign_wcs.util - INFO - Getting objects from jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:59:21,955 - jwst.assign_wcs.util - INFO - Creating bounding boxes for grism objects, rejecting sources fully off-detector
2026-09-09 18:59:49,435 - jwst.assign_wcs.util - INFO - Total of 10 grism objects defined
2026-09-09 18:59:49,482 - jwst.extract_2d.grisms - INFO - Grism object list created from source catalog: jw01345-o012_nircam_f356w-clear_cat.ecsv
2026-09-09 18:59:49,483 - jwst.extract_2d.grisms - INFO - Extracting 10 grism objects
2026-09-09 18:59:49,554 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2264 order: 1:
2026-09-09 18:59:49,555 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1702, xmax:1712), (ymin:0, ymax:1043)
2026-09-09 18:59:49,719 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2163 order: 1:
2026-09-09 18:59:49,720 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:769, xmax:779), (ymin:0, ymax:355)
2026-09-09 18:59:49,878 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2339 order: 1:
2026-09-09 18:59:49,879 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:410, xmax:420), (ymin:580, ymax:1715)
2026-09-09 18:59:50,044 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2154 order: 1:
2026-09-09 18:59:50,045 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1242, xmax:1252), (ymin:0, ymax:168)
2026-09-09 18:59:50,204 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 662 order: 1:
2026-09-09 18:59:50,205 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:165, xmax:175), (ymin:0, ymax:838)
2026-09-09 18:59:50,374 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1334 order: 1:
2026-09-09 18:59:50,375 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:849, xmax:859), (ymin:684, ymax:1777)
2026-09-09 18:59:50,548 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1935 order: 1:
2026-09-09 18:59:50,548 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1878, xmax:1888), (ymin:1449, ymax:2048)
2026-09-09 18:59:50,710 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2338 order: 1:
2026-09-09 18:59:50,711 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:567, xmax:577), (ymin:606, ymax:1682)
2026-09-09 18:59:50,874 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 1299 order: 1:
2026-09-09 18:59:50,875 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1657, xmax:1667), (ymin:644, ymax:1722)
2026-09-09 18:59:51,039 - jwst.extract_2d.grisms - INFO - Subarray extracted for obj: 2170 order: 1:
2026-09-09 18:59:51,040 - jwst.extract_2d.grisms - INFO - Subarray extents are: (xmin:1417, xmax:1483), (ymin:0, ymax:333)
2026-09-09 18:59:51,418 - jwst.extract_2d.grisms - INFO - Finished extractions
2026-09-09 18:59:51,425 - stpipe.step - INFO - Step extract_2d done
2026-09-09 18:59:51,717 - stpipe.step - INFO - Step srctype running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:59:51,718 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRC_WFSS
2026-09-09 18:59:51,719 - jwst.srctype.srctype - INFO - source_id=2264, type=POINT
2026-09-09 18:59:51,719 - jwst.srctype.srctype - INFO - source_id=2163, type=POINT
2026-09-09 18:59:51,720 - jwst.srctype.srctype - INFO - source_id=2339, type=POINT
2026-09-09 18:59:51,721 - jwst.srctype.srctype - INFO - source_id=2154, type=POINT
2026-09-09 18:59:51,722 - jwst.srctype.srctype - INFO - source_id=662, type=POINT
2026-09-09 18:59:51,722 - jwst.srctype.srctype - INFO - source_id=1334, type=POINT
2026-09-09 18:59:51,723 - jwst.srctype.srctype - INFO - source_id=1935, type=POINT
2026-09-09 18:59:51,724 - jwst.srctype.srctype - INFO - source_id=2338, type=POINT
2026-09-09 18:59:51,725 - jwst.srctype.srctype - INFO - source_id=1299, type=POINT
2026-09-09 18:59:51,725 - jwst.srctype.srctype - INFO - source_id=2170, type=EXTENDED
2026-09-09 18:59:51,729 - stpipe.step - INFO - Step srctype done
2026-09-09 18:59:51,992 - stpipe.step - INFO - Step straylight running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:59:51,994 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:52,265 - stpipe.step - INFO - Step fringe running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:59:52,266 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:52,530 - stpipe.step - INFO - Step pathloss running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:59:52,531 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:52,795 - stpipe.step - INFO - Step barshadow running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:59:52,796 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:53,056 - stpipe.step - INFO - Step wfss_contam running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:59:53,057 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:53,322 - stpipe.step - INFO - Step photom running with args (<MultiSlitModel from jw01345012001_07101_00004_nrcalong_bsub.fits>,).
2026-09-09 18:59:53,333 - jwst.photom.photom_step - INFO - Using photom reference file: /home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits
2026-09-09 18:59:53,334 - jwst.photom.photom_step - INFO - Using area reference file: N/A
2026-09-09 18:59:53,335 - jwst.photom.photom - INFO - Using instrument: NIRCAM
2026-09-09 18:59:53,335 - jwst.photom.photom - INFO -  detector: NRCALONG
2026-09-09 18:59:53,336 - jwst.photom.photom - INFO -  exp_type: NRC_WFSS
2026-09-09 18:59:53,336 - jwst.photom.photom - INFO -  filter: F356W
2026-09-09 18:59:53,337 - jwst.photom.photom - INFO -  pupil: GRISMC
2026-09-09 18:59:53,366 - jwst.photom.photom - INFO - Attempting to obtain PIXAR_SR and PIXAR_A2 values from PHOTOM reference file.
2026-09-09 18:59:53,367 - jwst.photom.photom - INFO - Values for PIXAR_SR and PIXAR_A2 obtained from PHOTOM reference file.
2026-09-09 18:59:53,369 - jwst.photom.photom - INFO - Working on slit 2264
2026-09-09 18:59:53,370 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:59:53,372 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:53,399 - jwst.photom.photom - INFO - Working on slit 2163
2026-09-09 18:59:53,400 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:59:53,402 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:53,428 - jwst.photom.photom - INFO - Working on slit 2339
2026-09-09 18:59:53,429 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:59:53,431 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:53,457 - jwst.photom.photom - INFO - Working on slit 2154
2026-09-09 18:59:53,458 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:59:53,459 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:53,486 - jwst.photom.photom - INFO - Working on slit 662
2026-09-09 18:59:53,487 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:59:53,488 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:53,515 - jwst.photom.photom - INFO - Working on slit 1334
2026-09-09 18:59:53,516 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:59:53,517 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:53,544 - jwst.photom.photom - INFO - Working on slit 1935
2026-09-09 18:59:53,545 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:59:53,547 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:53,574 - jwst.photom.photom - INFO - Working on slit 2338
2026-09-09 18:59:53,575 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:59:53,577 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:53,605 - jwst.photom.photom - INFO - Working on slit 1299
2026-09-09 18:59:53,606 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:59:53,608 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:53,634 - jwst.photom.photom - INFO - Working on slit 2170
2026-09-09 18:59:53,635 - jwst.photom.photom - INFO - PHOTMJSR value: 4218.77
2026-09-09 18:59:53,637 - jwst.photom.photom - INFO - Including spectral dispersion in 2-d flux calibration
2026-09-09 18:59:53,669 - stpipe.step - INFO - Step photom done
2026-09-09 18:59:54,334 - stpipe.step - INFO - Step adaptive_trace_model running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_cal.fits>,).
2026-09-09 18:59:54,335 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:54,634 - stpipe.step - INFO - Step pixel_replace running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_cal.fits>,).
2026-09-09 18:59:54,634 - stpipe.step - INFO - Step skipped.
2026-09-09 18:59:55,342 - stpipe.step - INFO - Step extract_1d running with args (<MultiSlitModel from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_cal.fits>,).
2026-09-09 18:59:55,349 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 18:59:55,410 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 18:59:55,412 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:55,413 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:55,419 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:55,960 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 18:59:55,961 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:55,962 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:55,967 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:56,190 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 18:59:56,191 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:56,193 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:56,198 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:56,763 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 18:59:56,764 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:56,766 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:56,771 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:56,906 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 18:59:56,907 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:56,908 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:56,914 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:57,342 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 18:59:57,343 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:57,344 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:57,350 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:57,895 - jwst.extract_1d.extract - INFO - Working on slit 1935
2026-09-09 18:59:57,897 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:57,898 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:57,903 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:58,228 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 18:59:58,229 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:58,231 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:58,236 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:58,779 - jwst.extract_1d.extract - INFO - Working on slit 1299
2026-09-09 18:59:58,780 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 18:59:58,782 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 18:59:58,787 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 18:59:59,323 - jwst.extract_1d.extract - INFO - Working on slit 2170
2026-09-09 18:59:59,324 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 18:59:59,325 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 66.00 (inclusive)
2026-09-09 18:59:59,591 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_x1d.fits
2026-09-09 18:59:59,592 - stpipe.step - INFO - Step extract_1d done
2026-09-09 18:59:59,593 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage1/jw01345012001_07101_00004_nrcalong
2026-09-09 18:59:59,595 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-09-09 18:59:59,596 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1584.pmap
2026-09-09 19:00:00,267 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_cal.fits
2026-09-09 19:00:00,268 - stpipe.step - INFO - Step Spec2Pipeline done
2026-09-09 19:00:00,268 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
# Print out the time benchmark
time_spec2_end = time.perf_counter()
print(f"Runtime for Spec2: {(time_spec2_end - time_spec2)/60:0.0f} minutes")
Runtime for Spec2: 13 minutes

10. Understanding Spec2 Output Products#

Background-subtracted files (*_bsub.fits)#

For WFSS data, the background subtraction step masks pixels containing signal from discrete sources and uses the remaining pixels, which are assumed to contain only background signal, to determine the background level. As described in the Background step documentation, the mean value across these background pixels is used to scale a pre-existing background image. The scaled background is then subtracted from the data.

Since we set spec2dict['bkg_subtract']['save_results'] = True above, the results of the step are saved in a file with the suffix “bsub.fits”. This file contains the background-subtracted data, as well as the mask used during the mean background calculation.

bsub_file = os.path.join(spec2_dir, os.path.basename(grism_rate_files[0]).replace('rate.fits', 'bsub.fits'))
bsub_model = datamodels.open(bsub_file)
rate_file = os.path.join(det1_dir, os.path.basename(grism_rate_files[0]))
rate_model = datamodels.open(rate_file)

Let’s look at the data before and after background subtraction. Note that the two images have different scaling. The image of the data after background subtraction is shown with a significantly lower maximum value, in order to highlight the appearance of any residual background signal.

In addition, show the mask used within the background step. Yellow pixels in this image are the pixels used to determine the mean background level. Black pixels were determined to contain non-background signal, and were ignored. Note that with the large number of sources in this example image, we manually set spec2dict['bkg_subtract']['wfss_mmag_extract'] = 24.0 when running the spec2 pipeline. This caused all sources in the source catalog from the image3 pipeline with isophotal_abmag values brighter than 24 to be masked. Sources dimmer than this threshold were ignored and included as background pixels.

# Show the dispersed data before and after background subtraction. Also show the mask used
# for the background construction.
f, a = plt.subplots(ncols=3, nrows=1, figsize=(14, 10))
a[0].imshow(rate_model.data, origin='lower', vmin=0, vmax=0.4)
a[0].set_title('Unsubtracted rate data')
a[1].imshow(bsub_model.data, origin='lower', vmin=0, vmax=0.1)
a[1].set_title('Background-subtracted data')
a[2].imshow(bsub_model.mask, origin='lower', vmin=0, vmax=0.7)
a[2].set_title('Source mask for background determination')
plt.show()
../../../_images/f9192bd299f27d37aa74d72ef6e7b62a51a54ece8113a4fd77ccd0e639bad805.png

Let’s go back to the source catalog, and look at the distribution of isophotal_abmag values in the image relative to the cutoff magnitude that we specified. Sources to the right of the vertical dashed line were included as background pixels when determining the mean background value in the image.

fig, ax = plt.subplots()

ax.hist(cat['isophotal_abmag'], bins=40, edgecolor="black", color="skyblue")
ax.axvline(x=24.0, color="black", linestyle="--", linewidth=2, label="Background cutoff")

ax.set_title("Histogram of source catalog Isophotal ABMAG")
ax.set_xlabel("Isophotal ABMAG")
ax.set_ylabel("Frequency")
ax.legend()
plt.show()
../../../_images/3898b471baaa6a0fd82b6d98e71c1351cb249d470ea1ee52f1afd02758a5b7c2.png

2D and 1D spectra (*_cal.fits and *_x1d.fits)#

In WFSS data there can be many sources of interest to look at. In this visualization we examine, for five selected sources, the source as it appears in the i2d image, two example grism *_cal.fits 2-D spectral cutouts (if available, otherwise they may appear blank), and the level 2 *_x1d.fits 1-D extracted spectra for all grism dithers where available. With the contamination step currently turned off, the contamination can be easily visible when comparing the 1-D and 2-D spectra of the two grisms.

Note that the *_cal.fits data for GRISMC are transposed so that the dispersion direction is along the -x axis. For both GRISMC and GRISMR where necessary, the x axis is then flipped so that wavelength will always be increasing to the right.

# Select sources to show in the example figure below, using RA, Dec.
# These sources, from the demo data, were selected manually by examining the i2d file
ra_decs = [(214.967375, 52.926306),
           (214.990833, 52.905944),
           (214.990667, 52.919932),
           (214.95887105, 52.90098716),
           (214.91440591, 52.8759353)
           ]
# Generate a list of sources and the files needed to examine them below
if doviz:
    # Grab the spec2 x1d output products
    spec2_x1d_files = sorted(glob.glob(os.path.join(spec2_dir, '*nrc*_x1d.fits*')))

    # If there are multiple blocking filters, pick one for illustration
    spec2_unique_filters = np.unique([fits.getval(x1d, 'FILTER') for x1d in spec2_x1d_files])
    filter_x1ds = [x1d for x1d in spec2_x1d_files if fits.getval(x1d, 'FILTER') == spec2_unique_filters[0]]

    if demo_mode:
        # Find the source catalog for this set of filters
        source_catfile = os.path.join(image3_dir, fits.getval(filter_x1ds[0], 'SCATFILE'))

        # For each of the sources defined in ra_decs, find the source ID for the closest
        # target in the source catalog output from the detector1 pipeline
        sources = [find_closest_source_id(ra, dec, source_catfile) for ra, dec in ra_decs]
        nsources = len(sources)
    else:
        # Or grab some sources from the first x1d file
        nsources = 5  # 100 sources are extracted by default
        source_offset = 3  # offsetting what nsources to plot to avoid extra bright sources
        with fits.open(filter_x1ds[0]) as temp_x1d:
            sources = temp_x1d[1].data['SOURCE_ID'][source_offset:nsources+source_offset]
# Print the source numbers corresponding to the RA, Dec values above
sources
[np.int32(2339), np.int32(2163), np.int32(662), np.int32(2264), np.int32(911)]

Example spec2 output figure#

# For each source, look at the source as identified by the source catalog in the i2d image,
# the two grism cal files, and the x1d files
if doviz:
    # Set up the figure
    cols = 4
    rows = nsources
    fig = plt.figure(figsize=(15, 4*(rows/2)))
    fig.suptitle(f"Spec2 Products for PID{program} o{sci_observtn} {spec2_unique_filters[0]}")

    # Color lists for 1D spectra plots
    blues = plt.cm.Blues(np.linspace(0.45, 0.9, len(filter_x1ds)))
    oranges = plt.cm.Oranges(np.linspace(0.45, 0.9, len(filter_x1ds)))

    # Simple records of which files source IDs are found within, and which extensions
    x1d_status = []
    grismr_cal_status = []
    grismc_cal_status = []
    
    # Loop through the different sources to plot; one per row
    for nsource, source_id in enumerate(sources):
        # Only plot a single cal file cutout for each grism
        plot_grismr = True
        plot_grismc = True

        # Set up the subplots for a single source
        ypos = nsource
        ax_i2d = plt.subplot2grid((rows, cols), (ypos, 0)) 
        ax_cal_r = plt.subplot2grid((rows, cols), (ypos, 1)) 
        ax_cal_c = plt.subplot2grid((rows, cols), (ypos, 2)) 
        ax_x1d = plt.subplot2grid((rows, cols), (ypos, 3))
    
        source_fluxes = []  # Save the source flux to set the plot limits
                
        # Plot all of the 1-D spectra from the x1d files
        for nfile, x1dfile in enumerate(filter_x1ds):

            ax_x1d, catname, source_fluxes, grism, status = plot_spectrum(x1dfile, source_id, source_fluxes, ax_x1d,
                                                                          image3_dir, colors=[blues[nfile], oranges[nfile]],
                                                                          legend=False)
            x1d_status.append(status)
            
            # Plot the direct image of the source based on the source number from the source catalog
            if nfile == 0:
                ax_i2d = plot_i2d_plus_source(catname, source_id, ax_i2d)
            
            # Plot one example cal image from GRISMR
            if plot_grismr and grism == 'GRISMR':
                ax_cal_r, source_found, status = plot_spec2_cal(x1dfile, source_id, ax_cal_r)
                grismr_cal_status.append(status)
                if source_found:
                    plot_grismr = False
                
            # Plot one example cal image from GRISMC
            if plot_grismc and grism == 'GRISMC':
                ax_cal_c, source_found, status = plot_spec2_cal(x1dfile, source_id, ax_cal_c)
                grismc_cal_status.append(status)
                if source_found:
                    plot_grismc = False
        
        if len(source_fluxes):
            # Try to avoid excessively noisy points when setting plot limits
            lo, hi = np.nanpercentile(source_fluxes, [1, 99])  # ignores bottom/top 1%

            # Add a little padding so the continuum isn't hugging the edges
            pad = 0.1 * (hi - lo)
            ax_x1d.set_ylim(lo - pad, hi + pad)

            ax_x1d.legend(bbox_to_anchor=(1, 1), ncols=np.ceil(len(filter_x1ds)/6))
        
        # Add labels to the subplots
        if nsource == 0:
            ax_cal_r.set_title('Example GRISMR cutout\n(cal)')
            ax_cal_c.set_title('Example Transposed GRISMC cutout\n(cal)')
            ax_i2d.set_title('Direct Image\n(i2d)')
            ax_x1d.set_title('All Collapsed 1-D Spectrum\n(level 2 x1d)')
            
        ax_i2d.set_ylabel(f'Source\n{source_id}', fontsize=15)
        ax_cal_r.set_xlabel('dispersion --->')
        ax_cal_c.set_xlabel('dispersion --->')
        ax_x1d.set_xlabel('Wavelength (microns)')
        ax_x1d.set_ylabel('F_nu (Jy)')
        ax_x1d.ticklabel_format(axis='y', style='sci', scilimits=(0, 0))  # force scientific notation for the spectra

    fig.tight_layout()
../../../_images/55c9e117f7103dccf38e229bfb4f6918cf3b00f52930529cbdf5de7d9cd48f8b.png

Notes on which files and extensions each source was found in.

x1d_status
['Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcalong_x1d.fits',
 'Source 2339 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcblong_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcalong_x1d.fits',
 'Source 2339 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcblong_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcalong_x1d.fits',
 'Source 2339 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcblong_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcalong_x1d.fits',
 'Source 2339 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcblong_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_x1d.fits',
 'Source 2339 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_x1d.fits',
 'Source 2339 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_x1d.fits',
 'Source 2339 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_x1d.fits',
 'Source 2339 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcalong_x1d.fits',
 'Source 2163 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcblong_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcalong_x1d.fits',
 'Source 2163 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcblong_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcalong_x1d.fits',
 'Source 2163 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcblong_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcalong_x1d.fits',
 'Source 2163 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcblong_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_x1d.fits',
 'Source 2163 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_x1d.fits',
 'Source 2163 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_x1d.fits',
 'Source 2163 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_x1d.fits',
 'Source 2163 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcalong_x1d.fits',
 'Source 662 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcblong_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcalong_x1d.fits',
 'Source 662 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcblong_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcalong_x1d.fits',
 'Source 662 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcblong_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcalong_x1d.fits',
 'Source 662 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcblong_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_x1d.fits',
 'Source 662 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_x1d.fits',
 'Source 662 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_x1d.fits',
 'Source 662 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_x1d.fits',
 'Source 662 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcalong_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcblong_x1d.fits BUT there are no finite pixel values for source 2264 GRISMR. Source likely on edge of detector; not plotting',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcalong_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcblong_x1d.fits BUT there are no finite pixel values for source 2264 GRISMR. Source likely on edge of detector; not plotting',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcalong_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcblong_x1d.fits BUT there are no finite pixel values for source 2264 GRISMR. Source likely on edge of detector; not plotting',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcalong_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcblong_x1d.fits BUT there are no finite pixel values for source 2264 GRISMR. Source likely on edge of detector; not plotting',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_x1d.fits',
 'Source 2264 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_x1d.fits',
 'Source 2264 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_x1d.fits',
 'Source 2264 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_x1d.fits',
 'Source 2264 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_x1d.fits',
 'Source 911 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcalong_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00001_nrcblong_x1d.fits',
 'Source 911 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcalong_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00002_nrcblong_x1d.fits',
 'Source 911 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcalong_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00003_nrcblong_x1d.fits',
 'Source 911 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcalong_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_02101_00004_nrcblong_x1d.fits',
 'Source 911 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_x1d.fits',
 'Source 911 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_x1d.fits',
 'Source 911 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_x1d.fits',
 'Source 911 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_x1d.fits']
grismr_cal_status
[['Extension 15 in jw01345012001_02101_00001_nrcalong_cal.fits contains the data for source 2339 from our catalog'],
 ['Extension 8 in jw01345012001_02101_00001_nrcalong_cal.fits contains the data for source 2163 from our catalog'],
 ['Extension 36 in jw01345012001_02101_00001_nrcalong_cal.fits contains the data for source 662 from our catalog'],
 ['Extension 1 in jw01345012001_02101_00001_nrcalong_cal.fits contains the data for source 2264 from our catalog'],
 ['Source 911 not present in jw01345012001_02101_00001_nrcalong_cal.fits'],
 ['Extension 36 in jw01345012001_02101_00001_nrcblong_cal.fits contains the data for source 911 from our catalog']]
grismc_cal_status
[['Extension 15 in jw01345012001_07101_00001_nrcalong_cal.fits contains the data for source 2339 from our catalog'],
 ['Extension 8 in jw01345012001_07101_00001_nrcalong_cal.fits contains the data for source 2163 from our catalog'],
 ['Extension 29 in jw01345012001_07101_00001_nrcalong_cal.fits contains the data for source 662 from our catalog'],
 ['Extension 1 in jw01345012001_07101_00001_nrcalong_cal.fits contains the data for source 2264 from our catalog'],
 ['Source 911 not present in jw01345012001_07101_00001_nrcalong_cal.fits'],
 ['Extension 29 in jw01345012001_07101_00001_nrcblong_cal.fits contains the data for source 911 from our catalog']]

11. Spec3 Pipeline#


NIRCam WFSS data are minimally processed through the Spec3 stage of the pipeline to combine calibrated data from multiple dithers within an observation. The spec3 products are unique for a specific grism and blocking filter combination; data is not combined across grisms, even for the same sources. Each output *_x1d.fits file created in the extract_1d step and *_c1d.fits file created in the combine_1d step contain data for a single grism/filter combination, with all of the extracted sources contained within that file.

time_spec3 = time.perf_counter()
# Find the cal.fits files
sstring = os.path.join(spec2_dir, 'jw*cal.fits')
spec2_cal_files = sorted(glob.glob(sstring))
for ii, cal_relpath in enumerate(spec2_cal_files):
    spec2_cal_files[ii] = os.path.abspath(cal_relpath)
spec2_cal_files = np.array(spec2_cal_files)

print(f'Found {str(len(spec2_cal_files))} grism spectroscopy cal files to process for level 3')
Found 16 grism spectroscopy cal files to process for level 3

Create Spec3 Association Files#

There will be one spec3 association per blocking filter and grism combination. Each association will contain all of the extracted 2-D spectra (*_cal.fits files) for that filter and grism combination. For each source, the Spec3 pipeline will coadd the individual spectra from these files into a single spectrum. Fro example, if using only one blocking filter (e.g., F356W) with both grisms (GRISMR & GRISMC), there will be two Spec3 association files, each containing all of the corresponding *_cal.fits files to combine.

Like with Image3 and Spec2 before, we will be creating Image3 associations by providing a list of exposures that we have processed through the pipeline and saved in separate directories rather than downloading directly from MAST or using the pool files. Note that the Spec3 output products will have a rootname that is specified by the product_name in the association file. In the cell below, we create and save the association files, which will have filenames that end with _spec3_asn.json.

# Create Level 3 Associations for each pupil (blocking filter) type
if dospec3:

    # Parameters to be used for the spec3 association creation
    spec3_pid = str(program) # Associations are only set up to combine for the same program & observation
    spec3_obs = str(sci_observtn) # Associations are only set up to combine for the same program & observation
    spec3_ins = 'NIRCAM'

    # Identify the unique filters & grisms used for the WFSS cal files
    spec3_dict = {}
    spec3_dict['PUPIL'] = np.array([fits.getval(cf, 'PUPIL') for cf in spec2_cal_files])
    spec3_dict['FILTER'] = np.array([fits.getval(cf, 'FILTER') for cf in spec2_cal_files])
    spec3_dict['PATHNAMES'] = np.array(spec2_cal_files)

    spec3_df = pd.DataFrame(spec3_dict)

    # Loop over unique crossing filter values
    for spec3_filter in spec3_df['FILTER'].unique():        
        # Loop over the grisms
        for spec3_grism in spec3_df['PUPIL'].unique():
            # Find the files specific to each of the filters & grisms
            spec3_files = spec3_df[(spec3_df['FILTER'] == spec3_filter) & (spec3_df['PUPIL'] == spec3_grism)]['PATHNAMES']

            # Build the association names to match the default names from the pipeline
            product_name = f"jw{spec3_pid}-o{spec3_obs}_{spec3_ins}_{spec3_grism}-{spec3_filter}".lower()
            spec3_asn_filename = product_name + '_spec3_asn.json'
    
            spec3_association = asn_from_list.asn_from_list(spec3_files, rule=DMS_Level3_Base,
                                                            product_name=product_name)
    
            spec3_association.data['asn_type'] = 'spec3'
            spec3_association.data['program'] = spec3_pid
    
            # Format association as .json file
            _, serialized = spec3_association.dump(format="json")

            # Write out association file
            association_spec3 = os.path.join(sci_dir, spec3_asn_filename)
            with open(association_spec3, "w") as fd:
                fd.write(serialized)

            print(f'Writing spec3 association: {association_spec3}')
Writing spec3 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345-o012_nircam_grismr-f356w_spec3_asn.json
Writing spec3 association: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345-o012_nircam_grismc-f356w_spec3_asn.json
/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)

Take a quick look at the contents of the first spec3 association file to get a feel for its contents.

if dospec3:
    spec3_asns = glob.glob(os.path.join(sci_dir, "*spec3_asn.json"))
    
    # open the image3 association to look at
    spec3_asn_data = json.load(open(spec3_asns[0]))
    print(f'asn_type : {spec3_asn_data["asn_type"]}')
    print(f'code_version : {spec3_asn_data["code_version"]}')
    
    # in particular, take a closer look at the product filenames with the association file:
    for product in spec3_asn_data['products']:
        for key, value in product.items():
            if key == 'members':
                print(f"{key}:")
                for member in value:
                    print(f"    {member['expname']} {member['exptype']}")
            else:
                print(f"{key}: {value}")
asn_type : spec3
code_version : 3.0.0
name: jw01345-o012_nircam_grismc-f356w
members:
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcalong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00001_nrcblong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcalong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00002_nrcblong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcalong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00003_nrcblong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcalong_cal.fits science
    /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage2_spec/jw01345012001_07101_00004_nrcblong_cal.fits science

Run Spec3#

In the spec3 pipeline, 1-D spectra are created for each source from the input *_cal.fits files. These spectra are saved into level 3 *_x1d.fits files. An x1d.fits file contains one extension for each cal.fits file used as input. Each extension contains a table with the 1D spectra from all sources in that cal.fits file.

For each source, the associated 1-D spectra are then combined into a single 1-D spectrum and saved into a *_c1d.fits file. The c1d.fits file contains a single extension with a table of the spectra for all sources. The parameters in each of the Spec3 steps can be modified from the default values, including overwriting reference files that are used during this stage. This dictionary of the modified parameters for each of the steps is then fed into the steps parameter of the Spec3Pipeline call. The syntax for modifying some of these parameters is below.

# Set up a dictionary to define how the Spec3 pipeline should be configured.

# this sets up any entry to spec3dict to be a dictionary itself
spec3dict = defaultdict(dict)

# -----------------------------Set step parameters------------------------------

# Overrides for whether or not certain steps should be skipped (example).
# spec3dict['pixel_replace']['skip'] = True
spec3_dir
'/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec'
# Run Stage 3
if dospec3:
    for spec3_asn in spec3_asns:
        # spec3 ignores the specified output dir. Change to the directory we want the
        # output to be in
        os.chdir(spec3_dir)  
        spec3 = Spec3Pipeline.call(spec3_asn, output_dir=spec3_dir, steps=spec3dict, save_results=True)
        # change back into the directory you started in
        os.chdir(cwd) 
else:
    print('Skipping Spec3 processing')
2026-09-09 19:00:15,682 - stpipe.step - INFO - Spec3Pipeline instance created.
2026-09-09 19:00:15,683 - stpipe.step - INFO - AssignMTWcsStep instance created.
2026-09-09 19:00:15,685 - stpipe.step - INFO - MasterBackgroundStep instance created.
2026-09-09 19:00:15,686 - stpipe.step - INFO - OutlierDetectionStep instance created.
2026-09-09 19:00:15,687 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 19:00:15,688 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 19:00:15,690 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 19:00:15,691 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 19:00:15,693 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 19:00:15,694 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 19:00:15,695 - stpipe.step - INFO - Combine1dStep instance created.
2026-09-09 19:00:15,696 - stpipe.step - INFO - SpectralLeakStep instance created.
2026-09-09 19:00:15,953 - stpipe.step - INFO - Step Spec3Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345-o012_nircam_grismc-f356w_spec3_asn.json',).
2026-09-09 19:00:15,969 - stpipe.step - INFO - Step Spec3Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec
  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: 7 7
      threshold_percent: 99.8
      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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 19:00:16,262 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345-o012_nircam_grismc-f356w_spec3_asn.json' reftypes = ['apcorr', 'area', 'cubepar', 'extract1d', 'mrsptcorr', 'pastasoss', 'photom', 'psf', 'speckernel', 'specprofile']
2026-09-09 19:00:16,267 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 19:00:16,268 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 19:00:16,269 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 19:00:16,269 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 19:00:16,270 - stpipe.pipeline - INFO - Prefetch for MRSPTCORR reference file is 'N/A'.
2026-09-09 19:00:16,271 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 19:00:16,271 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits'.
2026-09-09 19:00:16,272 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 19:00:16,273 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 19:00:16,273 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 19:00:16,274 - jwst.pipeline.calwebb_spec3 - INFO - Starting calwebb_spec3 ...
2026-09-09 19:00:24,462 - jwst.pipeline.calwebb_spec3 - INFO - Convert from exposure-based to source-based data.
2026-09-09 19:00:24,462 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_07101_00001_nrcalong_cal.fits
2026-09-09 19:00:25,955 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_07101_00001_nrcblong_cal.fits
2026-09-09 19:00:27,028 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_07101_00002_nrcalong_cal.fits
2026-09-09 19:00:27,546 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_07101_00002_nrcblong_cal.fits
2026-09-09 19:00:28,121 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_07101_00003_nrcalong_cal.fits
2026-09-09 19:00:28,638 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_07101_00003_nrcblong_cal.fits
2026-09-09 19:00:29,145 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_07101_00004_nrcalong_cal.fits
2026-09-09 19:00:29,660 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_07101_00004_nrcblong_cal.fits
2026-09-09 19:00:31,232 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65d7f3b60>,).
2026-09-09 19:00:31,234 - stpipe.step - INFO - Step skipped.
2026-09-09 19:00:31,673 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65d7f3b60>,).
2026-09-09 19:00:31,696 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:00:31,750 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:00:31,751 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:31,752 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:31,757 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:32,297 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:00:32,299 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:32,300 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:32,307 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:32,853 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:00:32,854 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:32,855 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:32,861 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:33,409 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:00:33,410 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:33,411 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:33,417 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:34,143 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:00:34,601 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 19:00:34,753 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:00:34,832 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:00:34,838 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:00:34,842 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:00:34,846 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:00:34,850 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:00:34,851 - jwst.combine_1d.combine1d - WARNING - 14 elements of output had no corresponding input data;
2026-09-09 19:00:34,851 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:00:34,931 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:00:35,370 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64c2fe5d0>,).
2026-09-09 19:00:35,371 - stpipe.step - INFO - Step skipped.
2026-09-09 19:00:35,821 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64c2fe5d0>,).
2026-09-09 19:00:35,838 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:00:35,891 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 19:00:35,892 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:35,894 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:35,899 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:36,124 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 19:00:36,125 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:36,126 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:36,131 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:36,355 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 19:00:36,356 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:36,357 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:36,362 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:36,598 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 19:00:36,599 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:36,601 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:36,606 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:37,022 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:00:37,470 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 19:00:37,627 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:00:37,659 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:00:37,661 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:00:37,663 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:00:37,665 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:00:37,667 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:00:37,668 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:00:37,669 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:00:37,747 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:00:38,207 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64c2fe710>,).
2026-09-09 19:00:38,207 - stpipe.step - INFO - Step skipped.
2026-09-09 19:00:38,643 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64c2fe710>,).
2026-09-09 19:00:38,660 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:00:38,713 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 19:00:38,714 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:38,715 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:38,721 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:39,295 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 19:00:39,296 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:39,297 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:39,302 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:39,873 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 19:00:39,874 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:39,875 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:39,881 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:40,448 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 19:00:40,450 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:40,451 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:40,456 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:41,227 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:00:41,673 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 19:00:41,823 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:00:41,901 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:00:41,905 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:00:41,910 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:00:41,914 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:00:41,919 - jwst.combine_1d.combine1d - WARNING - 3 output pixel numbers were NaN
2026-09-09 19:00:41,999 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:00:42,436 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ab343e0>,).
2026-09-09 19:00:42,436 - stpipe.step - INFO - Step skipped.
2026-09-09 19:00:42,887 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ab343e0>,).
2026-09-09 19:00:42,903 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:00:42,959 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 19:00:42,960 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:42,961 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:42,967 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:43,114 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 19:00:43,116 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:43,117 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:43,122 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:43,261 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 19:00:43,262 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:43,263 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:43,269 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:43,419 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 19:00:43,420 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:43,421 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:43,426 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:43,758 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:00:44,204 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 19:00:44,355 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:00:44,376 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:00:44,379 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:00:44,380 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:00:44,382 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:00:44,383 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:00:44,384 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:00:44,385 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:00:44,464 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:00:44,914 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ab342b0>,).
2026-09-09 19:00:44,915 - stpipe.step - INFO - Step skipped.
2026-09-09 19:00:45,393 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ab342b0>,).
2026-09-09 19:00:45,410 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:00:45,464 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 19:00:45,465 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:45,466 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:45,471 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:45,913 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 19:00:45,914 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:45,915 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:45,921 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:46,364 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 19:00:46,366 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:46,367 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:46,375 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:46,829 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 19:00:46,830 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:46,831 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:46,836 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:47,467 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:00:47,904 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 19:00:48,058 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:00:48,124 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:00:48,128 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:00:48,131 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:00:48,135 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:00:48,139 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:00:48,139 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:00:48,140 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:00:48,222 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:00:48,661 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64cef6210>,).
2026-09-09 19:00:48,662 - stpipe.step - INFO - Step skipped.
2026-09-09 19:00:49,113 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64cef6210>,).
2026-09-09 19:00:49,130 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:00:49,186 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 19:00:49,187 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:49,188 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:49,194 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:49,751 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 19:00:49,752 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:49,753 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:49,759 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:50,306 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 19:00:50,308 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:50,309 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:50,314 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:50,866 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 19:00:50,867 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:50,868 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:50,873 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:51,622 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:00:52,071 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 19:00:52,228 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:00:52,302 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:00:52,307 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:00:52,311 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:00:52,316 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:00:52,320 - jwst.combine_1d.combine1d - WARNING - 3 output pixel numbers were NaN
2026-09-09 19:00:52,321 - jwst.combine_1d.combine1d - WARNING - 1 elements of output had no corresponding input data;
2026-09-09 19:00:52,321 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:00:52,404 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:00:52,865 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65bcdf680>,).
2026-09-09 19:00:52,866 - stpipe.step - INFO - Step skipped.
2026-09-09 19:00:53,324 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65bcdf680>,).
2026-09-09 19:00:53,345 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:00:53,403 - jwst.extract_1d.extract - INFO - Working on slit 1935
2026-09-09 19:00:53,404 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:53,406 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:53,411 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:53,752 - jwst.extract_1d.extract - INFO - Working on slit 1935
2026-09-09 19:00:53,753 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:53,754 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:53,760 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:54,087 - jwst.extract_1d.extract - INFO - Working on slit 1935
2026-09-09 19:00:54,088 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:54,090 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:54,095 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:54,408 - jwst.extract_1d.extract - INFO - Working on slit 1935
2026-09-09 19:00:54,409 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:54,410 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:54,416 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:54,954 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:00:55,419 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 19:00:55,573 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:00:55,619 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:00:55,622 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:00:55,625 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:00:55,628 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:00:55,631 - jwst.combine_1d.combine1d - WARNING - 3 output pixel numbers were NaN
2026-09-09 19:00:55,631 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:00:55,632 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:00:55,715 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:00:56,165 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64f471bf0>,).
2026-09-09 19:00:56,167 - stpipe.step - INFO - Step skipped.
2026-09-09 19:00:56,621 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64f471bf0>,).
2026-09-09 19:00:56,638 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:00:56,696 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 19:00:56,697 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:56,698 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:56,704 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:57,247 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 19:00:57,248 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:57,249 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:57,255 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:57,795 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 19:00:57,796 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:57,797 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:57,803 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:58,348 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 19:00:58,350 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:00:58,351 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:00:58,356 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:00:59,110 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:00:59,551 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 19:00:59,705 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:00:59,779 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:00:59,784 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:00:59,788 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:00:59,793 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:00:59,797 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:00:59,881 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:00,325 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64e46f950>,).
2026-09-09 19:01:00,326 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:00,806 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64e46f950>,).
2026-09-09 19:01:00,823 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:00,880 - jwst.extract_1d.extract - INFO - Working on slit 1299
2026-09-09 19:01:00,882 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:00,883 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:00,888 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:01,432 - jwst.extract_1d.extract - INFO - Working on slit 1299
2026-09-09 19:01:01,434 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:01,435 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:01,440 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:01,981 - jwst.extract_1d.extract - INFO - Working on slit 1299
2026-09-09 19:01:01,982 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:01,984 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:01,989 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:02,529 - jwst.extract_1d.extract - INFO - Working on slit 1299
2026-09-09 19:01:02,530 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:02,531 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:02,536 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:03,275 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:03,710 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 19:01:03,868 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:03,943 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:03,947 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:03,952 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:01:03,956 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:01:03,960 - jwst.combine_1d.combine1d - WARNING - 4 output pixel numbers were NaN
2026-09-09 19:01:03,960 - jwst.combine_1d.combine1d - WARNING - 1 elements of output had no corresponding input data;
2026-09-09 19:01:03,961 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:01:04,045 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:04,483 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64e46fe50>,).
2026-09-09 19:01:04,483 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:04,939 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64e46fe50>,).
2026-09-09 19:01:04,956 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:05,014 - jwst.extract_1d.extract - INFO - Working on slit 2170
2026-09-09 19:01:05,015 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:05,016 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 66.00 (inclusive)
2026-09-09 19:01:05,074 - jwst.extract_1d.extract - INFO - Working on slit 2170
2026-09-09 19:01:05,075 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:05,077 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 65.00 (inclusive)
2026-09-09 19:01:05,136 - jwst.extract_1d.extract - INFO - Working on slit 2170
2026-09-09 19:01:05,137 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:05,138 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 66.00 (inclusive)
2026-09-09 19:01:05,195 - jwst.extract_1d.extract - INFO - Working on slit 2170
2026-09-09 19:01:05,196 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:05,197 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 66.00 (inclusive)
2026-09-09 19:01:05,456 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:05,885 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcalong_cal.fits>,).
2026-09-09 19:01:06,038 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:06,068 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:06,071 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:06,073 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:01:06,075 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:01:06,077 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:01:06,078 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:01:06,078 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:01:06,164 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:06,601 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65adb47d0>,).
2026-09-09 19:01:06,602 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:07,063 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65adb47d0>,).
2026-09-09 19:01:07,080 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:07,138 - jwst.extract_1d.extract - INFO - Working on slit 2130
2026-09-09 19:01:07,140 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:07,141 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:07,146 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:07,302 - jwst.extract_1d.extract - INFO - Working on slit 2130
2026-09-09 19:01:07,303 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:07,304 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:07,309 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:07,462 - jwst.extract_1d.extract - INFO - Working on slit 2130
2026-09-09 19:01:07,463 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:07,464 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:07,469 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:07,631 - jwst.extract_1d.extract - INFO - Working on slit 2130
2026-09-09 19:01:07,631 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:07,633 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:07,638 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:07,991 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:08,437 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 19:01:08,592 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:08,615 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:08,617 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:08,618 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:01:08,620 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:01:08,622 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:01:08,623 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:01:08,710 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:09,154 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65bd5c8c0>,).
2026-09-09 19:01:09,155 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:09,651 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65bd5c8c0>,).
2026-09-09 19:01:09,669 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:09,729 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 19:01:09,731 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:09,732 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:09,737 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:09,929 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 19:01:09,930 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:09,931 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:09,936 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:10,126 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 19:01:10,127 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:10,128 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:10,133 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:10,337 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 19:01:10,338 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:10,339 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:10,344 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:10,738 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:11,173 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 19:01:11,330 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:11,357 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:11,360 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:11,362 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:01:11,364 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:01:11,366 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:01:11,366 - jwst.combine_1d.combine1d - WARNING - 13 elements of output had no corresponding input data;
2026-09-09 19:01:11,367 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:01:11,454 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:11,910 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64a3033f0>,).
2026-09-09 19:01:11,911 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:12,392 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64a3033f0>,).
2026-09-09 19:01:12,410 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:12,471 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:01:12,472 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:12,474 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 111.00 (inclusive)
2026-09-09 19:01:12,532 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:01:12,533 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:12,534 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 111.00 (inclusive)
2026-09-09 19:01:12,593 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:01:12,595 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:12,596 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 111.00 (inclusive)
2026-09-09 19:01:12,655 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:01:12,656 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:12,657 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 111.00 (inclusive)
2026-09-09 19:01:12,925 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:13,378 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 19:01:13,535 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:13,559 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:13,561 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:13,563 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:01:13,565 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:01:13,567 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:01:13,567 - jwst.combine_1d.combine1d - WARNING - 6 elements of output had no corresponding input data;
2026-09-09 19:01:13,568 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:01:13,658 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:14,109 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64a303cb0>,).
2026-09-09 19:01:14,110 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:14,584 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64a303cb0>,).
2026-09-09 19:01:14,605 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:14,667 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 19:01:14,668 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:14,670 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 106.00 (inclusive)
2026-09-09 19:01:14,733 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 19:01:14,735 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:14,736 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 106.00 (inclusive)
2026-09-09 19:01:14,799 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 19:01:14,800 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:14,802 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 106.00 (inclusive)
2026-09-09 19:01:14,866 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 19:01:14,868 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:14,870 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 106.00 (inclusive)
2026-09-09 19:01:15,143 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:15,609 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 19:01:15,765 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:15,818 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:15,821 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:15,824 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:01:15,828 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:01:15,831 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:01:15,832 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:01:15,832 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:01:15,922 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:16,384 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff6477786d0>,).
2026-09-09 19:01:16,385 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:16,894 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff6477786d0>,).
2026-09-09 19:01:16,910 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:16,971 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 19:01:16,973 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:16,974 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:16,980 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:17,525 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 19:01:17,526 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:17,527 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:17,533 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:18,081 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 19:01:18,082 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:18,083 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:18,089 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:18,642 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 19:01:18,643 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:18,644 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:18,650 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:19,402 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:19,863 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 19:01:20,018 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:20,093 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:20,098 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:20,102 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:01:20,106 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:01:20,110 - jwst.combine_1d.combine1d - WARNING - 4 output pixel numbers were NaN
2026-09-09 19:01:20,200 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:20,641 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65e1b2690>,).
2026-09-09 19:01:20,642 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:21,135 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65e1b2690>,).
2026-09-09 19:01:21,153 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:21,215 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 19:01:21,216 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:21,217 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:21,223 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:21,720 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 19:01:21,722 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:21,723 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:21,728 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:22,235 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 19:01:22,236 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:22,237 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:22,243 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:22,730 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 19:01:22,732 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:22,733 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:22,738 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:23,460 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:23,925 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 19:01:24,083 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:24,151 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:24,155 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:24,159 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:01:24,163 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:01:24,167 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:01:24,168 - jwst.combine_1d.combine1d - WARNING - 12 elements of output had no corresponding input data;
2026-09-09 19:01:24,168 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:01:24,261 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:24,710 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64d68c7d0>,).
2026-09-09 19:01:24,711 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:25,223 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64d68c7d0>,).
2026-09-09 19:01:25,242 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:25,306 - jwst.extract_1d.extract - INFO - Working on slit 1938
2026-09-09 19:01:25,307 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:25,308 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:25,314 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:25,628 - jwst.extract_1d.extract - INFO - Working on slit 1938
2026-09-09 19:01:25,629 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:25,630 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:25,636 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:25,953 - jwst.extract_1d.extract - INFO - Working on slit 1938
2026-09-09 19:01:25,954 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:25,955 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:25,961 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:26,259 - jwst.extract_1d.extract - INFO - Working on slit 1938
2026-09-09 19:01:26,261 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:26,262 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:26,267 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:26,796 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:27,260 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 19:01:27,423 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:27,468 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:27,471 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:27,474 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:01:27,476 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:01:27,479 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:01:27,480 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:01:27,480 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:01:27,574 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:28,028 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64a3064c0>,).
2026-09-09 19:01:28,029 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:28,532 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64a3064c0>,).
2026-09-09 19:01:28,551 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:28,615 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 19:01:28,616 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:28,617 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:28,622 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:29,018 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 19:01:29,020 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:29,021 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:29,026 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:29,421 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 19:01:29,422 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:29,424 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:29,429 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:29,840 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 19:01:29,842 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:29,843 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:29,848 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:30,457 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:30,913 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 19:01:31,073 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:31,127 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:31,131 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:31,134 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:01:31,137 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:01:31,141 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:01:31,141 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:01:31,142 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:01:31,233 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:31,679 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64a3066d0>,).
2026-09-09 19:01:31,680 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:32,173 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64a3066d0>,).
2026-09-09 19:01:32,192 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:32,256 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 19:01:32,258 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:32,259 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 76.00 (inclusive)
2026-09-09 19:01:32,321 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 19:01:32,322 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:32,324 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 77.00 (inclusive)
2026-09-09 19:01:32,387 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 19:01:32,388 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:32,390 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 77.00 (inclusive)
2026-09-09 19:01:32,450 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 19:01:32,452 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:01:32,454 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 76.00 (inclusive)
2026-09-09 19:01:32,728 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:33,206 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 19:01:33,366 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:33,443 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:33,448 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:33,453 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:01:33,457 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:01:33,462 - jwst.combine_1d.combine1d - WARNING - 4 output pixel numbers were NaN
2026-09-09 19:01:33,562 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:34,018 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64c0d2850>,).
2026-09-09 19:01:34,019 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:34,486 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64c0d2850>,).
2026-09-09 19:01:34,503 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:34,567 - jwst.extract_1d.extract - INFO - Working on slit 2136
2026-09-09 19:01:34,568 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:34,569 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:34,575 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:34,798 - jwst.extract_1d.extract - INFO - Working on slit 2136
2026-09-09 19:01:34,799 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:34,800 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:34,805 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:35,182 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:35,655 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00001_nrcblong_cal.fits>,).
2026-09-09 19:01:35,755 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:35,775 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:35,778 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:35,781 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:01:35,781 - jwst.combine_1d.combine1d - WARNING - 10 elements of output had no corresponding input data;
2026-09-09 19:01:35,781 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:01:35,877 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:36,322 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64c0d0eb0>,).
2026-09-09 19:01:36,322 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:36,779 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff64c0d0eb0>,).
2026-09-09 19:01:36,795 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:36,861 - jwst.extract_1d.extract - INFO - Working on slit 752
2026-09-09 19:01:36,862 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:36,863 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:36,868 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:37,371 - jwst.extract_1d.extract - INFO - Working on slit 752
2026-09-09 19:01:37,372 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:37,373 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:37,378 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:01:38,032 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:01:38,497 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_07101_00002_nrcblong_cal.fits>,).
2026-09-09 19:01:38,598 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:01:38,638 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:01:38,643 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:01:38,647 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:01:38,648 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:01:38,743 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:01:42,094 - jwst.pipeline.calwebb_spec3 - INFO - Setting S_REGION for combined footprint to: POLYGON ICRS  215.011224945 52.914016311 215.010571381 52.914343204 215.010840798 52.914536262 215.010741971 52.914585677 215.010898746 52.914698024 214.965345889 52.937778344 214.926963189 52.910983382 214.927064608 52.910929603 214.926905562 52.910821569 214.927082789 52.910727598 214.926667596 52.910445503 214.971622382 52.886559657 214.971774740 52.886666261 214.972245008 52.886415826  POLYGON ICRS  214.918465670 52.849884822 214.958073594 52.877381289 214.957424008 52.877713860 214.957689188 52.877901050 214.957589780 52.877951940 214.957746905 52.878062855 214.911842917 52.901366480 214.873703117 52.874414698 214.873808448 52.874360597 214.873646206 52.874252148 214.873832699 52.874156359 214.873410746 52.873874239 214.917843665 52.850027051 214.918009586 52.850139499
2026-09-09 19:01:42,096 - jwst.pipeline.calwebb_spec3 - INFO - Saving the final x1d product as jw01345-o012_nircam_grismc-f356w_x1d.fits.
2026-09-09 19:01:42,433 - jwst.pipeline.calwebb_spec3 - INFO - Saving the final c1d product as jw01345-o012_nircam_grismc-f356w_c1d.fits.
2026-09-09 19:01:42,508 - jwst.pipeline.calwebb_spec3 - INFO - Ending calwebb_spec3
2026-09-09 19:01:42,547 - stpipe.step - INFO - Step Spec3Pipeline done
2026-09-09 19:01:42,549 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
2026-09-09 19:01:42,560 - py.warnings - WARNING - /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-09-09 19:01:42,880 - stpipe.step - INFO - Spec3Pipeline instance created.
2026-09-09 19:01:42,881 - stpipe.step - INFO - AssignMTWcsStep instance created.
2026-09-09 19:01:42,882 - stpipe.step - INFO - MasterBackgroundStep instance created.
2026-09-09 19:01:42,884 - stpipe.step - INFO - OutlierDetectionStep instance created.
2026-09-09 19:01:42,885 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-09-09 19:01:42,886 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-09-09 19:01:42,887 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-09-09 19:01:42,889 - stpipe.step - INFO - CubeBuildStep instance created.
2026-09-09 19:01:42,890 - stpipe.step - INFO - Extract1dStep instance created.
2026-09-09 19:01:42,892 - stpipe.step - INFO - PhotomStep instance created.
2026-09-09 19:01:42,892 - stpipe.step - INFO - Combine1dStep instance created.
2026-09-09 19:01:42,893 - stpipe.step - INFO - SpectralLeakStep instance created.
2026-09-09 19:01:43,559 - stpipe.step - INFO - Step Spec3Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/jw01345-o012_nircam_grismr-f356w_spec3_asn.json',).
2026-09-09 19:01:43,574 - stpipe.step - INFO - Step Spec3Pipeline parameters are:
  pre_hooks: []
  post_hooks: []
  output_file: None
  output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec
  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: 7 7
      threshold_percent: 99.8
      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: 1.0
      slope_limit: 0.1
      psf_optimal: False
      save_intermediate_results: False
      maximum_cores: none
    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: 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: ivm
      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: True
      input_dir: ''
      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
      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: False
      bkg_sigma_clip: 3.0
      ifu_rfcorr: True
      ifu_set_srctype: None
      ifu_rscale: None
      ifu_covar_scale: 1.0
      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-09-09 19:01:43,872 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01345-o012_nircam_grismr-f356w_spec3_asn.json' reftypes = ['apcorr', 'area', 'cubepar', 'extract1d', 'mrsptcorr', 'pastasoss', 'photom', 'psf', 'speckernel', 'specprofile']
2026-09-09 19:01:43,878 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits'.
2026-09-09 19:01:43,878 - stpipe.pipeline - INFO - Prefetch for AREA reference file is 'N/A'.
2026-09-09 19:01:43,879 - stpipe.pipeline - INFO - Prefetch for CUBEPAR reference file is 'N/A'.
2026-09-09 19:01:43,879 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is 'N/A'.
2026-09-09 19:01:43,880 - stpipe.pipeline - INFO - Prefetch for MRSPTCORR reference file is 'N/A'.
2026-09-09 19:01:43,881 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-09-09 19:01:43,881 - stpipe.pipeline - INFO - Prefetch for PHOTOM reference file is '/home/runner/crds/references/jwst/nircam/jwst_nircam_photom_0165.fits'.
2026-09-09 19:01:43,882 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-09-09 19:01:43,883 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-09-09 19:01:43,883 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-09-09 19:01:43,884 - jwst.pipeline.calwebb_spec3 - INFO - Starting calwebb_spec3 ...
2026-09-09 19:01:52,182 - jwst.pipeline.calwebb_spec3 - INFO - Convert from exposure-based to source-based data.
2026-09-09 19:01:52,182 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_02101_00001_nrcalong_cal.fits
2026-09-09 19:01:53,721 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_02101_00001_nrcblong_cal.fits
2026-09-09 19:01:54,687 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_02101_00002_nrcalong_cal.fits
2026-09-09 19:01:55,190 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_02101_00002_nrcblong_cal.fits
2026-09-09 19:01:55,746 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_02101_00003_nrcalong_cal.fits
2026-09-09 19:01:56,249 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_02101_00003_nrcblong_cal.fits
2026-09-09 19:01:56,813 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_02101_00004_nrcalong_cal.fits
2026-09-09 19:01:57,323 - jwst.exp_to_source.exp_to_source - INFO - Reorganizing data from exposure jw01345012001_02101_00004_nrcblong_cal.fits
2026-09-09 19:01:58,887 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65b3012e0>,).
2026-09-09 19:01:58,888 - stpipe.step - INFO - Step skipped.
2026-09-09 19:01:59,342 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65b3012e0>,).
2026-09-09 19:01:59,345 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:01:59,396 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:01:59,397 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:01:59,399 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:01:59,404 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:00,034 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:02:00,035 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:00,036 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:00,041 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:00,107 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:02:00,108 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:00,109 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:00,114 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:00,745 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:02:00,746 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:00,747 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:00,752 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:00,827 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:02:00,828 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:00,829 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:00,834 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:01,469 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:02:01,469 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:01,470 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:01,475 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:01,542 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:02:01,543 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:01,544 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:01,549 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:02,191 - jwst.extract_1d.extract - INFO - Working on slit 2264
2026-09-09 19:02:02,192 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:02,193 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:02,198 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:02,475 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:02,936 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 19:02:03,082 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:03,083 - jwst.combine_1d.combine1d - WARNING - Input spectrum 2264 order 1 from group_id jw01345012001_02101_1_1 has no valid flux values; skipping.
2026-09-09 19:02:03,084 - jwst.combine_1d.combine1d - WARNING - Input spectrum 2264 order 1 from group_id jw01345012001_02101_2_1 has no valid flux values; skipping.
2026-09-09 19:02:03,084 - jwst.combine_1d.combine1d - WARNING - Input spectrum 2264 order 1 from group_id jw01345012001_02101_3_1 has no valid flux values; skipping.
2026-09-09 19:02:03,086 - jwst.combine_1d.combine1d - WARNING - Input spectrum 2264 order 1 from group_id jw01345012001_02101_4_1 has no valid flux values; skipping.
2026-09-09 19:02:03,086 - jwst.combine_1d.combine1d - ERROR - No valid input spectra found for source. Skipping.
2026-09-09 19:02:03,089 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:03,547 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65b300e60>,).
2026-09-09 19:02:03,547 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:04,010 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65b300e60>,).
2026-09-09 19:02:04,013 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:04,070 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 19:02:04,071 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:04,072 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:04,077 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:04,586 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 19:02:04,587 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:04,588 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:04,593 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:05,108 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 19:02:05,109 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:05,110 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:05,115 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:05,630 - jwst.extract_1d.extract - INFO - Working on slit 2163
2026-09-09 19:02:05,631 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:05,632 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:05,638 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:06,344 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:06,816 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 19:02:06,969 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:07,039 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:07,043 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:07,047 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:07,052 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:07,056 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:02:07,056 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:07,057 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:07,135 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:07,584 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65b302de0>,).
2026-09-09 19:02:07,585 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:08,038 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65b302de0>,).
2026-09-09 19:02:08,042 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:08,095 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 19:02:08,096 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:08,097 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:08,102 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:08,452 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 19:02:08,453 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:08,454 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:08,459 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:08,820 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 19:02:08,821 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:08,822 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:08,827 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:09,179 - jwst.extract_1d.extract - INFO - Working on slit 2339
2026-09-09 19:02:09,180 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:09,181 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:09,187 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:09,748 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:10,193 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 19:02:10,340 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:10,390 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:10,394 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:10,397 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:10,400 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:10,403 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:02:10,404 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:10,404 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:10,480 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:10,922 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65b303530>,).
2026-09-09 19:02:10,923 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:11,388 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65b303530>,).
2026-09-09 19:02:11,391 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:11,444 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:02:11,445 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:11,446 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 98.00 (inclusive)
2026-09-09 19:02:11,503 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:02:11,504 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:11,506 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 82.00 (inclusive)
2026-09-09 19:02:11,566 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:02:11,567 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:11,569 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 91.00 (inclusive)
2026-09-09 19:02:11,625 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:02:11,626 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:11,628 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 75.00 (inclusive)
2026-09-09 19:02:11,688 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:02:11,689 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:11,690 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 111.00 (inclusive)
2026-09-09 19:02:11,748 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:02:11,750 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:11,752 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 103.00 (inclusive)
2026-09-09 19:02:11,813 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:02:11,815 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:11,816 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 86.00 (inclusive)
2026-09-09 19:02:11,871 - jwst.extract_1d.extract - INFO - Working on slit 2145
2026-09-09 19:02:11,873 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:11,875 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 70.00 (inclusive)
2026-09-09 19:02:12,130 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:12,579 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 19:02:12,726 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:12,799 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:12,804 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:12,808 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:12,812 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:12,817 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:02:12,817 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:12,818 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:12,895 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:13,336 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65be2d6d0>,).
2026-09-09 19:02:13,338 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:13,821 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65be2d6d0>,).
2026-09-09 19:02:13,825 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:13,880 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 19:02:13,881 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:13,882 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:13,887 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:14,440 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 19:02:14,441 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:14,443 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:14,448 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:15,002 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 19:02:15,003 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:15,004 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:15,010 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:15,556 - jwst.extract_1d.extract - INFO - Working on slit 2154
2026-09-09 19:02:15,557 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:15,559 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:15,564 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:16,317 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:16,778 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 19:02:16,926 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:17,001 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:17,006 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:17,010 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:17,014 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:17,018 - jwst.combine_1d.combine1d - WARNING - 5 output pixel numbers were NaN
2026-09-09 19:02:17,099 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:17,549 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad42690>,).
2026-09-09 19:02:17,550 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:18,006 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad42690>,).
2026-09-09 19:02:18,011 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:18,065 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 19:02:18,066 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:18,067 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:18,072 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:18,320 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 19:02:18,321 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:18,322 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:18,328 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:18,561 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 19:02:18,562 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:18,563 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:18,568 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:18,792 - jwst.extract_1d.extract - INFO - Working on slit 662
2026-09-09 19:02:18,793 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:18,794 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:18,800 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:19,234 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:19,686 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 19:02:19,832 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:19,864 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:19,866 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:19,868 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:19,870 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:19,873 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:02:19,873 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:19,874 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:19,953 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:20,400 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad40a70>,).
2026-09-09 19:02:20,401 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:20,864 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad40a70>,).
2026-09-09 19:02:20,869 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:20,925 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 19:02:20,926 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:20,927 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:20,932 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:21,466 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 19:02:21,468 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:21,469 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:21,475 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:22,035 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 19:02:22,036 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:22,038 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:22,043 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:22,585 - jwst.extract_1d.extract - INFO - Working on slit 1334
2026-09-09 19:02:22,586 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:22,587 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:22,592 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:23,344 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:23,780 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 19:02:23,930 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:24,004 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:24,009 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:24,013 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:24,017 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:24,022 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:02:24,023 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:24,023 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:24,109 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:24,541 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad41490>,).
2026-09-09 19:02:24,542 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:25,005 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad41490>,).
2026-09-09 19:02:25,010 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:25,067 - jwst.extract_1d.extract - INFO - Working on slit 2144
2026-09-09 19:02:25,068 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:25,069 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:25,074 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:25,184 - jwst.extract_1d.extract - INFO - Working on slit 2144
2026-09-09 19:02:25,186 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:25,187 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 7.00 (inclusive)
2026-09-09 19:02:25,192 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:25,295 - jwst.extract_1d.extract - INFO - Working on slit 2144
2026-09-09 19:02:25,296 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:25,297 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:25,302 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:25,409 - jwst.extract_1d.extract - INFO - Working on slit 2144
2026-09-09 19:02:25,410 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:25,411 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 2.00 (inclusive)
2026-09-09 19:02:25,415 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:25,716 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:26,163 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 19:02:26,316 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:26,318 - jwst.combine_1d.combine1d - WARNING - Input spectrum 2144 order 1 from group_id jw01345012001_02101_4_1 has no valid flux values; skipping.
2026-09-09 19:02:26,331 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:26,333 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:26,334 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:26,335 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:02:26,336 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:26,337 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:26,419 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:26,866 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad430b0>,).
2026-09-09 19:02:26,867 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:27,324 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad430b0>,).
2026-09-09 19:02:27,329 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:27,386 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 19:02:27,387 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:27,388 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:27,393 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:27,797 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 19:02:27,798 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:27,799 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:27,804 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:28,228 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 19:02:28,229 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:28,230 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:28,236 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:28,638 - jwst.extract_1d.extract - INFO - Working on slit 2338
2026-09-09 19:02:28,639 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:28,640 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:28,645 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:29,265 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:29,776 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 19:02:29,925 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:29,982 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:29,986 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:29,989 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:29,993 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:29,996 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:02:29,997 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:29,998 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:30,082 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:30,547 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad42180>,).
2026-09-09 19:02:30,548 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:31,012 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad42180>,).
2026-09-09 19:02:31,017 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:31,075 - jwst.extract_1d.extract - INFO - Working on slit 2146
2026-09-09 19:02:31,077 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:31,078 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 81.00 (inclusive)
2026-09-09 19:02:31,134 - jwst.extract_1d.extract - INFO - Working on slit 2146
2026-09-09 19:02:31,135 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:31,136 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 73.00 (inclusive)
2026-09-09 19:02:31,193 - jwst.extract_1d.extract - INFO - Working on slit 2146
2026-09-09 19:02:31,194 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:31,195 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 94.00 (inclusive)
2026-09-09 19:02:31,253 - jwst.extract_1d.extract - INFO - Working on slit 2146
2026-09-09 19:02:31,255 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:31,256 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 69.00 (inclusive)
2026-09-09 19:02:31,517 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:31,970 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcalong_cal.fits>,).
2026-09-09 19:02:32,123 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:32,143 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:32,145 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:32,146 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:32,148 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:32,150 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:02:32,150 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:32,150 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:32,235 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:32,697 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad43ad0>,).
2026-09-09 19:02:32,697 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:33,152 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ad43ad0>,).
2026-09-09 19:02:33,157 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:33,222 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 19:02:33,223 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:33,224 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 5.00 (inclusive)
2026-09-09 19:02:33,229 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:33,523 - jwst.extract_1d.extract - INFO - Working on slit 2131
2026-09-09 19:02:33,525 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:33,526 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:33,531 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:33,947 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:34,400 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcblong_cal.fits>,).
2026-09-09 19:02:34,494 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:34,518 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:34,521 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:34,523 - jwst.combine_1d.combine1d - WARNING - 115 elements of output had no corresponding input data;
2026-09-09 19:02:34,524 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:34,608 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:35,058 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac69be0>,).
2026-09-09 19:02:35,059 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:35,545 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac69be0>,).
2026-09-09 19:02:35,550 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:35,608 - jwst.extract_1d.extract - INFO - Working on slit 2202
2026-09-09 19:02:35,609 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:35,610 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:35,616 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:35,720 - jwst.extract_1d.extract - INFO - Working on slit 2202
2026-09-09 19:02:35,721 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:35,722 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:35,727 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:35,822 - jwst.extract_1d.extract - INFO - Working on slit 2202
2026-09-09 19:02:35,823 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:35,824 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:35,829 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:35,931 - jwst.extract_1d.extract - INFO - Working on slit 2202
2026-09-09 19:02:35,932 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:35,933 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:35,938 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:36,231 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:36,695 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcblong_cal.fits>,).
2026-09-09 19:02:36,851 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:36,866 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:36,868 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:36,869 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:36,871 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:36,872 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:02:36,872 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:36,873 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:36,964 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:37,442 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac689e0>,).
2026-09-09 19:02:37,443 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:37,949 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac689e0>,).
2026-09-09 19:02:37,954 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:38,014 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 19:02:38,015 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:38,017 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 94.00 (inclusive)
2026-09-09 19:02:38,077 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 19:02:38,079 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:38,081 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 94.00 (inclusive)
2026-09-09 19:02:38,142 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 19:02:38,144 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:38,146 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 94.00 (inclusive)
2026-09-09 19:02:38,206 - jwst.extract_1d.extract - INFO - Working on slit 2224
2026-09-09 19:02:38,207 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:38,209 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 93.00 (inclusive)
2026-09-09 19:02:38,481 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:38,952 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcblong_cal.fits>,).
2026-09-09 19:02:39,105 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:39,167 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:39,171 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:39,175 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:39,178 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:39,182 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:02:39,183 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:39,183 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:39,272 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:39,729 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac69370>,).
2026-09-09 19:02:39,730 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:40,301 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac69370>,).
2026-09-09 19:02:40,307 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:40,370 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 19:02:40,371 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:40,372 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:40,378 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:40,933 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 19:02:40,934 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:40,936 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:40,941 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:41,500 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 19:02:41,501 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:41,502 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:41,507 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:42,062 - jwst.extract_1d.extract - INFO - Working on slit 911
2026-09-09 19:02:42,063 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:42,064 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:42,069 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:42,835 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:43,303 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcblong_cal.fits>,).
2026-09-09 19:02:43,458 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:43,534 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:43,538 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:43,543 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:43,547 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:43,552 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:02:43,645 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:44,116 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac6b5c0>,).
2026-09-09 19:02:44,117 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:44,599 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac6b5c0>,).
2026-09-09 19:02:44,604 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:44,665 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 19:02:44,666 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:44,667 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:44,673 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:45,154 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 19:02:45,155 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:45,156 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:45,161 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:45,630 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 19:02:45,631 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:45,632 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:45,637 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:46,118 - jwst.extract_1d.extract - INFO - Working on slit 2411
2026-09-09 19:02:46,119 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:46,120 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:46,126 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:46,815 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:47,298 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcblong_cal.fits>,).
2026-09-09 19:02:47,455 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:47,520 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:47,524 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:47,528 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:47,532 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:47,536 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:02:47,537 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:47,537 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:47,632 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:48,128 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac6b9b0>,).
2026-09-09 19:02:48,129 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:48,628 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac6b9b0>,).
2026-09-09 19:02:48,634 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:48,696 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 19:02:48,697 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:48,698 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:48,704 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:49,179 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 19:02:49,180 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:49,181 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:49,187 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:49,658 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 19:02:49,660 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:49,661 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:49,666 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:50,128 - jwst.extract_1d.extract - INFO - Working on slit 2227
2026-09-09 19:02:50,129 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:50,130 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:50,135 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:50,798 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:51,292 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcblong_cal.fits>,).
2026-09-09 19:02:51,450 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:51,514 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:51,518 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:51,522 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:51,525 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:51,529 - jwst.combine_1d.combine1d - WARNING - 3 output pixel numbers were NaN
2026-09-09 19:02:51,530 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:51,530 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:51,623 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:52,112 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac680e0>,).
2026-09-09 19:02:52,113 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:52,651 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac680e0>,).
2026-09-09 19:02:52,657 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:52,721 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 19:02:52,722 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:52,724 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 59.00 (inclusive)
2026-09-09 19:02:52,786 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 19:02:52,787 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:52,789 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 59.00 (inclusive)
2026-09-09 19:02:52,853 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 19:02:52,855 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:52,856 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 59.00 (inclusive)
2026-09-09 19:02:52,919 - jwst.extract_1d.extract - INFO - Working on slit 2295
2026-09-09 19:02:52,921 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type EXTENDED
2026-09-09 19:02:52,923 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 59.00 (inclusive)
2026-09-09 19:02:53,204 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:53,739 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcblong_cal.fits>,).
2026-09-09 19:02:53,902 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:53,978 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:53,983 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:53,987 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:53,992 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 4
2026-09-09 19:02:53,996 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:02:54,095 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:54,591 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac6ade0>,).
2026-09-09 19:02:54,592 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:55,122 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac6ade0>,).
2026-09-09 19:02:55,129 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:55,195 - jwst.extract_1d.extract - INFO - Working on slit 2136
2026-09-09 19:02:55,196 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:55,197 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:55,203 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:55,332 - jwst.extract_1d.extract - INFO - Working on slit 2136
2026-09-09 19:02:55,333 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:55,334 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:55,340 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:55,461 - jwst.extract_1d.extract - INFO - Working on slit 2136
2026-09-09 19:02:55,462 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:55,463 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:55,468 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:55,764 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:56,256 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00001_nrcblong_cal.fits>,).
2026-09-09 19:02:56,390 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:56,405 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:56,407 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:56,408 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 3
2026-09-09 19:02:56,409 - jwst.combine_1d.combine1d - WARNING - 2 output pixel numbers were NaN
2026-09-09 19:02:56,410 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:56,411 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:56,506 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:02:57,015 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac6a840>,).
2026-09-09 19:02:57,016 - stpipe.step - INFO - Step skipped.
2026-09-09 19:02:57,540 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac6a840>,).
2026-09-09 19:02:57,547 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:02:57,612 - jwst.extract_1d.extract - INFO - Working on slit 752
2026-09-09 19:02:57,613 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:57,615 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:57,620 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:58,118 - jwst.extract_1d.extract - INFO - Working on slit 752
2026-09-09 19:02:58,119 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:02:58,121 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:02:58,126 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:02:58,765 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:02:59,274 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00002_nrcblong_cal.fits>,).
2026-09-09 19:02:59,377 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:02:59,415 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:02:59,420 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 2
2026-09-09 19:02:59,424 - jwst.combine_1d.combine1d - WARNING - 1 output pixel numbers were NaN
2026-09-09 19:02:59,424 - jwst.combine_1d.combine1d - WARNING - 5 elements of output had no corresponding input data;
2026-09-09 19:02:59,425 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:02:59,527 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:03:00,029 - stpipe.step - INFO - Step pixel_replace running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac6a330>,).
2026-09-09 19:03:00,030 - stpipe.step - INFO - Step skipped.
2026-09-09 19:03:00,509 - stpipe.step - INFO - Step extract_1d running with args (<jwst.datamodels.source_container.SourceModelContainer object at 0x7ff65ac6a330>,).
2026-09-09 19:03:00,516 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds/references/jwst/nircam/jwst_nircam_apcorr_0003.fits
2026-09-09 19:03:00,581 - jwst.extract_1d.extract - INFO - Processing spectral order 1
2026-09-09 19:03:00,582 - jwst.extract_1d.extract - INFO - Setting use_source_posn to False for exposure type NRC_WFSS, source type POINT
2026-09-09 19:03:00,583 - jwst.extract_1d.extract - INFO - Aperture start/stop: 0.00 -> 10.00 (inclusive)
2026-09-09 19:03:00,588 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-09-09 19:03:00,870 - stpipe.step - INFO - Step extract_1d done
2026-09-09 19:03:01,346 - stpipe.step - INFO - Step combine_1d running with args (<WFSSMultiSpecModel from jw01345012001_02101_00003_nrcblong_cal.fits>,).
2026-09-09 19:03:01,418 - jwst.combine_1d.combine1d - INFO - Using exposure time as the weight.
2026-09-09 19:03:01,428 - jwst.combine_1d.combine1d - INFO - Accumulating data from input spectrum 1
2026-09-09 19:03:01,430 - jwst.combine_1d.combine1d - WARNING - 7 elements of output had no corresponding input data;
2026-09-09 19:03:01,431 - jwst.combine_1d.combine1d - WARNING -     these elements will be omitted.
2026-09-09 19:03:01,526 - stpipe.step - INFO - Step combine_1d done
2026-09-09 19:03:04,651 - jwst.pipeline.calwebb_spec3 - INFO - Setting S_REGION for combined footprint to: POLYGON ICRS  215.011225153 52.914016281 215.010571585 52.914343177 215.010840972 52.914536213 215.010742146 52.914585627 215.010898965 52.914698006 214.965346139 52.937778348 214.926963403 52.910983406 214.927064852 52.910929611 214.926905735 52.910821529 214.927083055 52.910727508 214.926667857 52.910445410 214.971622648 52.886559568 214.971775029 52.886666188 214.972245188 52.886415811  POLYGON ICRS  214.918465813 52.849884827 214.958073764 52.877381279 214.957424202 52.877713839 214.957689351 52.877901007 214.957589905 52.877951917 214.957747075 52.878062863 214.911843118 52.901366510 214.873703283 52.874414748 214.873808682 52.874360612 214.873646369 52.874252115 214.873832978 52.874156267 214.873411016 52.873874141 214.917843940 52.850026957 214.918009882 52.850139419
2026-09-09 19:03:04,653 - jwst.pipeline.calwebb_spec3 - INFO - Saving the final x1d product as jw01345-o012_nircam_grismr-f356w_x1d.fits.
2026-09-09 19:03:04,995 - jwst.pipeline.calwebb_spec3 - INFO - Saving the final c1d product as jw01345-o012_nircam_grismr-f356w_c1d.fits.
2026-09-09 19:03:05,066 - jwst.pipeline.calwebb_spec3 - INFO - Ending calwebb_spec3
2026-09-09 19:03:05,104 - stpipe.step - INFO - Step Spec3Pipeline done
2026-09-09 19:03:05,106 - jwst.stpipe.core - INFO - Results used jwst version: 3.0.0
# Print out the time benchmark
time_spec3_end = time.perf_counter()
print(f"Runtime for Spec3: {(time_spec3_end - time_spec3)/60:0.0f} minutes")
Runtime for Spec3: 3 minutes

12. Understanding Spec3 Output Products#


The outputs of spec3 are *_x1d.fits and *_c1d.fits files. Here we do a quick look into some important parts of these files.

Each extension of the spec3 *_x1d.fits files contains the extracted, 1-D spectra for an individual dither for a single grism, filter, and extracted order combination. The specific filenames and extracted order can be verified with the FILENAME and SPORDER keywords in the header of each extension respectively. Within the extension, each of the extracted sources across all dithers are listed, with the values being empty if the particular dither did not contain data for that source. Also contained within each extension is information related to the extraction of a particular source, including the extents and starting size of the extraction box in the full reference frame. More information about the columns contained withing the *_x1d.fits files can be found in the x1d filetype documentation.

# Print a list of the spec3 output x1d and c1d files
spec3_x1ds = sorted(glob.glob(os.path.join(spec3_dir, "*x1d.fits")))
print('spec3 x1d files:')
for x1d_filename in spec3_x1ds:
    print(f"   {os.path.basename(x1d_filename)}")

spec3_c1ds = sorted(glob.glob(os.path.join(spec3_dir, "*c1d.fits")))
print('spec3 c1d files:')
for c1d_filename in spec3_c1ds:
    print(f"   {os.path.basename(c1d_filename)}")
spec3 x1d files:
   jw01345-o012_nircam_grismc-f356w_x1d.fits
   jw01345-o012_nircam_grismr-f356w_x1d.fits
spec3 c1d files:
   jw01345-o012_nircam_grismc-f356w_c1d.fits
   jw01345-o012_nircam_grismr-f356w_c1d.fits
sample_x1d = fits.open(spec3_x1ds[0])
# Show the RA, Dec, and Source ID values for all sources
# in one extension of one of the x1d files
print('         RA                 Dec      Source ID')
for ii in range(20):
    print(sample_x1d[1].data['SOURCE_RA'][ii], sample_x1d[1].data['SOURCE_DEC'][ii], sample_x1d[1].data['SOURCE_ID'][ii])
         RA                 Dec      Source ID
214.99071891337684 52.9199378381138 662
nan nan 752
214.91440590687262 52.875935297351745 911
214.94314199109454 52.910304117139724 1299
214.95733864856217 52.92145103460405 1334
214.92092177447398 52.91691830585395 1935
214.88681776045237 52.8921315301114 1938
214.92041978172153 52.851815089824846 2130
214.9208796663401 52.85241342611432 2131
214.91386489657572 52.85203666185396 2136
214.9547544956728 52.876569115412686 2145
214.9854651084551 52.89777545018096 2154
214.99084081277448 52.90598878738268 2163
214.97789988435707 52.89703627585849 2170
214.92058876048173 52.865867588913154 2224
214.9199494946161 52.86686704608426 2227
214.95885971325495 52.90097416503997 2264
214.92322940070665 52.88213943564886 2295
214.96452556288267 52.92416731302616 2338
214.96741596280864 52.926264174054644 2339
# Print information about the structure of the x1d files by reading in the first one
if doviz:
    sample_x1d = fits.open(spec3_x1ds[0])

    print("***Format of the level 3 x1d file:")
    sample_x1d.info()

    print("\n***cal files used to create this level 3 x1d file:")
    for ext in range(len(sample_x1d))[1:-1]:
        print(f"Extension {ext}: {sample_x1d[ext].header['FILENAME']}, order {sample_x1d[ext].header['SPORDER']}")

    print("\n***Columns contained in each extension of the level 3 x1d file:")
    print(sample_x1d[1].data.columns)
***Format of the level 3 x1d file:
Filename: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits
No.    Name      Ver    Type      Cards   Dimensions   Format
  0  PRIMARY       1 PrimaryHDU     288   ()      
  1  EXTRACT1D     1 BinTableHDU    123   21R x 29C   [J, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136J, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, J, 20A, D, D, D, D, J, J, J, J]   
  2  EXTRACT1D     2 BinTableHDU    122   21R x 29C   [J, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135J, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, J, 20A, D, D, D, D, J, J, J, J]   
  3  EXTRACT1D     3 BinTableHDU    122   21R x 29C   [J, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, 1135J, 1135D, 1135D, 1135D, 1135D, 1135D, 1135D, J, 20A, D, D, D, D, J, J, J, J]   
  4  EXTRACT1D     4 BinTableHDU    122   21R x 29C   [J, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, 1136J, 1136D, 1136D, 1136D, 1136D, 1136D, 1136D, J, 20A, D, D, D, D, J, J, J, J]   
  5  ASDF          1 BinTableHDU     11   1R x 1C   [32678B]   
***cal files used to create this level 3 x1d file:
Extension 1: jw01345012001_07101_00001_nrcalong_cal.fits, order 1
Extension 2: jw01345012001_07101_00002_nrcalong_cal.fits, order 1
Extension 3: jw01345012001_07101_00003_nrcalong_cal.fits, order 1
Extension 4: jw01345012001_07101_00004_nrcalong_cal.fits, order 1

***Columns contained in each extension of the level 3 x1d file:
ColDefs(
    name = 'SOURCE_ID'; format = 'J'
    name = 'WAVELENGTH'; format = '1136D'; unit = 'um'; dim = '(1136)'
    name = 'FLUX'; format = '1136D'; unit = 'Jy'; dim = '(1136)'
    name = 'FLUX_ERROR'; format = '1136D'; unit = 'Jy'; dim = '(1136)'
    name = 'FLUX_VAR_POISSON'; format = '1136D'; unit = 'Jy^2'; dim = '(1136)'
    name = 'FLUX_VAR_RNOISE'; format = '1136D'; unit = 'Jy^2'; dim = '(1136)'
    name = 'FLUX_VAR_FLAT'; format = '1136D'; unit = 'Jy^2'; dim = '(1136)'
    name = 'SURF_BRIGHT'; format = '1136D'; unit = 'MJy/sr'; dim = '(1136)'
    name = 'SB_ERROR'; format = '1136D'; unit = 'MJy/sr'; dim = '(1136)'
    name = 'SB_VAR_POISSON'; format = '1136D'; unit = 'MJy^2 / sr^2'; dim = '(1136)'
    name = 'SB_VAR_RNOISE'; format = '1136D'; unit = 'MJy^2 / sr^2'; dim = '(1136)'
    name = 'SB_VAR_FLAT'; format = '1136D'; unit = 'MJy^2 / sr^2'; dim = '(1136)'
    name = 'DQ'; format = '1136J'; bzero = 2147483648; dim = '(1136)'
    name = 'BACKGROUND'; format = '1136D'; unit = 'MJy/sr'; dim = '(1136)'
    name = 'BKGD_ERROR'; format = '1136D'; unit = 'MJy/sr'; dim = '(1136)'
    name = 'BKGD_VAR_POISSON'; format = '1136D'; unit = 'MJy^2 / sr^2'; dim = '(1136)'
    name = 'BKGD_VAR_RNOISE'; format = '1136D'; unit = 'MJy^2 / sr^2'; dim = '(1136)'
    name = 'BKGD_VAR_FLAT'; format = '1136D'; unit = 'MJy^2 / sr^2'; dim = '(1136)'
    name = 'NPIXELS'; format = '1136D'; dim = '(1136)'
    name = 'N_ALONGDISP'; format = 'J'; bzero = 2147483648
    name = 'SOURCE_TYPE'; format = '20A'
    name = 'SOURCE_XPOS'; format = 'D'; unit = 'pix'
    name = 'SOURCE_YPOS'; format = 'D'; unit = 'pix'
    name = 'SOURCE_RA'; format = 'D'; unit = 'deg'
    name = 'SOURCE_DEC'; format = 'D'; unit = 'deg'
    name = 'EXTRACT2D_XSTART'; format = 'J'; unit = 'pix'; bzero = 2147483648
    name = 'EXTRACT2D_YSTART'; format = 'J'; unit = 'pix'; bzero = 2147483648
    name = 'EXTRACT2D_XSTOP'; format = 'J'; unit = 'pix'; bzero = 2147483648
    name = 'EXTRACT2D_YSTOP'; format = 'J'; unit = 'pix'; bzero = 2147483648
)

The *_c1d.fits files contain combined extensions of the same order in the spec3 *_x1d.fits files into a single file. The source numbers in the *_c1d.fits match those in the level 3 *_x1d.fits files. More information about the columns contained within the *_c1d.fits files can be found in the c1d filetype documentation.

# Print information about the structure of the c1d files by reading in the first one
if doviz:
    sample_c1d = fits.open(spec3_c1ds[0])

    print("***Format of the c1d file:")
    sample_c1d.info()

    print("\n***Extracted orders contained in the c1d file:")
    for ext in range(len(sample_c1d))[1:-1]:
        print(f"Extension {ext}: order {sample_c1d[ext].header['SPORDER']}")
    
    print("\n***Columns contained in each extension of the c1d file:")
    print(sample_c1d[1].data.columns)
***Format of the c1d file:
Filename: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_c1d.fits
No.    Name      Ver    Type      Cards   Dimensions   Format
  0  PRIMARY       1 PrimaryHDU     293   ()      
  1  COMBINE1D     1 BinTableHDU     55   21R x 13C   [J, 1508D, 1508D, 1508D, 1508D, 1508D, 1508J, 1508D, 1508D, J, 20A, D, D]   
  2  ASDF          1 BinTableHDU     11   1R x 1C   [23526B]   
***Extracted orders contained in the c1d file:
Extension 1: order 1

***Columns contained in each extension of the c1d file:
ColDefs(
    name = 'SOURCE_ID'; format = 'J'
    name = 'WAVELENGTH'; format = '1508D'; unit = 'um'; dim = '(1508)'
    name = 'FLUX'; format = '1508D'; unit = 'Jy'; dim = '(1508)'
    name = 'ERROR'; format = '1508D'; unit = 'Jy'; dim = '(1508)'
    name = 'SURF_BRIGHT'; format = '1508D'; unit = 'MJy/sr'; dim = '(1508)'
    name = 'SB_ERROR'; format = '1508D'; unit = 'MJy/sr'; dim = '(1508)'
    name = 'DQ'; format = '1508J'; bzero = 2147483648; dim = '(1508)'
    name = 'WEIGHT'; format = '1508D'; dim = '(1508)'
    name = 'N_INPUT'; format = '1508D'; dim = '(1508)'
    name = 'N_ALONGDISP'; format = 'J'; bzero = 2147483648
    name = 'SOURCE_TYPE'; format = '20A'
    name = 'SOURCE_RA'; format = 'D'; unit = 'deg'
    name = 'SOURCE_DEC'; format = 'D'; unit = 'deg'
)

Digging a little bit further into the different source IDs and how those are handled, you can see that in each extension the source IDs are now identical, which is not always the case in the level 2 x1d files.

if doviz:
    for ext in np.arange(len(sample_x1d))[1:-1]:
        print(f"Extension {ext}: {sample_x1d[ext].header['FILENAME']}, Order {sample_x1d[ext].header['SPORDER']}")
        print("  Sources:\n", sample_x1d[ext].data['SOURCE_ID'])
Extension 1: jw01345012001_07101_00001_nrcalong_cal.fits, Order 1
  Sources:
 [ 662  752  911 1299 1334 1935 1938 2130 2131 2136 2145 2154 2163 2170
 2224 2227 2264 2295 2338 2339 2411]
Extension 2: jw01345012001_07101_00002_nrcalong_cal.fits, Order 1
  Sources:
 [ 662  752  911 1299 1334 1935 1938 2130 2131 2136 2145 2154 2163 2170
 2224 2227 2264 2295 2338 2339 2411]
Extension 3: jw01345012001_07101_00003_nrcalong_cal.fits, Order 1
  Sources:
 [ 662  752  911 1299 1334 1935 1938 2130 2131 2136 2145 2154 2163 2170
 2224 2227 2264 2295 2338 2339 2411]
Extension 4: jw01345012001_07101_00004_nrcalong_cal.fits, Order 1
  Sources:
 [ 662  752  911 1299 1334 1935 1938 2130 2131 2136 2145 2154 2163 2170
 2224 2227 2264 2295 2338 2339 2411]

If a source was not extracted for a given extension, the values will be filled in with a value of “0” or “nan”. The column N_ALONGDISP lists the number of pixel columns or rows in the dispersion direction that were included in the spectral extraction. This can be a useful tracer for finding sources that were not extracted as they will have a value of zero.

# Check the number of pixel rows or columns in the extracted trace at extension 1 (first file)
# as an example of what a source looks like if it's not extracted
ext = 1

trace_len = sample_x1d[ext].data['N_ALONGDISP']
source_id = sample_x1d[ext].data['SOURCE_ID']

trace_df = pd.DataFrame({"Source_ID": sample_x1d[ext].data['SOURCE_ID'],
                         "Trace_Length": sample_x1d[ext].data['N_ALONGDISP']
                         }
                        )
trace_df
Source_ID Trace_Length
0 662 851
1 752 0
2 911 1098
3 1299 1078
4 1334 1095
5 1935 586
6 1938 552
7 2130 212
8 2131 294
9 2136 365
10 2145 234
11 2154 181
12 2163 368
13 2170 346
14 2224 710
15 2227 752
16 2264 1057
17 2295 1082
18 2338 1077
19 2339 1136
20 2411 975
# Search for any sources that were not extracted (N_ALONGDISP == 0)
# Using the demo data and extracting only the 10 brightest sources, we
# see that all sources are present in every *_cal.fits file and were extracted.
wh_no_source = np.where(sample_x1d[ext].data['N_ALONGDISP'] == 0)[0]
print(f"{sample_x1d[ext].header['FILENAME']} does not extract the following sources:")
print(f"  {sample_x1d[ext].data['SOURCE_ID'][wh_no_source]}")
if len(wh_no_source) > 0:
    print("Different column defaults when a source is not extracted:")
    for colname in sample_x1d[ext].data.names:
        print(f"  {colname} : {np.unique(sample_x1d[ext].data[colname][wh_no_source[0]])}")
jw01345012001_07101_00001_nrcalong_cal.fits does not extract the following sources:
  [752]
Different column defaults when a source is not extracted:
  SOURCE_ID : [752]
  WAVELENGTH : [nan]
  FLUX : [nan]
  FLUX_ERROR : [nan]
  FLUX_VAR_POISSON : [nan]
  FLUX_VAR_RNOISE : [nan]
  FLUX_VAR_FLAT : [nan]
  SURF_BRIGHT : [nan]
  SB_ERROR : [nan]
  SB_VAR_POISSON : [nan]
  SB_VAR_RNOISE : [nan]
  SB_VAR_FLAT : [nan]
  DQ : [1]
  BACKGROUND : [nan]
  BKGD_ERROR : [nan]
  BKGD_VAR_POISSON : [nan]
  BKGD_VAR_RNOISE : [nan]
  BKGD_VAR_FLAT : [nan]
  NPIXELS : [nan]
  N_ALONGDISP : [0]
  SOURCE_TYPE : ['']
  SOURCE_XPOS : [nan]
  SOURCE_YPOS : [nan]
  SOURCE_RA : [nan]
  SOURCE_DEC : [nan]
  EXTRACT2D_XSTART : [0]
  EXTRACT2D_YSTART : [0]
  EXTRACT2D_XSTOP : [0]
  EXTRACT2D_YSTOP : [0]

Visualize Spec3 Outputs#

To compare with the Spec2 output products above, we look at the same sources, plotting instead the final *_c1d.fits files for each grism. We again show the *_i2d.fits image for a specific source, followed by the level 3 *_x1d.fits individual spectra for each of the two grisms (if both were used–if one is not used that column will be blank), followed by the *_c1d.fits combined spectrum for each of the grisms if available.

# Look at the i2d images, the level 3 x1d spectra, and the combined c1d spectra for both grisms
# for several sources
# Grab the files & sources to look at
if doviz:
    # Grab the c1d files to plot
    spec3_c1ds = np.sort(glob.glob(os.path.join(spec3_dir, "*c1d.fits")))

    # If there are multiple blocking filters, pick one for illustration
    unique_filters = np.unique([fits.getval(c1d, 'FILTER') for c1d in spec3_c1ds])
    filter_c1ds = [c1d for c1d in spec3_c1ds if fits.getval(c1d, 'FILTER') == unique_filters[0]]
    
    if demo_mode:
        # Find the source catalog for this set of filters
        source_catfile = os.path.join(image3_dir, fits.getval(filter_x1ds[0], 'SCATFILE'))
        sources = [find_closest_source_id(ra, dec, source_catfile) for ra, dec in ra_decs]
        nsources = len(sources)
    else:
        # Or grab some sources from the first x1d file
        nsources = 5  # 100 Sources are extracted by default
        source_offset = 3  # Offsetting what nsources to plot to avoid extra bright sources
        with fits.open(pupil_c1ds[0]) as temp_c1d:
            sources = temp_c1d[1].data['SOURCE_ID'][source_offset:nsources+source_offset]    
filter_c1ds
[np.str_('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_c1d.fits'),
 np.str_('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_c1d.fits')]
# Look at the i2d images, the level 3 x1d spectra, and the combined c1d spectra
# for both grisms for the selected sources
if doviz:
    # Set up the figure
    cols = 4
    rows = nsources
    fig_c1d = plt.figure(figsize=(15, 4*(rows/2)))

    # Color lists for 1D spectra plots
    l3_blues = plt.cm.Blues(np.linspace(0.45, 0.9, len(filter_c1ds)))
    l3_oranges = plt.cm.Oranges(np.linspace(0.45, 0.9, len(filter_c1ds)))

    # Simple status notes
    l3_c1d_status = []
    l3_x1d_status = []

    # Loop through the different sources to plot; one per row
    for nsource, source_id in enumerate(sources):

        # setting up the subplots for a single source
        ypos = nsource
        ax_i2d = plt.subplot2grid((rows, cols), (ypos, 0)) 
        ax_x1d_r = plt.subplot2grid((rows, cols), (ypos, 1))
        ax_x1d_c = plt.subplot2grid((rows, cols), (ypos, 2))
        ax_c1d = plt.subplot2grid((rows, cols), (ypos, 3))
    
        source_fluxes = []  # Save the source flux to set the plot limits
        x1dr_source_fluxes = []
        x1dc_source_fluxes = []

        # Plot all of the 1-D combined spectra from the c1d files
        for nfile, c1dfile in enumerate(filter_c1ds):
            
            # Plot the c1d spectra
            ax_c1d, catname, c1d_source_fluxes, grism, status = plot_spectrum(c1dfile, source_id, source_fluxes, ax_c1d, image3_dir,
                                                                              colors=[l3_blues[nfile], l3_oranges[nfile]], alpha=0.7)
            l3_c1d_status.append(status)
                
            # Plot the level 3 x1d files
            x1dfile = c1dfile.replace('c1d', 'x1d')
            with fits.open(x1dfile) as x1d:
                for ext in range(len(x1d))[1:-1]:
                    if grism == 'GRISMR':
                        ax_x1d_r, catname, x1dr_source_fluxes, grism, status = plot_spectrum(x1dfile, source_id, source_fluxes,
                                                                                             ax_x1d_r, image3_dir, ext=ext,
                                                                                             legend=False,
                                                                                             colors=[l3_blues[nfile],
                                                                                                     l3_oranges[nfile]])
                        l3_x1d_status.append(status)
                    else:
                        ax_x1d_c, catname, x1dc_source_fluxes, grism, status = plot_spectrum(x1dfile, source_id, source_fluxes,
                                                                                             ax_x1d_c, image3_dir, ext=ext,
                                                                                             legend=False,
                                                                                             colors=[l3_blues[nfile],
                                                                                                     l3_oranges[nfile]])
                        l3_x1d_status.append(status)
            
            # Plot the direct image of the source based on the source number from the source catalog
            if nfile == 0:
                ax_i2d = plot_i2d_plus_source(catname, source_id, ax_i2d)

        # Try to ignore extra noisy points in 1D spectra when setting plot limits
        if len(c1d_source_fluxes):
            # Try to avoid excessively noisy points when setting plot limits
            lo, hi = np.nanpercentile(c1d_source_fluxes, [1, 99])  # ignores bottom/top 1%

            # Add a little padding so the continuum isn't hugging the edges
            pad = 0.1 * (hi - lo)
            ax_c1d.set_ylim(lo - pad, hi + pad)

        if len(x1dr_source_fluxes):
            # Try to avoid excessively noisy points when setting plot limits
            lo, hi = np.nanpercentile(x1dr_source_fluxes, [1, 99])  # ignores bottom/top 1%

            # Add a little padding so the continuum isn't hugging the edges
            pad = 0.1 * (hi - lo)
            ax_x1d_r.set_ylim(lo - pad, hi + pad)

        if len(x1dc_source_fluxes):
            # Try to avoid excessively noisy points when setting plot limits
            lo, hi = np.nanpercentile(x1dc_source_fluxes, [1, 99])  # ignores bottom/top 1%

            # Add a little padding so the continuum isn't hugging the edges
            pad = 0.1 * (hi - lo)
            ax_x1d_c.set_ylim(lo - pad, hi + pad)
            
        # Add labels to the subplots
        if nsource == 0:
            ax_i2d.set_title('Direct Image\n(i2d)')
            ax_x1d_r.set_title('Individual GRISMR 1-D Spectrum\n(level 3 x1d)')
            ax_x1d_c.set_title('Individual GRISMC 1-D Spectrum\n(level 3 x1d)')
            ax_c1d.set_title('Combined 1-D Spectrum\n(c1d)')
        ax_i2d.set_ylabel(f'Source\n{source_id}', fontsize=15)

        for ax in [ax_x1d_r, ax_x1d_c, ax_c1d]:
            ax.set_xlabel('Wavelength (microns)')
            ax.set_ylabel('F_nu (Jy)')
            ax.ticklabel_format(axis='y', style='sci', scilimits=(0, 0)) # forcing scientific notation for the spectra
        
    fig_c1d.tight_layout()
../../../_images/be0b8c53841c3be7df6d3d6778ac6f0c5cc05c122e1cbba73cda986b9660b9cd.png

Check notes on which sources were found in which file.

l3_c1d_status
['Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_c1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_c1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_c1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_c1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_c1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_c1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_c1d.fits',
 'Source 2264 not found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_c1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_c1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_c1d.fits']
l3_x1d_status
['Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 2339 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 2163 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 662 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits BUT there are no finite pixel values for source 2264 GRISMR. Source likely on edge of detector; not plotting',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits BUT there are no finite pixel values for source 2264 GRISMR. Source likely on edge of detector; not plotting',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits BUT there are no finite pixel values for source 2264 GRISMR. Source likely on edge of detector; not plotting',
 'Source 2264 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits BUT there are no finite pixel values for source 2264 GRISMR. Source likely on edge of detector; not plotting',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismc-f356w_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits',
 'Source 911 found in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRCAM/WFSS/nrc_wfss_demo_data/PID01345/obs012/stage3_spec/jw01345-o012_nircam_grismr-f356w_x1d.fits']

The figure above shows the 1D spectra from each of the level 3 x1d files in the two center columns. The right-most column shows the combined 1D spectra from the c1d file. These were created from the spectra in the x1d files.

In the second row from the bottom, we see that the plot for the GRISMR x1d spectra is empty. However, the corresponding plot made from the level 2 x1d files shows good spectra. This is due to a bug in the pipeline. It is possible to have a source that is close enough to the edge of the detector that the pipeline predicts the presence of the trace on both the ALONG and BLONG detectors. In this case, as of pipeline version 3.0.0, the step that combines the spectra does not operate properly, resulting in an empty combined spectrum. This issue (10664) will be corrected in a future version of the pipeline.

stsci_logo