NIRSpec BOTS Pipeline Notebook#
Authors: Nikolay Nikolov (AURA Associate Scientist, nnikolov@stsci.edu); Kayli Glidic (kglidic@stsci.edu); NIRSpec branch Last Updated: April 17, 2026 Pipeline Version: 2.0.0 (Build 12.3, Context jwst_1535.pmap)
Purpose:
End-to-end calibration with the James Webb Space Telescope (JWST) pipeline is divided into three main processing stages. This notebook provides a framework for processing generic Near-Infrared Spectrograph (NIRSpec) Bright Object Time-Series (BOTS) data through stages 1-3 of the JWST pipeline, including how to use associations for multi-exposure observations and how to interact and work with JWST datamodels. In most cases, editing cells outside the Configuration section is unnecessary unless the standard pipeline processing options or plot parameters need to be modified.
Data:
This notebook is set up to use transit observations of WASP-39b with the G395H grism, obtained by Proposal ID (PID) 1366, Observation 3. The demo data will automatically download unless disabled (i.e., to use local files instead).
JWST pipeline version and CRDS context:
This notebook was written for the above-specified pipeline version and associated build context for this version of the JWST Calibration Pipeline. Information about this and other contexts can be found in the JWST Calibration Reference Data System (CRDS server). If you use different pipeline versions, please refer to the table here to determine what context to use. To learn more about the differences for the pipeline, read the relevant documentation.
Please note that pipeline software development is a continuous process, so results in some cases may be slightly different if a subsequent version is used. For optimal results, users are strongly encouraged to reprocess their data using the most recent pipeline version and associated CRDS context, taking advantage of bug fixes and algorithm improvements. Any known issues for this build are noted in the notebook.
Updates:
This notebook is regularly updated to incorporate the latest pipeline improvements. Find the most up-to-date version of this notebook here.
Recent Changes:
October 15, 2024: Converted notebook to follow standard template (original).
November 6, 2024: Notebook updated to JWST pipeline version 1.16.0 (Build 11.1).
February 3, 2025: Notebook updated to JWST pipeline version 1.17.1 (Build 11.2)
April 18, 2025: Notebook updated to JWST pipeline version 1.18.0 (Build 11.3) added curved trace extraction.
July 16, 2025: Updated to JWST pipeline version 1.19.1 (update plotting to work with new spectral data table format).
November 7, 2025: Updated to JWST pipeline version 1.20.2 (no significant changes in pipeline).
April 17, 2025: Updated to JWST pipeline version 2.0.0 (Build 12.3), updated “nsclean” references to “clean_flicker_noise”, and updated dictionary calls
Table of Contents#
1. Configuration#
Install dependencies and parameters#
To make sure that the pipeline version is compatible with the steps discussed below and that the required dependencies and packages get installed, you can create a fresh Conda environment and install the provided requirements.txt file before starting this notebook:
conda create -n nirspec_bots_pipeline python=3.12
conda activate nirspec_bots_pipeline
pip install -r requirements.txt
Set the basic parameters to configure the notebook. These parameters determine what data gets used and where the data is located (if already on disk). The list of parameters includes:
demo_mode:True: Downloads example data from the Barbara A. Mikulski Archive for Space Telescopes (MAST) and processes it through the pipeline. All processing will occur in a local directory unless modified in Section 3 below.False: Process your own downloaded data; provide its location.
Directories with data:
sci_dir: Directory where science observation data is stored.
# Basic import necessary for configuration.
# Uncomment logging to hide log information.
import os
import warnings
#import logging
# Control logging level: INFO, WARNING, ERROR
# Run command logging.disable if want to hide logging
# ERROR messages.
#logging.disable(logging.ERROR)
warnings.simplefilter("ignore", RuntimeWarning)
Note that demo_mode must be set appropriately below.
# Set parameters for demo_mode, data mode directories, and processing steps.
# -------------------------------DEMO MODE-----------------------------------
demo_mode = True
if demo_mode:
print('Running in demonstration mode using online example data!')
# ----------------------------User Mode Directories--------------------------
else: # If demo_mode = False, look for user data in these paths.
# Set directory paths for processing specific data; adjust to your local
# directory setup (examples provided below).
basedir = os.path.abspath(os.path.join(os.getcwd(), ''))
# Directory to science observation data; expects uncalibrated data in
# sci_dir/uncal/ and results in stage1, stage2, and stage3 directories.
sci_dir = os.path.join(basedir, 'bots_data_01366/Obs003', '')
# ---------------------------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.
# Science processing.
dodet1 = True # calwebb_detector1
dospec2 = True # calwebb_spec2
dotso3 = True # calwebb_tso3
doviz = True # Visualize calwebb outputs
Running in demonstration mode using online example data!
Set CRDS Context and Server#
Before importing CRDS and JWST modules, we need to configure our environment. This includes defining a CRDS cache directory in which to keep the reference files that will be used by the calibration pipeline. If the local CRDS cache directory has not been set, it will automatically be created in the home directory.
# ------------------------Set CRDS context and paths------------------------
# Each version of the calibration pipeline is associated with a specific CRDS
# context file. The pipeline will select the appropriate context file behind
# the scenes while running. However, if you wish to override the default context
# file and run the pipeline with a different context, you can set that using
# the CRDS_CONTEXT environment variable. Here we show how this is done,
# although we leave the line commented out in order to use the default context.
# If you wish to specify a different context, uncomment the line below.
#os.environ['CRDS_CONTEXT'] = 'jwst_1535.pmap' # CRDS context for 2.0.0
# Set CRDS cache directory to user home if not already set.
if os.getenv('CRDS_PATH') is None:
os.environ['CRDS_PATH'] = os.path.join(os.path.expanduser('~'), 'crds_cache')
# 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'
# Output the current CRDS path and server URL in use.
print('CRDS local filepath:', os.environ['CRDS_PATH'])
print('CRDS file server:', os.environ['CRDS_SERVER_URL'])
CRDS local filepath: /home/runner/crds_cache
CRDS file server: https://jwst-crds.stsci.edu
2. Package Imports#
# Use the entire available screen width for this notebook.
from IPython.display import display, HTML, JSON
display(HTML("<style>.container { width:95% !important; }</style>"))
# ----------------------General Imports----------------------
import time
import glob
import json
import itertools
import numpy as np
from collections import defaultdict
# -------------------- Astroquery Imports ----------------------
from astroquery.mast import Observations
# ----------------------Astropy Imports----------------------
# Astropy utilities for opening FITS files, downloading demo files, etc.
from astropy.io import fits
from astropy.table import Table
from astropy.stats import sigma_clip
from astropy.visualization import ImageNormalize, ManualInterval, LogStretch
from astropy.visualization import LinearStretch, AsinhStretch, simple_norm
# ----------------------Plotting Imports---------------------
import matplotlib.pyplot as plt
from matplotlib.patches import Rectangle
from matplotlib.collections import PatchCollection
from jwst.extract_1d.extract import location_from_wcs
Installation instructions for the JWST pipeline found here: JDox • ReadtheDocs • Github
# ----------------------JWST Calibration Pipeline Imports----------------------
import jwst # Import the base JWST and CRDS packages.
import crds
from crds.client import api
from stpipe import crds_client
# JWST pipelines (each encompassing many steps).
from jwst.pipeline import Detector1Pipeline # calwebb_detector1
from jwst.pipeline import Spec2Pipeline # calwebb_spec2
from jwst.pipeline import Tso3Pipeline # calwebb_tso3
from jwst.extract_1d import Extract1dStep # Extract1D Step
# JWST pipeline utilities
from jwst import datamodels # JWST pipeline utilities: datamodels.
from jwst.associations import asn_from_list as afl # Tools for creating association files.
from jwst.associations.lib.rules_level2b import Asn_Lv2SpecTSO
from jwst.associations.lib.rules_level3 import DMS_Level3_Base
# Check the default context for the Pipeline version
default_context = crds.get_default_context('jwst', state='build')
print("JWST Calibration Pipeline Version = {}".format(jwst.__version__))
print(f"Default CRDS Context for JWST Version {jwst.__version__}: {default_context}")
print(f"Using CRDS Context: {os.environ.get('CRDS_CONTEXT', default_context)}")
CRDS - INFO - Calibration SW Found: jwst 2.0.0 (/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst-2.0.0.dist-info)
JWST Calibration Pipeline Version = 2.0.0
Default CRDS Context for JWST Version 2.0.0: jwst_1535.pmap
Using CRDS Context: jwst_1535.pmap
Define Convenience Functions#
Define a function that filters files based on detector, filter, grating, etc.
def get_matching(files, detector, filt, grating, fxd_slit, exp_type):
"""
Filters a list of FITS files to find those with matching
detector, filter, and grating for a specified exposure type.
Parameters
----------
files : list of str
Paths to FITS files to check.
detector : str
Expected value of the DETECTOR keyword.
filt : str
Expected value of the FILTER keyword.
grating : str
Expected value of the GRATING keyword.
fxd_slit : str
Fixed slit name.
exp_type : str, optional
The exposure type to match.
Returns
-------
files_regular : list of str
Files with matching configuration and IS_IMPRT == False or missing.
files_imprint : list of str)
Files with matching configuration and IS_IMPRT == True.
"""
files_regular, files_imprint = [], []
for file in files:
# Skip if EXP_TYPE doesn't match the provided one.
if fits.getval(file, 'EXP_TYPE') != exp_type:
files_regular.append(file)
continue
# Check if DETECTOR, FILTER, GRATING, and SLIT match
detector_match = fits.getval(file, 'DETECTOR') == detector
filter_match = fits.getval(file, 'FILTER') == filt
grating_match = fits.getval(file, 'GRATING') == grating
slit_match = fits.getval(file, 'FXD_SLIT') == fxd_slit
if detector_match and filter_match and grating_match and slit_match:
# Only IFU and MOS observations have imprint exposures.
try:
is_imprt = fits.getval(file, 'IS_IMPRT')
except KeyError:
is_imprt = None
(files_imprint if is_imprt else files_regular).append(file)
return files_regular, files_imprint
# Start a timer to keep track of runtime.
time0 = time.perf_counter()
3. Demo Mode Setup (ignore if not using demo data)#
The data in this notebook is public and does not require a token. For other data sets, you may need to provide a token. For more infomation visit the astroquery documentation.
If running in demonstration mode, set up the program information to retrieve the uncalibrated data (_uncal.fits) automatically from MAST using astroquery. MAST provides flexibility by allowing searches based on proposal ID and observation ID, rather than relying solely on filenames. More information about the JWST file naming conventions can be found here.
The BOTS demo data in this notebook is from the JWST Early Release Science (ERS) program 1366 and features transit observations of WASP-39b using the G395H grism. The program setup is briefly summarized in the table below.
Demo Target: WASP-39b |
||
|---|---|---|
PROGRAM |
01366 |
Program number |
OBSERVTN |
003 |
Observation number |
G395H/F290LP |
λ: 2.87–5.14 μm (a high resolution, R ~ 2700) |
|
SUBARRAY |
SUB2048 |
Subarray used (2048x32 pixels per integration, per group) |
NINTS |
465 |
Number of integrations in exposure |
NGROUPS |
70 |
Number of groups in integration |
DURATION |
29789.053 [s] |
Total duration of one exposure |
READPATT |
NRSRAPID |
Readout pattern |
PATTTYPE |
NONE |
Primary dither pattern type |
NUMDTHPT |
1 |
Total number of points in pattern |
SRCTYAPT |
UNKNOWN |
Source type selected in APT |
Note: The presence of a physical gap between detectors affects high-resolution BOTS observations because the spectra are long enough to span both NIRSpec detectors. More Info …
Many TSO exposures may contain a sufficiently large number of integrations (NINTS) so as to make their individual exposure products too large (in terms of file size on disk) to be able to handle conveniently. In these cases, the uncalibrated raw data for a given exposure are split into multiple “segmented” products, each of which is identified with a segment number (see segmented products).
Information about existing and planned JWST TSO programs for transiting exoplanets, including with the NIRSpec BOTS mode, can be obtained from TrExoLiSTS
# Set up the program information for demo mode.
if demo_mode:
print('Running in demonstration mode. '
'Example data will be downloaded from MAST!')
# NOTE:
# The data in this notebook is public and does not require a token.
# For other data sets, you may need to provide a token.
# Observations.login(token=None)
# --------------Program and observation information--------------
program = "01366"
sci_observtn = "003"
bg_observtn = None
filters = ["F290LP;G395H"]
# ----------Define the base and observation directories----------
basedir = os.path.abspath(os.path.join(os.getcwd(), ''))
sci_dir = os.path.join(basedir, f'Obs{sci_observtn}')
uncal_dir = os.path.join(sci_dir, 'uncal/')
os.makedirs(uncal_dir, exist_ok=True)
else:
print('Running with user provided data.')
Running in demonstration mode. Example data will be downloaded from MAST!
Click on the following links to learn more about querying and downloading data:
• Downloading data
• Observations Class
• Products Field Descriptions
Compile a table of files from MAST associated with the science (SCI) observation.
# Obtain a list of observation IDs for the specified demo program.
if demo_mode:
# --------------------SCIENCE Observation--------------------
sci_obs_id_table = Observations.query_criteria(instrument_name=['NIRSPEC/SLIT'],
provenance_name=["CALJWST"],
obs_id=[f'*{program}*{sci_observtn}*'])
Filter these tables to identify uncalibrated data and their association files for download from MAST.
The demo dataset consists of six segments of _uncal.fits files, each approximately 1.42 GB in size.
# Convert visits into a list of uncalibrated data and ASN files.
if demo_mode:
file_criteria = {'filters': filters, 'calib_level': [1],
'productSubGroupDescription': 'UNCAL'}
# Initialize lists for science, background, and ASN files.
sci_downloads = []
pfilter = Observations.filter_products # Alias for filter_products method.
# ----------Identify uncalibrated SCIENCE files associated with each visit----------
for exposure in sci_obs_id_table:
sci_products = Observations.get_product_list(exposure)
# Filter for full-size science files (exclude smaller confirmation images).
avg_sci_size = np.nanmean(sci_products['size'])
sci_products = sci_products[sci_products['size'] > avg_sci_size]
sci_downloads.extend(pfilter(sci_products, **file_criteria)['dataURI'])
# Filter out other observations and remove duplicates.
sci_downloads = {f for f in sci_downloads if f"jw{program}{sci_observtn}" in f}
print(f"Science files selected for downloading: {len(sci_downloads)}")
Science files selected for downloading: 6
Downoload the data
Warning: If this notebook is halted during this step, the downloaded file may be incomplete, and cause crashes later on!
# Download data and place them into the appropriate directories.
if demo_mode:
for file in sci_downloads:
sci_manifest = Observations.download_file(file, local_path=uncal_dir)
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01366003001_04101_00001-seg002_nrs2_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg002_nrs2_uncal.fits ...
[Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01366003001_04101_00001-seg001_nrs1_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg001_nrs1_uncal.fits ...
[Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01366003001_04101_00001-seg003_nrs1_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg003_nrs1_uncal.fits ...
[Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01366003001_04101_00001-seg001_nrs2_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg001_nrs2_uncal.fits ...
[Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01366003001_04101_00001-seg003_nrs2_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg003_nrs2_uncal.fits ...
[Done]
Downloading URL https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw01366003001_04101_00001-seg002_nrs1_uncal.fits to /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg002_nrs1_uncal.fits ...
[Done]
4. Directory Setup#
Set up detailed paths to input/output stages here.
# Define/create output subdirectories to keep data products organized.
# -----------------------------Science Directories------------------------------
uncal_dir = os.path.join(sci_dir, 'uncal/') # Uncalibrated pipeline inputs.
det1_dir = os.path.join(sci_dir, 'stage1/') # calwebb_detector1 pipeline outputs.
spec2_dir = os.path.join(sci_dir, 'stage2/') # calwebb_spec2 pipeline outputs.
tso3_dir = os.path.join(sci_dir, 'stage3/') # calwebb_tso3 pipeline outputs.
asn_dir = os.path.join(sci_dir, 'asn/') # Association directory.
os.makedirs(det1_dir, exist_ok=True)
os.makedirs(spec2_dir, exist_ok=True)
os.makedirs(tso3_dir, exist_ok=True)
os.makedirs(asn_dir, exist_ok=True)
# Print out the time benchmark.
time1 = time.perf_counter()
print(f"Runtime so far: {round((time1 - time0) / 60.0, 1):0.4f} min")
Runtime so far: 0.8000 min
5. Stage 1: Detector1Pipeline (calwebb_detector1)#
In this section, we process the data through the calwebb_detector1 pipeline to create Stage 1 data products.
Input: Raw exposure (
_uncal.fits) containing original data from all detector readouts (ncols x nrows x ngroups x nintegrations).Output: Uncalibrated countrate (slope) image in units of DN/s:
_rate.fits: A single countrate image averaged over multiple integrations (if available)._rateints.fits: Countrate images for each integration, saved in multiple extensions.
The Detector1Pipeline applies basic detector-level corrections on a group-by-group basis, followed by ramp fitting for all exposure types, commonly referred to as “ramps-to-slopes” processing.
5.1 Configure Detector1Pipeline#
The Detector1Pipeline has the following steps available for NIRSpec BOTS:
group_scale: Rescales pixel values to correct for improper onboard frame averaging.
dq_init: Initializes the data quality (DQ) flags for the input data.
saturation: Flags pixels at or below the A/D floor or above the saturation threshold.
superbias: Subtracts the superbias reference file from the input data.
refpix: Use reference pixels to correct bias drifts.
linearity: Applies a correction for non-linear detector response.
dark_current: Subtracts the dark current reference file from the input data.
jump: Performs CR/jump detection on each ramp integration within an exposure.
picture_frame: Removes thermal artifacts from calibrated ramp image (“picture frame” effect)
clean_flicker_noise: Removes flicker (1/f) noise from calibrated ramp images (at the group level).
ramp_fit: Determines the mean count rate (counts per second) for each pixel by performing a linear fit to the input data.
gain_scale: Corrects pixel values for non-standard gain settings, primarily in NIRSpec subarray data.
For more information about each step and a full list of step arguments, please refer to the official documentation: JDox • ReadtheDocs
Below, we set up a dictionary that defines how the Detector1Pipeline should be configured for BOTS data.
# 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['superbias']['override_superbias'] = 'myfile.fits' # Bias subtraction
#det1dict['refpix']['override_refpix'] = 'myfile.fits' # Reference pixel
#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
#det1dict['picture_frame']['override_pictureframe'] = 'myfile.fits' # Picture frame correction
# -----------------------------Set step parameters------------------------------
# Example overrides for whether or not certain steps should be skipped;
#det1dict['linearity']['skip'] = True # skipping the linearity correction (default)
# Turn on multi-core processing (off by default).
# Choose what fraction of cores to use (quarter, half, or all).
det1dict['jump']['maximum_cores'] = 'quarter'
#det1dict['ramp_fit']['maximum_cores'] = 'half'
# Turn on the picture frame correction (off by default)
#det1dict['picture_frame']['skip'] = False
Many exposures are affected by artifacts known as snowballs caused by large cosmic ray events. These artifacts are particularly significant in deep exposures with long integration times, with an estimated rate of one snowball per detector (FULL FRAME) per 20 seconds. To expand the number of pixels flagged as jumps around large cosmic ray events, set expand_large_events to True. An expand_factor of 3 works well for NIRSpec observations to cover most snowballs.
# Turn on detection of cosmic ray snowballs (on by default).
det1dict['jump']['expand_large_events'] = True # default
det1dict['jump']['expand_factor'] = 3 # default
For NIRSpec data, the clean_flicker_noise step is the primary pipeline algorithm to address 1/f noise. This step can be run at the group level in the Detector1Pipeline or at the exposure level in the Spec2Pipeline. As of build 12.3, there is a new option available, background_method="median_image", that works particularly well for TSO data as well. More information about this option can be found in the step documentation.
When the step is run within the Spec2Pipeline with the following parameters, it is closest to the nsclean algorithm (Rauscher 2023):
fit_method: “fft”
background_method: None
mask_science_regions: True
n_sigma: 5.0
Note that these values, especially the FFT fit method, can be extremely scene-dependent. The NIRSpec default values for clean_flicker_noise parameters are instead:
fit_method: “median”
background_method: None
mask_science_regions: False
n_sigma: 1.5
The clean_flicker_noise step is currently off by default in both Detector1Pipeline and Spec2Pipeline, but can be turned on by setting “skip” to “False”.
# Turn on 1/f noise correction in Stage 1? (off by default).
#det1dict['clean_flicker_noise']['skip'] = False
#det1dict['clean_fliker_noise']['background_method'] = "median_image"
5.2 Run Detector1Pipeline#
Run the science files through the calwebb_detector1 pipeline using the .call() method.
We use .call() instead of .run() to ensure that the latest default parameters from CRDS are applied (ReadtheDocs).
# Final list of UNCAL files ready for Stage 1 processing.
uncal_sci = sorted(glob.glob(uncal_dir + '*uncal.fits'))
print(f"Science UNCAL Files:\n{'-' * 20}\n" + "\n".join(uncal_sci))
Science UNCAL Files:
--------------------
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg001_nrs1_uncal.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg001_nrs2_uncal.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg002_nrs1_uncal.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg002_nrs2_uncal.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg003_nrs1_uncal.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg003_nrs2_uncal.fits
# Run Stage 1 pipeline using the custom det1dict dictionary.
if dodet1:
# ---------------------Science UNCAL files---------------------
for uncal_file in sorted(glob.glob(uncal_dir + '*uncal.fits')):
print(f"Applying Stage 1 Corrections & Calibrations to: "
f"{os.path.basename(uncal_file)}")
det1_result = Detector1Pipeline.call(uncal_file,
save_results=True,
steps=det1dict,
# To save calibrated ramps set to True.
save_calibrated_ramp=False, # Default True.
output_dir=det1_dir)
print("... Stage 1 has been completed!\n")
else:
print('Skipping Detector1 processing for SCI data.')
Applying Stage 1 Corrections & Calibrations to: jw01366003001_04101_00001-seg001_nrs1_uncal.fits
2026-04-15 20:15:38,024 - CRDS - INFO - Calibration SW Found: jwst 2.0.0 (/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst-2.0.0.dist-info)
2026-04-15 20:15:38,197 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_system_datalvl_0002.rmap 694 bytes (1 / 224 files) (0 / 796.2 K bytes)
2026-04-15 20:15:38,253 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_system_calver_0069.rmap 5.8 K bytes (2 / 224 files) (694 / 796.2 K bytes)
2026-04-15 20:15:38,316 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_system_0064.imap 385 bytes (3 / 224 files) (6.5 K / 796.2 K bytes)
2026-04-15 20:15:38,378 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_wavelengthrange_0024.rmap 1.4 K bytes (4 / 224 files) (6.9 K / 796.2 K bytes)
2026-04-15 20:15:38,544 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_wavecorr_0005.rmap 884 bytes (5 / 224 files) (8.3 K / 796.2 K bytes)
2026-04-15 20:15:42,710 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_superbias_0089.rmap 39.4 K bytes (6 / 224 files) (9.1 K / 796.2 K bytes)
2026-04-15 20:15:42,772 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_sirskernel_0002.rmap 704 bytes (7 / 224 files) (48.5 K / 796.2 K bytes)
2026-04-15 20:15:42,866 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_sflat_0027.rmap 20.6 K bytes (8 / 224 files) (49.2 K / 796.2 K bytes)
2026-04-15 20:15:42,936 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_saturation_0018.rmap 2.0 K bytes (9 / 224 files) (69.8 K / 796.2 K bytes)
2026-04-15 20:15:43,049 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_refpix_0015.rmap 1.6 K bytes (10 / 224 files) (71.9 K / 796.2 K bytes)
2026-04-15 20:15:43,096 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_readnoise_0025.rmap 2.6 K bytes (11 / 224 files) (73.4 K / 796.2 K bytes)
2026-04-15 20:15:43,267 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_psf_0002.rmap 687 bytes (12 / 224 files) (76.0 K / 796.2 K bytes)
2026-04-15 20:15:43,350 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pictureframe_0002.rmap 886 bytes (13 / 224 files) (76.7 K / 796.2 K bytes)
2026-04-15 20:15:43,401 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_photom_0013.rmap 958 bytes (14 / 224 files) (77.6 K / 796.2 K bytes)
2026-04-15 20:15:43,444 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pathloss_0011.rmap 1.2 K bytes (15 / 224 files) (78.5 K / 796.2 K bytes)
2026-04-15 20:15:43,495 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-whitelightstep_0001.rmap 777 bytes (16 / 224 files) (79.7 K / 796.2 K bytes)
2026-04-15 20:15:43,540 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-tso3pipeline_0001.rmap 786 bytes (17 / 224 files) (80.5 K / 796.2 K bytes)
2026-04-15 20:15:43,641 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-spec2pipeline_0013.rmap 2.1 K bytes (18 / 224 files) (81.3 K / 796.2 K bytes)
2026-04-15 20:15:43,690 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-resamplespecstep_0002.rmap 709 bytes (19 / 224 files) (83.4 K / 796.2 K bytes)
2026-04-15 20:15:43,733 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-refpixstep_0003.rmap 910 bytes (20 / 224 files) (84.1 K / 796.2 K bytes)
2026-04-15 20:15:43,781 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-pixelreplacestep_0001.rmap 818 bytes (21 / 224 files) (85.0 K / 796.2 K bytes)
2026-04-15 20:15:43,862 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-pictureframestep_0001.rmap 818 bytes (22 / 224 files) (85.8 K / 796.2 K bytes)
2026-04-15 20:15:43,913 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-outlierdetectionstep_0005.rmap 1.1 K bytes (23 / 224 files) (86.7 K / 796.2 K bytes)
2026-04-15 20:15:43,964 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-jumpstep_0006.rmap 810 bytes (24 / 224 files) (87.8 K / 796.2 K bytes)
2026-04-15 20:15:44,015 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-image2pipeline_0008.rmap 1.0 K bytes (25 / 224 files) (88.6 K / 796.2 K bytes)
2026-04-15 20:15:44,063 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-extract1dstep_0001.rmap 794 bytes (26 / 224 files) (89.6 K / 796.2 K bytes)
2026-04-15 20:15:44,115 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-detector1pipeline_0004.rmap 1.1 K bytes (27 / 224 files) (90.4 K / 796.2 K bytes)
2026-04-15 20:15:44,257 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-darkpipeline_0003.rmap 872 bytes (28 / 224 files) (91.5 K / 796.2 K bytes)
2026-04-15 20:15:44,297 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-darkcurrentstep_0003.rmap 1.8 K bytes (29 / 224 files) (92.4 K / 796.2 K bytes)
2026-04-15 20:15:44,346 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-cubebuildstep_0001.rmap 862 bytes (30 / 224 files) (94.2 K / 796.2 K bytes)
2026-04-15 20:15:44,471 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-cleanflickernoisestep_0002.rmap 983 bytes (31 / 224 files) (95.1 K / 796.2 K bytes)
2026-04-15 20:15:44,511 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_pars-adaptivetracemodelstep_0002.rmap 997 bytes (32 / 224 files) (96.1 K / 796.2 K bytes)
2026-04-15 20:15:44,665 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_ote_0030.rmap 1.3 K bytes (33 / 224 files) (97.1 K / 796.2 K bytes)
2026-04-15 20:15:44,705 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_msaoper_0018.rmap 1.6 K bytes (34 / 224 files) (98.3 K / 796.2 K bytes)
2026-04-15 20:15:44,756 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_msa_0027.rmap 1.3 K bytes (35 / 224 files) (100.0 K / 796.2 K bytes)
2026-04-15 20:15:44,804 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_mask_0045.rmap 4.9 K bytes (36 / 224 files) (101.2 K / 796.2 K bytes)
2026-04-15 20:15:44,844 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_linearity_0017.rmap 1.6 K bytes (37 / 224 files) (106.2 K / 796.2 K bytes)
2026-04-15 20:15:44,892 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_ipc_0006.rmap 876 bytes (38 / 224 files) (107.7 K / 796.2 K bytes)
2026-04-15 20:15:44,932 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_ifuslicer_0018.rmap 1.5 K bytes (39 / 224 files) (108.6 K / 796.2 K bytes)
2026-04-15 20:15:44,971 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_ifupost_0020.rmap 1.5 K bytes (40 / 224 files) (110.1 K / 796.2 K bytes)
2026-04-15 20:15:45,021 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_ifufore_0017.rmap 1.5 K bytes (41 / 224 files) (111.6 K / 796.2 K bytes)
2026-04-15 20:15:45,062 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_gain_0023.rmap 1.8 K bytes (42 / 224 files) (113.1 K / 796.2 K bytes)
2026-04-15 20:15:45,174 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_fpa_0028.rmap 1.3 K bytes (43 / 224 files) (114.9 K / 796.2 K bytes)
2026-04-15 20:15:45,223 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_fore_0026.rmap 5.0 K bytes (44 / 224 files) (116.2 K / 796.2 K bytes)
2026-04-15 20:15:45,265 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_flat_0015.rmap 3.8 K bytes (45 / 224 files) (121.1 K / 796.2 K bytes)
2026-04-15 20:15:45,310 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_fflat_0030.rmap 7.2 K bytes (46 / 224 files) (124.9 K / 796.2 K bytes)
2026-04-15 20:15:45,352 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_extract1d_0018.rmap 2.3 K bytes (47 / 224 files) (132.1 K / 796.2 K bytes)
2026-04-15 20:15:45,393 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_disperser_0028.rmap 5.7 K bytes (48 / 224 files) (134.4 K / 796.2 K bytes)
2026-04-15 20:15:45,436 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_dflat_0007.rmap 1.1 K bytes (49 / 224 files) (140.1 K / 796.2 K bytes)
2026-04-15 20:15:45,482 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_dark_0085.rmap 37.4 K bytes (50 / 224 files) (141.3 K / 796.2 K bytes)
2026-04-15 20:15:45,549 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_cubepar_0015.rmap 966 bytes (51 / 224 files) (178.7 K / 796.2 K bytes)
2026-04-15 20:15:45,589 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_collimator_0026.rmap 1.3 K bytes (52 / 224 files) (179.6 K / 796.2 K bytes)
2026-04-15 20:15:45,640 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_camera_0026.rmap 1.3 K bytes (53 / 224 files) (181.0 K / 796.2 K bytes)
2026-04-15 20:15:45,681 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_barshadow_0007.rmap 1.8 K bytes (54 / 224 files) (182.3 K / 796.2 K bytes)
2026-04-15 20:15:45,739 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_area_0019.rmap 6.8 K bytes (55 / 224 files) (184.1 K / 796.2 K bytes)
2026-04-15 20:15:45,785 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_apcorr_0009.rmap 5.6 K bytes (56 / 224 files) (190.9 K / 796.2 K bytes)
2026-04-15 20:15:45,824 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nirspec_0432.imap 6.2 K bytes (57 / 224 files) (196.5 K / 796.2 K bytes)
2026-04-15 20:15:45,872 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_wavelengthrange_0008.rmap 897 bytes (58 / 224 files) (202.6 K / 796.2 K bytes)
2026-04-15 20:15:45,933 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_trappars_0004.rmap 753 bytes (59 / 224 files) (203.5 K / 796.2 K bytes)
2026-04-15 20:15:45,987 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_trapdensity_0005.rmap 705 bytes (60 / 224 files) (204.3 K / 796.2 K bytes)
2026-04-15 20:15:46,043 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_throughput_0005.rmap 1.3 K bytes (61 / 224 files) (205.0 K / 796.2 K bytes)
2026-04-15 20:15:46,082 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_superbias_0035.rmap 8.3 K bytes (62 / 224 files) (206.2 K / 796.2 K bytes)
2026-04-15 20:15:46,123 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_specwcs_0017.rmap 3.1 K bytes (63 / 224 files) (214.5 K / 796.2 K bytes)
2026-04-15 20:15:46,163 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_specprofile_0010.rmap 2.5 K bytes (64 / 224 files) (217.7 K / 796.2 K bytes)
2026-04-15 20:15:46,226 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_speckernel_0006.rmap 1.0 K bytes (65 / 224 files) (220.2 K / 796.2 K bytes)
2026-04-15 20:15:46,278 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_sirskernel_0002.rmap 700 bytes (66 / 224 files) (221.2 K / 796.2 K bytes)
2026-04-15 20:15:46,326 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_saturation_0015.rmap 829 bytes (67 / 224 files) (221.9 K / 796.2 K bytes)
2026-04-15 20:15:46,377 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_readnoise_0011.rmap 987 bytes (68 / 224 files) (222.7 K / 796.2 K bytes)
2026-04-15 20:15:46,424 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_photom_0041.rmap 1.3 K bytes (69 / 224 files) (223.7 K / 796.2 K bytes)
2026-04-15 20:15:46,475 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_persat_0007.rmap 674 bytes (70 / 224 files) (225.0 K / 796.2 K bytes)
2026-04-15 20:15:46,521 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pathloss_0003.rmap 758 bytes (71 / 224 files) (225.6 K / 796.2 K bytes)
2026-04-15 20:15:46,568 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pastasoss_0006.rmap 818 bytes (72 / 224 files) (226.4 K / 796.2 K bytes)
2026-04-15 20:15:46,617 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-wfsscontamstep_0001.rmap 797 bytes (73 / 224 files) (227.2 K / 796.2 K bytes)
2026-04-15 20:15:46,669 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-undersamplecorrectionstep_0001.rmap 904 bytes (74 / 224 files) (228.0 K / 796.2 K bytes)
2026-04-15 20:15:46,724 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-tweakregstep_0012.rmap 3.1 K bytes (75 / 224 files) (228.9 K / 796.2 K bytes)
2026-04-15 20:15:46,775 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-spec2pipeline_0009.rmap 1.2 K bytes (76 / 224 files) (232.0 K / 796.2 K bytes)
2026-04-15 20:15:46,814 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-sourcecatalogstep_0002.rmap 2.3 K bytes (77 / 224 files) (233.3 K / 796.2 K bytes)
2026-04-15 20:15:46,859 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-resamplestep_0002.rmap 687 bytes (78 / 224 files) (235.6 K / 796.2 K bytes)
2026-04-15 20:15:46,906 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-outlierdetectionstep_0004.rmap 2.7 K bytes (79 / 224 files) (236.3 K / 796.2 K bytes)
2026-04-15 20:15:46,957 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-jumpstep_0007.rmap 6.4 K bytes (80 / 224 files) (239.0 K / 796.2 K bytes)
2026-04-15 20:15:47,002 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-image2pipeline_0005.rmap 1.0 K bytes (81 / 224 files) (245.3 K / 796.2 K bytes)
2026-04-15 20:15:47,050 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-detector1pipeline_0005.rmap 1.5 K bytes (82 / 224 files) (246.3 K / 796.2 K bytes)
2026-04-15 20:15:47,092 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-darkpipeline_0002.rmap 868 bytes (83 / 224 files) (247.9 K / 796.2 K bytes)
2026-04-15 20:15:47,131 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-darkcurrentstep_0001.rmap 591 bytes (84 / 224 files) (248.8 K / 796.2 K bytes)
2026-04-15 20:15:47,177 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-cleanflickernoisestep_0003.rmap 1.2 K bytes (85 / 224 files) (249.3 K / 796.2 K bytes)
2026-04-15 20:15:47,220 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-chargemigrationstep_0005.rmap 5.7 K bytes (86 / 224 files) (250.6 K / 796.2 K bytes)
2026-04-15 20:15:47,264 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_pars-backgroundstep_0003.rmap 822 bytes (87 / 224 files) (256.2 K / 796.2 K bytes)
2026-04-15 20:15:47,305 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_nrm_0005.rmap 663 bytes (88 / 224 files) (257.0 K / 796.2 K bytes)
2026-04-15 20:15:47,344 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_mask_0025.rmap 1.6 K bytes (89 / 224 files) (257.7 K / 796.2 K bytes)
2026-04-15 20:15:47,386 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_linearity_0022.rmap 961 bytes (90 / 224 files) (259.3 K / 796.2 K bytes)
2026-04-15 20:15:47,440 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_ipc_0007.rmap 651 bytes (91 / 224 files) (260.3 K / 796.2 K bytes)
2026-04-15 20:15:47,494 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_gain_0011.rmap 797 bytes (92 / 224 files) (260.9 K / 796.2 K bytes)
2026-04-15 20:15:47,541 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_flat_0023.rmap 5.9 K bytes (93 / 224 files) (261.7 K / 796.2 K bytes)
2026-04-15 20:15:47,589 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_filteroffset_0010.rmap 853 bytes (94 / 224 files) (267.6 K / 796.2 K bytes)
2026-04-15 20:15:47,627 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_extract1d_0007.rmap 905 bytes (95 / 224 files) (268.4 K / 796.2 K bytes)
2026-04-15 20:15:47,666 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_drizpars_0004.rmap 519 bytes (96 / 224 files) (269.3 K / 796.2 K bytes)
2026-04-15 20:15:47,710 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_distortion_0025.rmap 3.4 K bytes (97 / 224 files) (269.9 K / 796.2 K bytes)
2026-04-15 20:15:47,750 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_dark_0039.rmap 8.3 K bytes (98 / 224 files) (273.3 K / 796.2 K bytes)
2026-04-15 20:15:47,803 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_bkg_0005.rmap 3.1 K bytes (99 / 224 files) (281.6 K / 796.2 K bytes)
2026-04-15 20:15:47,850 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_area_0014.rmap 2.7 K bytes (100 / 224 files) (284.7 K / 796.2 K bytes)
2026-04-15 20:15:47,897 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_apcorr_0010.rmap 4.3 K bytes (101 / 224 files) (287.4 K / 796.2 K bytes)
2026-04-15 20:15:47,951 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_abvegaoffset_0004.rmap 1.4 K bytes (102 / 224 files) (291.7 K / 796.2 K bytes)
2026-04-15 20:15:48,005 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_niriss_0308.imap 5.9 K bytes (103 / 224 files) (293.0 K / 796.2 K bytes)
2026-04-15 20:15:48,045 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_wavelengthrange_0012.rmap 996 bytes (104 / 224 files) (299.0 K / 796.2 K bytes)
2026-04-15 20:15:48,085 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_tsophot_0003.rmap 896 bytes (105 / 224 files) (300.0 K / 796.2 K bytes)
2026-04-15 20:15:48,134 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_trappars_0003.rmap 1.6 K bytes (106 / 224 files) (300.9 K / 796.2 K bytes)
2026-04-15 20:15:48,173 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_trapdensity_0003.rmap 1.6 K bytes (107 / 224 files) (302.5 K / 796.2 K bytes)
2026-04-15 20:15:48,211 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_superbias_0022.rmap 25.5 K bytes (108 / 224 files) (304.1 K / 796.2 K bytes)
2026-04-15 20:15:48,269 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_specwcs_0027.rmap 8.0 K bytes (109 / 224 files) (329.6 K / 796.2 K bytes)
2026-04-15 20:15:48,317 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_sirskernel_0003.rmap 671 bytes (110 / 224 files) (337.6 K / 796.2 K bytes)
2026-04-15 20:15:48,357 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_saturation_0011.rmap 2.8 K bytes (111 / 224 files) (338.3 K / 796.2 K bytes)
2026-04-15 20:15:48,401 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_regions_0003.rmap 3.4 K bytes (112 / 224 files) (341.1 K / 796.2 K bytes)
2026-04-15 20:15:48,443 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_readnoise_0028.rmap 27.1 K bytes (113 / 224 files) (344.5 K / 796.2 K bytes)
2026-04-15 20:15:48,503 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_psfmask_0008.rmap 28.4 K bytes (114 / 224 files) (371.7 K / 796.2 K bytes)
2026-04-15 20:15:48,553 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_photom_0031.rmap 3.4 K bytes (115 / 224 files) (400.0 K / 796.2 K bytes)
2026-04-15 20:15:48,596 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_persat_0005.rmap 1.6 K bytes (116 / 224 files) (403.5 K / 796.2 K bytes)
2026-04-15 20:15:48,635 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-whitelightstep_0004.rmap 2.0 K bytes (117 / 224 files) (405.0 K / 796.2 K bytes)
2026-04-15 20:15:48,689 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-wfsscontamstep_0001.rmap 797 bytes (118 / 224 files) (407.0 K / 796.2 K bytes)
2026-04-15 20:15:48,739 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-tweakregstep_0003.rmap 4.5 K bytes (119 / 224 files) (407.8 K / 796.2 K bytes)
2026-04-15 20:15:48,791 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-tsophotometrystep_0003.rmap 1.1 K bytes (120 / 224 files) (412.3 K / 796.2 K bytes)
2026-04-15 20:15:48,830 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-spec2pipeline_0009.rmap 984 bytes (121 / 224 files) (413.4 K / 796.2 K bytes)
2026-04-15 20:15:48,870 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-sourcecatalogstep_0002.rmap 4.6 K bytes (122 / 224 files) (414.4 K / 796.2 K bytes)
2026-04-15 20:15:48,922 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-resamplestep_0002.rmap 687 bytes (123 / 224 files) (419.0 K / 796.2 K bytes)
2026-04-15 20:15:48,961 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-outlierdetectionstep_0003.rmap 940 bytes (124 / 224 files) (419.7 K / 796.2 K bytes)
2026-04-15 20:15:49,019 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-jumpstep_0005.rmap 806 bytes (125 / 224 files) (420.6 K / 796.2 K bytes)
2026-04-15 20:15:49,067 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-image2pipeline_0004.rmap 1.1 K bytes (126 / 224 files) (421.4 K / 796.2 K bytes)
2026-04-15 20:15:49,113 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-detector1pipeline_0007.rmap 1.7 K bytes (127 / 224 files) (422.6 K / 796.2 K bytes)
2026-04-15 20:15:49,153 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-darkpipeline_0002.rmap 868 bytes (128 / 224 files) (424.3 K / 796.2 K bytes)
2026-04-15 20:15:49,212 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-darkcurrentstep_0001.rmap 618 bytes (129 / 224 files) (425.2 K / 796.2 K bytes)
2026-04-15 20:15:49,260 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_pars-backgroundstep_0003.rmap 822 bytes (130 / 224 files) (425.8 K / 796.2 K bytes)
2026-04-15 20:15:49,311 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_mask_0014.rmap 5.4 K bytes (131 / 224 files) (426.6 K / 796.2 K bytes)
2026-04-15 20:15:49,360 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_linearity_0011.rmap 2.4 K bytes (132 / 224 files) (432.0 K / 796.2 K bytes)
2026-04-15 20:15:49,412 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_ipc_0003.rmap 2.0 K bytes (133 / 224 files) (434.4 K / 796.2 K bytes)
2026-04-15 20:15:49,452 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_gain_0016.rmap 2.1 K bytes (134 / 224 files) (436.4 K / 796.2 K bytes)
2026-04-15 20:15:49,499 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_flat_0028.rmap 51.7 K bytes (135 / 224 files) (438.5 K / 796.2 K bytes)
2026-04-15 20:15:49,557 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_filteroffset_0004.rmap 1.4 K bytes (136 / 224 files) (490.2 K / 796.2 K bytes)
2026-04-15 20:15:49,606 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_extract1d_0007.rmap 2.2 K bytes (137 / 224 files) (491.6 K / 796.2 K bytes)
2026-04-15 20:15:49,645 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_drizpars_0001.rmap 519 bytes (138 / 224 files) (493.8 K / 796.2 K bytes)
2026-04-15 20:15:49,686 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_distortion_0034.rmap 53.4 K bytes (139 / 224 files) (494.3 K / 796.2 K bytes)
2026-04-15 20:15:49,757 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_dark_0054.rmap 33.9 K bytes (140 / 224 files) (547.6 K / 796.2 K bytes)
2026-04-15 20:15:49,828 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_bkg_0002.rmap 7.0 K bytes (141 / 224 files) (581.5 K / 796.2 K bytes)
2026-04-15 20:15:49,876 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_area_0012.rmap 33.5 K bytes (142 / 224 files) (588.5 K / 796.2 K bytes)
2026-04-15 20:15:49,925 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_apcorr_0009.rmap 4.3 K bytes (143 / 224 files) (622.0 K / 796.2 K bytes)
2026-04-15 20:15:49,979 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_abvegaoffset_0004.rmap 1.3 K bytes (144 / 224 files) (626.2 K / 796.2 K bytes)
2026-04-15 20:15:50,028 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_nircam_0354.imap 5.8 K bytes (145 / 224 files) (627.5 K / 796.2 K bytes)
2026-04-15 20:15:50,072 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_wavelengthrange_0030.rmap 1.0 K bytes (146 / 224 files) (633.3 K / 796.2 K bytes)
2026-04-15 20:15:50,116 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_tsophot_0004.rmap 882 bytes (147 / 224 files) (634.3 K / 796.2 K bytes)
2026-04-15 20:15:50,156 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_straymask_0009.rmap 987 bytes (148 / 224 files) (635.2 K / 796.2 K bytes)
2026-04-15 20:15:50,209 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_specwcs_0048.rmap 5.9 K bytes (149 / 224 files) (636.2 K / 796.2 K bytes)
2026-04-15 20:15:50,251 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_saturation_0015.rmap 1.2 K bytes (150 / 224 files) (642.1 K / 796.2 K bytes)
2026-04-15 20:15:50,294 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_rscd_0010.rmap 1.0 K bytes (151 / 224 files) (643.3 K / 796.2 K bytes)
2026-04-15 20:15:50,335 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_resol_0006.rmap 790 bytes (152 / 224 files) (644.3 K / 796.2 K bytes)
2026-04-15 20:15:50,377 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_reset_0026.rmap 3.9 K bytes (153 / 224 files) (645.1 K / 796.2 K bytes)
2026-04-15 20:15:50,423 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_regions_0036.rmap 4.4 K bytes (154 / 224 files) (649.0 K / 796.2 K bytes)
2026-04-15 20:15:50,466 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_readnoise_0023.rmap 1.6 K bytes (155 / 224 files) (653.3 K / 796.2 K bytes)
2026-04-15 20:15:50,518 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_psfmask_0009.rmap 2.1 K bytes (156 / 224 files) (655.0 K / 796.2 K bytes)
2026-04-15 20:15:50,562 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_psf_0008.rmap 2.6 K bytes (157 / 224 files) (657.1 K / 796.2 K bytes)
2026-04-15 20:15:50,635 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_photom_0063.rmap 3.9 K bytes (158 / 224 files) (659.7 K / 796.2 K bytes)
2026-04-15 20:15:50,676 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pathloss_0005.rmap 866 bytes (159 / 224 files) (663.6 K / 796.2 K bytes)
2026-04-15 20:15:50,718 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-whitelightstep_0003.rmap 912 bytes (160 / 224 files) (664.4 K / 796.2 K bytes)
2026-04-15 20:15:50,760 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-wfsscontamstep_0001.rmap 787 bytes (161 / 224 files) (665.4 K / 796.2 K bytes)
2026-04-15 20:15:50,807 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-tweakregstep_0003.rmap 1.8 K bytes (162 / 224 files) (666.1 K / 796.2 K bytes)
2026-04-15 20:15:50,851 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-tsophotometrystep_0003.rmap 2.7 K bytes (163 / 224 files) (668.0 K / 796.2 K bytes)
2026-04-15 20:15:50,891 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-spec3pipeline_0011.rmap 886 bytes (164 / 224 files) (670.6 K / 796.2 K bytes)
2026-04-15 20:15:50,941 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-spec2pipeline_0013.rmap 1.4 K bytes (165 / 224 files) (671.5 K / 796.2 K bytes)
2026-04-15 20:15:50,982 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-sourcecatalogstep_0003.rmap 1.9 K bytes (166 / 224 files) (672.9 K / 796.2 K bytes)
2026-04-15 20:15:51,021 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-resamplestep_0002.rmap 677 bytes (167 / 224 files) (674.9 K / 796.2 K bytes)
2026-04-15 20:15:51,070 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-resamplespecstep_0002.rmap 706 bytes (168 / 224 files) (675.5 K / 796.2 K bytes)
2026-04-15 20:15:51,120 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-outlierdetectionstep_0020.rmap 3.4 K bytes (169 / 224 files) (676.2 K / 796.2 K bytes)
2026-04-15 20:15:51,172 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-jumpstep_0011.rmap 1.6 K bytes (170 / 224 files) (679.6 K / 796.2 K bytes)
2026-04-15 20:15:51,221 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-image2pipeline_0010.rmap 1.1 K bytes (171 / 224 files) (681.2 K / 796.2 K bytes)
2026-04-15 20:15:51,304 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-extract1dstep_0003.rmap 807 bytes (172 / 224 files) (682.3 K / 796.2 K bytes)
2026-04-15 20:15:51,346 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-emicorrstep_0003.rmap 796 bytes (173 / 224 files) (683.1 K / 796.2 K bytes)
2026-04-15 20:15:51,386 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-detector1pipeline_0010.rmap 1.6 K bytes (174 / 224 files) (683.9 K / 796.2 K bytes)
2026-04-15 20:15:51,454 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-darkpipeline_0002.rmap 860 bytes (175 / 224 files) (685.5 K / 796.2 K bytes)
2026-04-15 20:15:51,498 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-darkcurrentstep_0002.rmap 683 bytes (176 / 224 files) (686.3 K / 796.2 K bytes)
2026-04-15 20:15:51,542 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-backgroundstep_0003.rmap 814 bytes (177 / 224 files) (687.0 K / 796.2 K bytes)
2026-04-15 20:15:51,582 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_pars-adaptivetracemodelstep_0002.rmap 979 bytes (178 / 224 files) (687.8 K / 796.2 K bytes)
2026-04-15 20:15:51,624 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_mrsxartcorr_0002.rmap 2.2 K bytes (179 / 224 files) (688.8 K / 796.2 K bytes)
2026-04-15 20:15:51,663 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_mrsptcorr_0005.rmap 2.0 K bytes (180 / 224 files) (691.0 K / 796.2 K bytes)
2026-04-15 20:15:51,704 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_mask_0036.rmap 8.6 K bytes (181 / 224 files) (692.9 K / 796.2 K bytes)
2026-04-15 20:15:51,743 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_linearity_0018.rmap 2.8 K bytes (182 / 224 files) (701.6 K / 796.2 K bytes)
2026-04-15 20:15:51,790 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_ipc_0008.rmap 700 bytes (183 / 224 files) (704.4 K / 796.2 K bytes)
2026-04-15 20:15:51,841 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_gain_0013.rmap 3.9 K bytes (184 / 224 files) (705.1 K / 796.2 K bytes)
2026-04-15 20:15:51,891 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_fringefreq_0003.rmap 1.4 K bytes (185 / 224 files) (709.0 K / 796.2 K bytes)
2026-04-15 20:15:51,935 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_fringe_0019.rmap 3.9 K bytes (186 / 224 files) (710.5 K / 796.2 K bytes)
2026-04-15 20:15:51,979 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_flat_0073.rmap 16.5 K bytes (187 / 224 files) (714.4 K / 796.2 K bytes)
2026-04-15 20:15:52,043 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_filteroffset_0029.rmap 2.4 K bytes (188 / 224 files) (730.9 K / 796.2 K bytes)
2026-04-15 20:15:52,091 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_extract1d_0022.rmap 1.0 K bytes (189 / 224 files) (733.3 K / 796.2 K bytes)
2026-04-15 20:15:52,141 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_emicorr_0004.rmap 663 bytes (190 / 224 files) (734.3 K / 796.2 K bytes)
2026-04-15 20:15:52,188 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_drizpars_0002.rmap 511 bytes (191 / 224 files) (735.0 K / 796.2 K bytes)
2026-04-15 20:15:52,239 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_distortion_0043.rmap 4.8 K bytes (192 / 224 files) (735.5 K / 796.2 K bytes)
2026-04-15 20:15:52,285 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_dark_0039.rmap 4.3 K bytes (193 / 224 files) (740.3 K / 796.2 K bytes)
2026-04-15 20:15:52,328 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_cubepar_0017.rmap 800 bytes (194 / 224 files) (744.6 K / 796.2 K bytes)
2026-04-15 20:15:52,376 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_bkg_0004.rmap 712 bytes (195 / 224 files) (745.4 K / 796.2 K bytes)
2026-04-15 20:15:52,416 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_area_0015.rmap 866 bytes (196 / 224 files) (746.1 K / 796.2 K bytes)
2026-04-15 20:15:52,472 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_apcorr_0023.rmap 5.0 K bytes (197 / 224 files) (746.9 K / 796.2 K bytes)
2026-04-15 20:15:52,511 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_abvegaoffset_0003.rmap 1.3 K bytes (198 / 224 files) (752.0 K / 796.2 K bytes)
2026-04-15 20:15:52,574 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_miri_0487.imap 6.0 K bytes (199 / 224 files) (753.2 K / 796.2 K bytes)
2026-04-15 20:15:52,624 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_trappars_0004.rmap 903 bytes (200 / 224 files) (759.3 K / 796.2 K bytes)
2026-04-15 20:15:52,676 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_trapdensity_0006.rmap 930 bytes (201 / 224 files) (760.2 K / 796.2 K bytes)
2026-04-15 20:15:52,781 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_superbias_0017.rmap 3.8 K bytes (202 / 224 files) (761.1 K / 796.2 K bytes)
2026-04-15 20:15:52,837 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_saturation_0009.rmap 779 bytes (203 / 224 files) (764.9 K / 796.2 K bytes)
2026-04-15 20:15:52,891 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_readnoise_0014.rmap 1.3 K bytes (204 / 224 files) (765.7 K / 796.2 K bytes)
2026-04-15 20:15:52,934 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_photom_0014.rmap 1.1 K bytes (205 / 224 files) (766.9 K / 796.2 K bytes)
2026-04-15 20:15:52,984 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_persat_0006.rmap 884 bytes (206 / 224 files) (768.1 K / 796.2 K bytes)
2026-04-15 20:15:53,049 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_pars-tweakregstep_0002.rmap 850 bytes (207 / 224 files) (769.0 K / 796.2 K bytes)
2026-04-15 20:15:53,094 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_pars-sourcecatalogstep_0001.rmap 636 bytes (208 / 224 files) (769.8 K / 796.2 K bytes)
2026-04-15 20:15:53,139 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_pars-outlierdetectionstep_0001.rmap 654 bytes (209 / 224 files) (770.4 K / 796.2 K bytes)
2026-04-15 20:15:53,194 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_pars-image2pipeline_0005.rmap 974 bytes (210 / 224 files) (771.1 K / 796.2 K bytes)
2026-04-15 20:15:53,238 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_pars-detector1pipeline_0002.rmap 1.0 K bytes (211 / 224 files) (772.1 K / 796.2 K bytes)
2026-04-15 20:15:53,293 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_pars-darkpipeline_0002.rmap 856 bytes (212 / 224 files) (773.1 K / 796.2 K bytes)
2026-04-15 20:15:53,342 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_mask_0023.rmap 1.1 K bytes (213 / 224 files) (774.0 K / 796.2 K bytes)
2026-04-15 20:15:53,384 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_linearity_0015.rmap 925 bytes (214 / 224 files) (775.0 K / 796.2 K bytes)
2026-04-15 20:15:53,426 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_ipc_0003.rmap 614 bytes (215 / 224 files) (775.9 K / 796.2 K bytes)
2026-04-15 20:15:53,466 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_gain_0010.rmap 890 bytes (216 / 224 files) (776.5 K / 796.2 K bytes)
2026-04-15 20:15:53,516 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_flat_0009.rmap 1.1 K bytes (217 / 224 files) (777.4 K / 796.2 K bytes)
2026-04-15 20:15:53,559 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_distortion_0011.rmap 1.2 K bytes (218 / 224 files) (778.6 K / 796.2 K bytes)
2026-04-15 20:15:53,606 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_dark_0017.rmap 4.3 K bytes (219 / 224 files) (779.8 K / 796.2 K bytes)
2026-04-15 20:15:53,649 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_area_0010.rmap 1.2 K bytes (220 / 224 files) (784.1 K / 796.2 K bytes)
2026-04-15 20:15:53,697 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_apcorr_0004.rmap 4.0 K bytes (221 / 224 files) (785.2 K / 796.2 K bytes)
2026-04-15 20:15:53,744 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_abvegaoffset_0002.rmap 1.3 K bytes (222 / 224 files) (789.2 K / 796.2 K bytes)
2026-04-15 20:15:53,793 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_fgs_0125.imap 5.1 K bytes (223 / 224 files) (790.5 K / 796.2 K bytes)
2026-04-15 20:15:53,833 - CRDS - INFO - Fetching /home/runner/crds_cache/mappings/jwst/jwst_1535.pmap 580 bytes (224 / 224 files) (795.6 K / 796.2 K bytes)
2026-04-15 20:15:54,533 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-jumpstep_0004.asdf 1.9 K bytes (1 / 1 files) (0 / 1.9 K bytes)
2026-04-15 20:15:54,583 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-jumpstep_0004.asdf
2026-04-15 20:15:54,599 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf 1.4 K bytes (1 / 1 files) (0 / 1.4 K bytes)
2026-04-15 20:15:54,648 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:15:54,658 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-detector1pipeline_0003.asdf 1.5 K bytes (1 / 1 files) (0 / 1.5 K bytes)
2026-04-15 20:15:54,701 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-detector1pipeline_0003.asdf
2026-04-15 20:15:54,719 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:15:54,720 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:15:54,720 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:15:54,722 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:15:54,725 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:15:54,726 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:15:54,727 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:15:54,728 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:15:54,729 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:15:54,730 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:15:54,731 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:15:54,731 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:15:54,732 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:15:54,734 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:15:54,735 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:15:54,736 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:15:54,738 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:15:54,739 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:15:54,740 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:15:54,741 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:15:54,742 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:15:54,902 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg001_nrs1_uncal.fits',).
2026-04-15 20:15:54,924 - 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/NIRSPEC/BOTS/Obs003/stage1/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_calibrated_ramp: False
steps:
group_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
dq_init:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
user_supplied_dq: None
emicorr:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: joint
nints_to_phase: None
nbins: None
scale_reference: True
onthefly_corr_freq: None
use_n_cycles: 3
fit_ints_separately: False
user_supplied_reffile: None
save_intermediate_results: False
saturation:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
n_pix_grow_sat: 1
use_readpatt: True
ipc:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
superbias:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
refpix:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: 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: median
sigreject: 4.0
gaussmooth: 1.0
halfwidth: 30
rscd:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
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: ''
input_trapsfilled: ''
flag_pers_cutoff: 40.0
save_persistence: False
save_trapsfilled: True
modify_input: False
charge_migration:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
signal_threshold: 25000.0
jump:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
rejection_threshold: 4.0
three_group_rejection_threshold: 6.0
four_group_rejection_threshold: 5.0
maximum_cores: quarter
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: 3
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: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 1.5
fit_histogram: False
single_mask: True
user_mask: None
save_mask: False
save_background: False
save_noise: False
ramp_fit:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: OLS_C
int_name: ''
save_opt: False
opt_name: ''
suppress_one_group: True
firstgroup: None
lastgroup: None
maximum_cores: '1'
gain_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
2026-04-15 20:15:54,950 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg001_nrs1_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'saturation', 'sirskernel', 'superbias']
2026-04-15 20:15:54,954 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0438.fits 38.6 M bytes (1 / 8 files) (0 / 84.0 M bytes)
2026-04-15 20:15:55,313 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0025.fits 2.1 M bytes (2 / 8 files) (38.6 M / 84.0 M bytes)
2026-04-15 20:15:55,460 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0024.fits 14.9 M bytes (3 / 8 files) (40.7 M / 84.0 M bytes)
2026-04-15 20:15:55,752 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0051.fits 16.8 M bytes (4 / 8 files) (55.6 M / 84.0 M bytes)
2026-04-15 20:15:55,976 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0043.fits 4.2 M bytes (5 / 8 files) (72.4 M / 84.0 M bytes)
2026-04-15 20:15:56,162 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0028.fits 6.4 M bytes (6 / 8 files) (76.6 M / 84.0 M bytes)
2026-04-15 20:15:56,342 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_sirskernel_0001.asdf 133.4 K bytes (7 / 8 files) (83.1 M / 84.0 M bytes)
2026-04-15 20:15:56,426 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0427.fits 815.0 K bytes (8 / 8 files) (83.2 M / 84.0 M bytes)
2026-04-15 20:15:56,549 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0438.fits'.
2026-04-15 20:15:56,550 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0025.fits'.
2026-04-15 20:15:56,550 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0024.fits'.
2026-04-15 20:15:56,551 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0051.fits'.
2026-04-15 20:15:56,551 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0043.fits'.
2026-04-15 20:15:56,552 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-04-15 20:15:56,552 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-04-15 20:15:56,553 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0028.fits'.
2026-04-15 20:15:56,553 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_sirskernel_0001.asdf'.
2026-04-15 20:15:56,554 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0427.fits'.
2026-04-15 20:15:56,554 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:15:57,853 - stpipe.step - INFO - Step group_scale running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:15:57,855 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:15:57,855 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:15:57,858 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:15:58,022 - stpipe.step - INFO - Step dq_init running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:15:58,033 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0051.fits
2026-04-15 20:15:58,108 - jwst.dq_init.dq_initialization - INFO - Extracting mask subarray to match science data
2026-04-15 20:15:58,341 - CRDS - INFO - Calibration SW Found: jwst 2.0.0 (/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst-2.0.0.dist-info)
2026-04-15 20:15:58,395 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:15:58,567 - stpipe.step - INFO - Step saturation running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:15:58,573 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0028.fits
2026-04-15 20:15:58,574 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0427.fits
2026-04-15 20:15:58,662 - jwst.saturation.saturation - INFO - Extracting reference file subarray to match science data
2026-04-15 20:15:58,682 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:16:03,154 - stcal.saturation.saturation - INFO - Detected 789 saturated pixels
2026-04-15 20:16:03,281 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-04-15 20:16:03,295 - stpipe.step - INFO - Step saturation done
2026-04-15 20:16:03,457 - stpipe.step - INFO - Step ipc running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:16:03,458 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:03,621 - stpipe.step - INFO - Step superbias running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:16:03,629 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0427.fits
2026-04-15 20:16:03,897 - stpipe.step - INFO - Step superbias done
2026-04-15 20:16:04,069 - stpipe.step - INFO - Step refpix running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:16:04,071 - jwst.refpix.reference_pixels - INFO - NIR subarray data
2026-04-15 20:16:04,074 - jwst.refpix.reference_pixels - INFO - Single readout amplifier used
2026-04-15 20:16:04,074 - jwst.refpix.reference_pixels - INFO - The following parameter is valid for this mode:
2026-04-15 20:16:04,075 - jwst.refpix.reference_pixels - INFO - odd_even_columns = True
2026-04-15 20:16:04,076 - jwst.refpix.reference_pixels - INFO - The following parameters are not applicable and are ignored:
2026-04-15 20:16:04,077 - jwst.refpix.reference_pixels - INFO - use_side_ref_pixels = True
2026-04-15 20:16:04,077 - jwst.refpix.reference_pixels - INFO - side_smoothing_length = 11
2026-04-15 20:16:04,078 - jwst.refpix.reference_pixels - INFO - side_gain = 1.0
2026-04-15 20:16:04,079 - jwst.refpix.reference_pixels - INFO - odd_even_rows = False
2026-04-15 20:16:23,734 - stpipe.step - INFO - Step refpix done
2026-04-15 20:16:23,906 - stpipe.step - INFO - Step linearity running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:16:23,914 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0024.fits
2026-04-15 20:16:23,952 - stdatamodels.dynamicdq - WARNING - Keyword BAD_LIN_CORR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:16:25,800 - stpipe.step - INFO - Step linearity done
2026-04-15 20:16:25,965 - stpipe.step - INFO - Step dark_current running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:16:25,970 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0438.fits
2026-04-15 20:16:26,044 - stcal.dark_current.dark_sub - INFO - Science data nints=155, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:16:26,044 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:16:26,732 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:16:26,910 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:16:26,911 - stpipe.step - INFO - Step skipped.
2026-04-15 20:16:27,076 - stpipe.step - INFO - Step jump running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:16:27,078 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:16:27,078 - jwst.jump.jump_step - INFO - Maximum cores to use = quarter
2026-04-15 20:16:27,084 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0025.fits
2026-04-15 20:16:27,087 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0043.fits
2026-04-15 20:16:27,121 - jwst.jump.jump_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:16:27,135 - jwst.jump.jump_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:16:27,509 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:16:27,510 - stcal.jump.jump - INFO - Creating 2 processes for jump detection
2026-04-15 20:16:59,525 - stcal.jump.jump - INFO - Flagging Snowballs
2026-04-15 20:17:19,293 - stcal.jump.jump - INFO - Total snowballs = 8511
2026-04-15 20:17:19,294 - stcal.jump.jump - INFO - Total elapsed time = 51.7843 sec
2026-04-15 20:17:19,425 - jwst.jump.jump_step - INFO - The execution time in seconds: 52.347838
2026-04-15 20:17:19,429 - stpipe.step - INFO - Step jump done
2026-04-15 20:17:19,603 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:17:19,604 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:19,778 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:17:19,779 - stpipe.step - INFO - Step skipped.
2026-04-15 20:17:19,953 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:17:19,966 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0043.fits
2026-04-15 20:17:19,967 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0025.fits
2026-04-15 20:17:20,000 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:17:20,014 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:17:20,027 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:17:20,028 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:17:21,378 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:18:15,656 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 54.27505826950073
2026-04-15 20:18:15,800 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:18:15,990 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:18:15,991 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.429
2026-04-15 20:18:16,013 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:18:16,187 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_uncal.fits>,).
2026-04-15 20:18:16,188 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.429
2026-04-15 20:18:16,218 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:18:16,345 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs1_rateints.fits
2026-04-15 20:18:16,346 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:18:16,349 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:18:16,396 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs1_rate.fits
2026-04-15 20:18:16,397 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:18:16,398 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:18:16,431 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-jumpstep_0004.asdf
2026-04-15 20:18:16,444 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:18:16,453 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-detector1pipeline_0003.asdf
2026-04-15 20:18:16,471 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:18:16,472 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:18:16,473 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:18:16,475 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:18:16,476 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:18:16,476 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:18:16,477 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:18:16,479 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:18:16,479 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:18:16,480 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:18:16,481 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:18:16,482 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:18:16,483 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:18:16,484 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:18:16,485 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:18:16,486 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:18:16,488 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:18:16,490 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:18:16,491 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:18:16,492 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:18:16,493 - stpipe.step - INFO - GainScaleStep instance created.
... Stage 1 has been completed!
Applying Stage 1 Corrections & Calibrations to: jw01366003001_04101_00001-seg001_nrs2_uncal.fits
2026-04-15 20:18:16,675 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg001_nrs2_uncal.fits',).
2026-04-15 20:18:16,696 - 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/NIRSPEC/BOTS/Obs003/stage1/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_calibrated_ramp: False
steps:
group_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
dq_init:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
user_supplied_dq: None
emicorr:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: joint
nints_to_phase: None
nbins: None
scale_reference: True
onthefly_corr_freq: None
use_n_cycles: 3
fit_ints_separately: False
user_supplied_reffile: None
save_intermediate_results: False
saturation:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
n_pix_grow_sat: 1
use_readpatt: True
ipc:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
superbias:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
refpix:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: 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: median
sigreject: 4.0
gaussmooth: 1.0
halfwidth: 30
rscd:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
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: ''
input_trapsfilled: ''
flag_pers_cutoff: 40.0
save_persistence: False
save_trapsfilled: True
modify_input: False
charge_migration:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
signal_threshold: 25000.0
jump:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
rejection_threshold: 4.0
three_group_rejection_threshold: 6.0
four_group_rejection_threshold: 5.0
maximum_cores: quarter
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: 3
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: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 1.5
fit_histogram: False
single_mask: True
user_mask: None
save_mask: False
save_background: False
save_noise: False
ramp_fit:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: OLS_C
int_name: ''
save_opt: False
opt_name: ''
suppress_one_group: True
firstgroup: None
lastgroup: None
maximum_cores: '1'
gain_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
2026-04-15 20:18:16,721 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg001_nrs2_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'saturation', 'sirskernel', 'superbias']
2026-04-15 20:18:16,725 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0439.fits 38.6 M bytes (1 / 7 files) (0 / 83.9 M bytes)
2026-04-15 20:18:17,273 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0027.fits 2.1 M bytes (2 / 7 files) (38.6 M / 83.9 M bytes)
2026-04-15 20:18:17,439 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0023.fits 14.9 M bytes (3 / 7 files) (40.7 M / 83.9 M bytes)
2026-04-15 20:18:17,691 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0049.fits 16.8 M bytes (4 / 7 files) (55.6 M / 83.9 M bytes)
2026-04-15 20:18:17,914 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0048.fits 4.2 M bytes (5 / 7 files) (72.4 M / 83.9 M bytes)
2026-04-15 20:18:18,117 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0029.fits 6.4 M bytes (6 / 7 files) (76.6 M / 83.9 M bytes)
2026-04-15 20:18:18,336 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0429.fits 815.0 K bytes (7 / 7 files) (83.1 M / 83.9 M bytes)
2026-04-15 20:18:18,451 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0439.fits'.
2026-04-15 20:18:18,452 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0027.fits'.
2026-04-15 20:18:18,453 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0023.fits'.
2026-04-15 20:18:18,453 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0049.fits'.
2026-04-15 20:18:18,454 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0048.fits'.
2026-04-15 20:18:18,454 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-04-15 20:18:18,455 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-04-15 20:18:18,455 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0029.fits'.
2026-04-15 20:18:18,455 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_sirskernel_0001.asdf'.
2026-04-15 20:18:18,456 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0429.fits'.
2026-04-15 20:18:18,456 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:18:19,774 - stpipe.step - INFO - Step group_scale running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:18:19,775 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:18:19,775 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:18:19,777 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:18:19,948 - stpipe.step - INFO - Step dq_init running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:18:19,951 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0049.fits
2026-04-15 20:18:20,011 - jwst.dq_init.dq_initialization - INFO - Extracting mask subarray to match science data
2026-04-15 20:18:20,249 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:18:20,423 - stpipe.step - INFO - Step saturation running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:18:20,427 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0029.fits
2026-04-15 20:18:20,428 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0429.fits
2026-04-15 20:18:20,511 - jwst.saturation.saturation - INFO - Extracting reference file subarray to match science data
2026-04-15 20:18:20,530 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:18:25,060 - stcal.saturation.saturation - INFO - Detected 791 saturated pixels
2026-04-15 20:18:25,189 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-04-15 20:18:25,202 - stpipe.step - INFO - Step saturation done
2026-04-15 20:18:25,370 - stpipe.step - INFO - Step ipc running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:18:25,371 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:25,524 - stpipe.step - INFO - Step superbias running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:18:25,527 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0429.fits
2026-04-15 20:18:25,822 - stpipe.step - INFO - Step superbias done
2026-04-15 20:18:25,979 - stpipe.step - INFO - Step refpix running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:18:25,981 - jwst.refpix.reference_pixels - INFO - NIR subarray data
2026-04-15 20:18:25,984 - jwst.refpix.reference_pixels - INFO - Single readout amplifier used
2026-04-15 20:18:25,985 - jwst.refpix.reference_pixels - INFO - The following parameter is valid for this mode:
2026-04-15 20:18:25,985 - jwst.refpix.reference_pixels - INFO - odd_even_columns = True
2026-04-15 20:18:25,986 - jwst.refpix.reference_pixels - INFO - The following parameters are not applicable and are ignored:
2026-04-15 20:18:25,986 - jwst.refpix.reference_pixels - INFO - use_side_ref_pixels = True
2026-04-15 20:18:25,987 - jwst.refpix.reference_pixels - INFO - side_smoothing_length = 11
2026-04-15 20:18:25,987 - jwst.refpix.reference_pixels - INFO - side_gain = 1.0
2026-04-15 20:18:25,988 - jwst.refpix.reference_pixels - INFO - odd_even_rows = False
2026-04-15 20:18:45,178 - stpipe.step - INFO - Step refpix done
2026-04-15 20:18:45,353 - stpipe.step - INFO - Step linearity running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:18:45,356 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0023.fits
2026-04-15 20:18:45,390 - stdatamodels.dynamicdq - WARNING - Keyword BAD_LIN_CORR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:18:47,340 - stpipe.step - INFO - Step linearity done
2026-04-15 20:18:47,516 - stpipe.step - INFO - Step dark_current running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:18:47,519 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0439.fits
2026-04-15 20:18:47,588 - stcal.dark_current.dark_sub - INFO - Science data nints=155, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:18:47,589 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:18:48,282 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:18:48,458 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:18:48,459 - stpipe.step - INFO - Step skipped.
2026-04-15 20:18:48,642 - stpipe.step - INFO - Step jump running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:18:48,643 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:18:48,644 - jwst.jump.jump_step - INFO - Maximum cores to use = quarter
2026-04-15 20:18:48,646 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0027.fits
2026-04-15 20:18:48,649 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0048.fits
2026-04-15 20:18:48,681 - jwst.jump.jump_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:18:48,696 - jwst.jump.jump_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:18:49,075 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:18:49,076 - stcal.jump.jump - INFO - Creating 2 processes for jump detection
2026-04-15 20:19:20,921 - stcal.jump.jump - INFO - Flagging Snowballs
2026-04-15 20:19:41,740 - stcal.jump.jump - INFO - Total snowballs = 7517
2026-04-15 20:19:41,740 - stcal.jump.jump - INFO - Total elapsed time = 52.6648 sec
2026-04-15 20:19:41,871 - jwst.jump.jump_step - INFO - The execution time in seconds: 53.227852
2026-04-15 20:19:41,874 - stpipe.step - INFO - Step jump done
2026-04-15 20:19:42,039 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:19:42,040 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:42,203 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:19:42,205 - stpipe.step - INFO - Step skipped.
2026-04-15 20:19:42,372 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:19:42,378 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0048.fits
2026-04-15 20:19:42,379 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0027.fits
2026-04-15 20:19:42,411 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:19:42,425 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:19:42,439 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:19:42,439 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:19:43,842 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:20:37,958 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 54.11326885223389
2026-04-15 20:20:38,091 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:20:38,277 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:20:38,278 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.428
2026-04-15 20:20:38,301 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:20:38,470 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_uncal.fits>,).
2026-04-15 20:20:38,471 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.428
2026-04-15 20:20:38,501 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:20:38,625 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs2_rateints.fits
2026-04-15 20:20:38,626 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:20:38,628 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:20:38,675 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs2_rate.fits
2026-04-15 20:20:38,675 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:20:38,676 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:20:38,711 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-jumpstep_0004.asdf
2026-04-15 20:20:38,723 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:20:38,732 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-detector1pipeline_0003.asdf
2026-04-15 20:20:38,748 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:20:38,749 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:20:38,749 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:20:38,750 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:20:38,751 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:20:38,751 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:20:38,752 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:20:38,753 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:20:38,754 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:20:38,754 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:20:38,755 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:20:38,756 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:20:38,756 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:20:38,757 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:20:38,758 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:20:38,758 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:20:38,760 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:20:38,760 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:20:38,761 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:20:38,763 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:20:38,764 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:20:38,927 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg002_nrs1_uncal.fits',).
... Stage 1 has been completed!
Applying Stage 1 Corrections & Calibrations to: jw01366003001_04101_00001-seg002_nrs1_uncal.fits
2026-04-15 20:20:38,948 - 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/NIRSPEC/BOTS/Obs003/stage1/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_calibrated_ramp: False
steps:
group_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
dq_init:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
user_supplied_dq: None
emicorr:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: joint
nints_to_phase: None
nbins: None
scale_reference: True
onthefly_corr_freq: None
use_n_cycles: 3
fit_ints_separately: False
user_supplied_reffile: None
save_intermediate_results: False
saturation:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
n_pix_grow_sat: 1
use_readpatt: True
ipc:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
superbias:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
refpix:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: 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: median
sigreject: 4.0
gaussmooth: 1.0
halfwidth: 30
rscd:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
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: ''
input_trapsfilled: ''
flag_pers_cutoff: 40.0
save_persistence: False
save_trapsfilled: True
modify_input: False
charge_migration:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
signal_threshold: 25000.0
jump:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
rejection_threshold: 4.0
three_group_rejection_threshold: 6.0
four_group_rejection_threshold: 5.0
maximum_cores: quarter
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: 3
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: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 1.5
fit_histogram: False
single_mask: True
user_mask: None
save_mask: False
save_background: False
save_noise: False
ramp_fit:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: OLS_C
int_name: ''
save_opt: False
opt_name: ''
suppress_one_group: True
firstgroup: None
lastgroup: None
maximum_cores: '1'
gain_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
2026-04-15 20:20:38,975 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg002_nrs1_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'saturation', 'sirskernel', 'superbias']
2026-04-15 20:20:38,978 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0438.fits'.
2026-04-15 20:20:38,979 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0025.fits'.
2026-04-15 20:20:38,979 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0024.fits'.
2026-04-15 20:20:38,980 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0051.fits'.
2026-04-15 20:20:38,981 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0043.fits'.
2026-04-15 20:20:38,981 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-04-15 20:20:38,982 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-04-15 20:20:38,982 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0028.fits'.
2026-04-15 20:20:38,982 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_sirskernel_0001.asdf'.
2026-04-15 20:20:38,983 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0427.fits'.
2026-04-15 20:20:38,984 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:20:40,270 - stpipe.step - INFO - Step group_scale running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:20:40,271 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:20:40,272 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:20:40,273 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:20:40,446 - stpipe.step - INFO - Step dq_init running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:20:40,449 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0051.fits
2026-04-15 20:20:40,512 - jwst.dq_init.dq_initialization - INFO - Extracting mask subarray to match science data
2026-04-15 20:20:40,757 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:20:40,930 - stpipe.step - INFO - Step saturation running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:20:40,934 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0028.fits
2026-04-15 20:20:40,935 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0427.fits
2026-04-15 20:20:41,016 - jwst.saturation.saturation - INFO - Extracting reference file subarray to match science data
2026-04-15 20:20:41,035 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:20:45,357 - stcal.saturation.saturation - INFO - Detected 729 saturated pixels
2026-04-15 20:20:45,488 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-04-15 20:20:45,502 - stpipe.step - INFO - Step saturation done
2026-04-15 20:20:45,673 - stpipe.step - INFO - Step ipc running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:20:45,674 - stpipe.step - INFO - Step skipped.
2026-04-15 20:20:45,845 - stpipe.step - INFO - Step superbias running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:20:45,848 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0427.fits
2026-04-15 20:20:46,108 - stpipe.step - INFO - Step superbias done
2026-04-15 20:20:46,265 - stpipe.step - INFO - Step refpix running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:20:46,268 - jwst.refpix.reference_pixels - INFO - NIR subarray data
2026-04-15 20:20:46,270 - jwst.refpix.reference_pixels - INFO - Single readout amplifier used
2026-04-15 20:20:46,271 - jwst.refpix.reference_pixels - INFO - The following parameter is valid for this mode:
2026-04-15 20:20:46,271 - jwst.refpix.reference_pixels - INFO - odd_even_columns = True
2026-04-15 20:20:46,272 - jwst.refpix.reference_pixels - INFO - The following parameters are not applicable and are ignored:
2026-04-15 20:20:46,272 - jwst.refpix.reference_pixels - INFO - use_side_ref_pixels = True
2026-04-15 20:20:46,273 - jwst.refpix.reference_pixels - INFO - side_smoothing_length = 11
2026-04-15 20:20:46,274 - jwst.refpix.reference_pixels - INFO - side_gain = 1.0
2026-04-15 20:20:46,274 - jwst.refpix.reference_pixels - INFO - odd_even_rows = False
2026-04-15 20:21:04,530 - stpipe.step - INFO - Step refpix done
2026-04-15 20:21:04,688 - stpipe.step - INFO - Step linearity running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:21:04,692 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0024.fits
2026-04-15 20:21:04,725 - stdatamodels.dynamicdq - WARNING - Keyword BAD_LIN_CORR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:21:06,666 - stpipe.step - INFO - Step linearity done
2026-04-15 20:21:06,835 - stpipe.step - INFO - Step dark_current running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:21:06,838 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0438.fits
2026-04-15 20:21:06,905 - stcal.dark_current.dark_sub - INFO - Science data nints=155, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:21:06,906 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:21:07,604 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:21:07,785 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:21:07,786 - stpipe.step - INFO - Step skipped.
2026-04-15 20:21:07,962 - stpipe.step - INFO - Step jump running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:21:07,963 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:21:07,963 - jwst.jump.jump_step - INFO - Maximum cores to use = quarter
2026-04-15 20:21:07,966 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0025.fits
2026-04-15 20:21:07,969 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0043.fits
2026-04-15 20:21:08,002 - jwst.jump.jump_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:21:08,016 - jwst.jump.jump_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:21:08,398 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:21:08,399 - stcal.jump.jump - INFO - Creating 2 processes for jump detection
2026-04-15 20:21:40,204 - stcal.jump.jump - INFO - Flagging Snowballs
2026-04-15 20:21:59,888 - stcal.jump.jump - INFO - Total snowballs = 8626
2026-04-15 20:21:59,889 - stcal.jump.jump - INFO - Total elapsed time = 51.4907 sec
2026-04-15 20:22:00,020 - jwst.jump.jump_step - INFO - The execution time in seconds: 52.056655
2026-04-15 20:22:00,023 - stpipe.step - INFO - Step jump done
2026-04-15 20:22:00,195 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:22:00,196 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:00,373 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:22:00,375 - stpipe.step - INFO - Step skipped.
2026-04-15 20:22:00,545 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:22:00,550 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0043.fits
2026-04-15 20:22:00,551 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0025.fits
2026-04-15 20:22:00,584 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:22:00,598 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:22:00,612 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:22:00,613 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:22:01,939 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:22:56,007 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 54.06468081474304
2026-04-15 20:22:56,141 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:22:56,331 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:22:56,332 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.429
2026-04-15 20:22:56,355 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:22:56,535 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_uncal.fits>,).
2026-04-15 20:22:56,536 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.429
2026-04-15 20:22:56,569 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:22:56,693 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs1_rateints.fits
2026-04-15 20:22:56,694 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:22:56,696 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:22:56,743 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs1_rate.fits
2026-04-15 20:22:56,744 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:22:56,744 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:22:56,781 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-jumpstep_0004.asdf
2026-04-15 20:22:56,794 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:22:56,803 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-detector1pipeline_0003.asdf
2026-04-15 20:22:56,821 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:22:56,822 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:22:56,823 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:22:56,824 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:22:56,826 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:22:56,826 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:22:56,827 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:22:56,828 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:22:56,830 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:22:56,831 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:22:56,831 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:22:56,832 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:22:56,833 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:22:56,834 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:22:56,835 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:22:56,836 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:22:56,838 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:22:56,839 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:22:56,840 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:22:56,842 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:22:56,843 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:22:57,024 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg002_nrs2_uncal.fits',).
... Stage 1 has been completed!
Applying Stage 1 Corrections & Calibrations to: jw01366003001_04101_00001-seg002_nrs2_uncal.fits
2026-04-15 20:22:57,046 - 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/NIRSPEC/BOTS/Obs003/stage1/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_calibrated_ramp: False
steps:
group_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
dq_init:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
user_supplied_dq: None
emicorr:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: joint
nints_to_phase: None
nbins: None
scale_reference: True
onthefly_corr_freq: None
use_n_cycles: 3
fit_ints_separately: False
user_supplied_reffile: None
save_intermediate_results: False
saturation:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
n_pix_grow_sat: 1
use_readpatt: True
ipc:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
superbias:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
refpix:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: 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: median
sigreject: 4.0
gaussmooth: 1.0
halfwidth: 30
rscd:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
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: ''
input_trapsfilled: ''
flag_pers_cutoff: 40.0
save_persistence: False
save_trapsfilled: True
modify_input: False
charge_migration:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
signal_threshold: 25000.0
jump:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
rejection_threshold: 4.0
three_group_rejection_threshold: 6.0
four_group_rejection_threshold: 5.0
maximum_cores: quarter
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: 3
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: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 1.5
fit_histogram: False
single_mask: True
user_mask: None
save_mask: False
save_background: False
save_noise: False
ramp_fit:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: OLS_C
int_name: ''
save_opt: False
opt_name: ''
suppress_one_group: True
firstgroup: None
lastgroup: None
maximum_cores: '1'
gain_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
2026-04-15 20:22:57,073 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg002_nrs2_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'saturation', 'sirskernel', 'superbias']
2026-04-15 20:22:57,077 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0439.fits'.
2026-04-15 20:22:57,078 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0027.fits'.
2026-04-15 20:22:57,078 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0023.fits'.
2026-04-15 20:22:57,079 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0049.fits'.
2026-04-15 20:22:57,080 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0048.fits'.
2026-04-15 20:22:57,080 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-04-15 20:22:57,081 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-04-15 20:22:57,081 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0029.fits'.
2026-04-15 20:22:57,082 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_sirskernel_0001.asdf'.
2026-04-15 20:22:57,083 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0429.fits'.
2026-04-15 20:22:57,084 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:22:58,864 - stpipe.step - INFO - Step group_scale running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:22:58,865 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:22:58,866 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:22:58,868 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:22:59,023 - stpipe.step - INFO - Step dq_init running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:22:59,026 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0049.fits
2026-04-15 20:22:59,087 - jwst.dq_init.dq_initialization - INFO - Extracting mask subarray to match science data
2026-04-15 20:22:59,323 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:22:59,481 - stpipe.step - INFO - Step saturation running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:22:59,485 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0029.fits
2026-04-15 20:22:59,486 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0429.fits
2026-04-15 20:22:59,568 - jwst.saturation.saturation - INFO - Extracting reference file subarray to match science data
2026-04-15 20:22:59,587 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:23:04,042 - stcal.saturation.saturation - INFO - Detected 1002 saturated pixels
2026-04-15 20:23:04,176 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-04-15 20:23:04,190 - stpipe.step - INFO - Step saturation done
2026-04-15 20:23:04,374 - stpipe.step - INFO - Step ipc running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:23:04,375 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:04,576 - stpipe.step - INFO - Step superbias running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:23:04,580 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0429.fits
2026-04-15 20:23:04,839 - stpipe.step - INFO - Step superbias done
2026-04-15 20:23:05,012 - stpipe.step - INFO - Step refpix running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:23:05,015 - jwst.refpix.reference_pixels - INFO - NIR subarray data
2026-04-15 20:23:05,017 - jwst.refpix.reference_pixels - INFO - Single readout amplifier used
2026-04-15 20:23:05,018 - jwst.refpix.reference_pixels - INFO - The following parameter is valid for this mode:
2026-04-15 20:23:05,019 - jwst.refpix.reference_pixels - INFO - odd_even_columns = True
2026-04-15 20:23:05,019 - jwst.refpix.reference_pixels - INFO - The following parameters are not applicable and are ignored:
2026-04-15 20:23:05,020 - jwst.refpix.reference_pixels - INFO - use_side_ref_pixels = True
2026-04-15 20:23:05,020 - jwst.refpix.reference_pixels - INFO - side_smoothing_length = 11
2026-04-15 20:23:05,021 - jwst.refpix.reference_pixels - INFO - side_gain = 1.0
2026-04-15 20:23:05,021 - jwst.refpix.reference_pixels - INFO - odd_even_rows = False
2026-04-15 20:23:23,020 - stpipe.step - INFO - Step refpix done
2026-04-15 20:23:23,190 - stpipe.step - INFO - Step linearity running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:23:23,193 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0023.fits
2026-04-15 20:23:23,228 - stdatamodels.dynamicdq - WARNING - Keyword BAD_LIN_CORR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:23:25,134 - stpipe.step - INFO - Step linearity done
2026-04-15 20:23:25,314 - stpipe.step - INFO - Step dark_current running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:23:25,317 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0439.fits
2026-04-15 20:23:25,390 - stcal.dark_current.dark_sub - INFO - Science data nints=155, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:23:25,391 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:23:26,066 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:23:26,246 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:23:26,247 - stpipe.step - INFO - Step skipped.
2026-04-15 20:23:26,427 - stpipe.step - INFO - Step jump running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:23:26,428 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:23:26,428 - jwst.jump.jump_step - INFO - Maximum cores to use = quarter
2026-04-15 20:23:26,431 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0027.fits
2026-04-15 20:23:26,434 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0048.fits
2026-04-15 20:23:26,467 - jwst.jump.jump_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:23:26,481 - jwst.jump.jump_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:23:26,872 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:23:26,873 - stcal.jump.jump - INFO - Creating 2 processes for jump detection
2026-04-15 20:23:58,772 - stcal.jump.jump - INFO - Flagging Snowballs
2026-04-15 20:24:19,161 - stcal.jump.jump - INFO - Total snowballs = 7421
2026-04-15 20:24:19,162 - stcal.jump.jump - INFO - Total elapsed time = 52.2897 sec
2026-04-15 20:24:19,288 - jwst.jump.jump_step - INFO - The execution time in seconds: 52.860608
2026-04-15 20:24:19,292 - stpipe.step - INFO - Step jump done
2026-04-15 20:24:19,446 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:24:19,447 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:19,611 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:24:19,613 - stpipe.step - INFO - Step skipped.
2026-04-15 20:24:19,765 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:24:19,770 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0048.fits
2026-04-15 20:24:19,770 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0027.fits
2026-04-15 20:24:19,804 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:24:19,817 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:24:19,831 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:24:19,831 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:24:21,140 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:25:15,132 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 53.988842725753784
2026-04-15 20:25:15,265 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:25:15,453 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:25:15,454 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.428
2026-04-15 20:25:15,476 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:25:15,655 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_uncal.fits>,).
2026-04-15 20:25:15,656 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.428
2026-04-15 20:25:15,685 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:25:15,810 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs2_rateints.fits
2026-04-15 20:25:15,811 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:25:15,814 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:25:15,860 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs2_rate.fits
2026-04-15 20:25:15,861 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:25:15,861 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:25:15,896 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-jumpstep_0004.asdf
2026-04-15 20:25:15,908 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:25:15,917 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-detector1pipeline_0003.asdf
2026-04-15 20:25:15,934 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:25:15,935 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:25:15,935 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:25:15,937 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:25:15,938 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:25:15,938 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:25:15,939 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:25:15,940 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:25:15,940 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:25:15,941 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:25:15,942 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:25:15,943 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:25:15,943 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:25:15,944 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:25:15,945 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:25:15,946 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:25:15,947 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:25:15,948 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:25:15,949 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:25:15,950 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:25:15,951 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:25:16,122 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg003_nrs1_uncal.fits',).
... Stage 1 has been completed!
Applying Stage 1 Corrections & Calibrations to: jw01366003001_04101_00001-seg003_nrs1_uncal.fits
2026-04-15 20:25:16,143 - 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/NIRSPEC/BOTS/Obs003/stage1/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_calibrated_ramp: False
steps:
group_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
dq_init:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
user_supplied_dq: None
emicorr:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: joint
nints_to_phase: None
nbins: None
scale_reference: True
onthefly_corr_freq: None
use_n_cycles: 3
fit_ints_separately: False
user_supplied_reffile: None
save_intermediate_results: False
saturation:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
n_pix_grow_sat: 1
use_readpatt: True
ipc:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
superbias:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
refpix:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: 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: median
sigreject: 4.0
gaussmooth: 1.0
halfwidth: 30
rscd:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
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: ''
input_trapsfilled: ''
flag_pers_cutoff: 40.0
save_persistence: False
save_trapsfilled: True
modify_input: False
charge_migration:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
signal_threshold: 25000.0
jump:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
rejection_threshold: 4.0
three_group_rejection_threshold: 6.0
four_group_rejection_threshold: 5.0
maximum_cores: quarter
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: 3
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: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 1.5
fit_histogram: False
single_mask: True
user_mask: None
save_mask: False
save_background: False
save_noise: False
ramp_fit:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: OLS_C
int_name: ''
save_opt: False
opt_name: ''
suppress_one_group: True
firstgroup: None
lastgroup: None
maximum_cores: '1'
gain_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
2026-04-15 20:25:16,168 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg003_nrs1_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'saturation', 'sirskernel', 'superbias']
2026-04-15 20:25:16,171 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0438.fits'.
2026-04-15 20:25:16,172 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0025.fits'.
2026-04-15 20:25:16,173 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0024.fits'.
2026-04-15 20:25:16,173 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0051.fits'.
2026-04-15 20:25:16,174 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0043.fits'.
2026-04-15 20:25:16,174 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-04-15 20:25:16,175 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-04-15 20:25:16,175 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0028.fits'.
2026-04-15 20:25:16,176 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_sirskernel_0001.asdf'.
2026-04-15 20:25:16,176 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0427.fits'.
2026-04-15 20:25:16,177 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:25:17,467 - stpipe.step - INFO - Step group_scale running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:25:17,468 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:25:17,469 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:25:17,471 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:25:17,621 - stpipe.step - INFO - Step dq_init running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:25:17,624 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0051.fits
2026-04-15 20:25:17,687 - jwst.dq_init.dq_initialization - INFO - Extracting mask subarray to match science data
2026-04-15 20:25:17,925 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:25:18,082 - stpipe.step - INFO - Step saturation running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:25:18,086 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0028.fits
2026-04-15 20:25:18,087 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0427.fits
2026-04-15 20:25:18,170 - jwst.saturation.saturation - INFO - Extracting reference file subarray to match science data
2026-04-15 20:25:18,188 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:25:22,655 - stcal.saturation.saturation - INFO - Detected 678 saturated pixels
2026-04-15 20:25:22,785 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-04-15 20:25:22,798 - stpipe.step - INFO - Step saturation done
2026-04-15 20:25:22,973 - stpipe.step - INFO - Step ipc running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:25:22,974 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:23,143 - stpipe.step - INFO - Step superbias running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:25:23,146 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0427.fits
2026-04-15 20:25:23,405 - stpipe.step - INFO - Step superbias done
2026-04-15 20:25:23,575 - stpipe.step - INFO - Step refpix running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:25:23,578 - jwst.refpix.reference_pixels - INFO - NIR subarray data
2026-04-15 20:25:23,580 - jwst.refpix.reference_pixels - INFO - Single readout amplifier used
2026-04-15 20:25:23,581 - jwst.refpix.reference_pixels - INFO - The following parameter is valid for this mode:
2026-04-15 20:25:23,582 - jwst.refpix.reference_pixels - INFO - odd_even_columns = True
2026-04-15 20:25:23,582 - jwst.refpix.reference_pixels - INFO - The following parameters are not applicable and are ignored:
2026-04-15 20:25:23,583 - jwst.refpix.reference_pixels - INFO - use_side_ref_pixels = True
2026-04-15 20:25:23,583 - jwst.refpix.reference_pixels - INFO - side_smoothing_length = 11
2026-04-15 20:25:23,584 - jwst.refpix.reference_pixels - INFO - side_gain = 1.0
2026-04-15 20:25:23,584 - jwst.refpix.reference_pixels - INFO - odd_even_rows = False
2026-04-15 20:25:42,962 - stpipe.step - INFO - Step refpix done
2026-04-15 20:25:43,138 - stpipe.step - INFO - Step linearity running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:25:43,142 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0024.fits
2026-04-15 20:25:43,178 - stdatamodels.dynamicdq - WARNING - Keyword BAD_LIN_CORR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:25:45,024 - stpipe.step - INFO - Step linearity done
2026-04-15 20:25:45,181 - stpipe.step - INFO - Step dark_current running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:25:45,185 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0438.fits
2026-04-15 20:25:45,254 - stcal.dark_current.dark_sub - INFO - Science data nints=155, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:25:45,254 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:25:45,937 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:25:46,112 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:25:46,114 - stpipe.step - INFO - Step skipped.
2026-04-15 20:25:46,290 - stpipe.step - INFO - Step jump running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:25:46,291 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:25:46,292 - jwst.jump.jump_step - INFO - Maximum cores to use = quarter
2026-04-15 20:25:46,295 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0025.fits
2026-04-15 20:25:46,297 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0043.fits
2026-04-15 20:25:46,330 - jwst.jump.jump_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:25:46,344 - jwst.jump.jump_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:25:46,723 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:25:46,724 - stcal.jump.jump - INFO - Creating 2 processes for jump detection
2026-04-15 20:26:18,679 - stcal.jump.jump - INFO - Flagging Snowballs
2026-04-15 20:26:39,380 - stcal.jump.jump - INFO - Total snowballs = 9173
2026-04-15 20:26:39,380 - stcal.jump.jump - INFO - Total elapsed time = 52.6563 sec
2026-04-15 20:26:39,508 - jwst.jump.jump_step - INFO - The execution time in seconds: 53.216661
2026-04-15 20:26:39,511 - stpipe.step - INFO - Step jump done
2026-04-15 20:26:39,687 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:26:39,688 - stpipe.step - INFO - Step skipped.
2026-04-15 20:26:39,872 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:26:39,873 - stpipe.step - INFO - Step skipped.
2026-04-15 20:26:40,052 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:26:40,057 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0043.fits
2026-04-15 20:26:40,058 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0025.fits
2026-04-15 20:26:40,093 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:26:40,107 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:26:40,121 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:26:40,122 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:26:41,458 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:27:35,312 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 53.851709604263306
2026-04-15 20:27:35,446 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:27:35,631 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:27:35,632 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.429
2026-04-15 20:27:35,655 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:27:35,826 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_uncal.fits>,).
2026-04-15 20:27:35,827 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.429
2026-04-15 20:27:35,857 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:27:35,979 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs1_rateints.fits
2026-04-15 20:27:35,980 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:27:35,982 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:27:36,029 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs1_rate.fits
2026-04-15 20:27:36,029 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:27:36,030 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:27:36,064 - stpipe.step - INFO - PARS-JUMPSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-jumpstep_0004.asdf
2026-04-15 20:27:36,076 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:27:36,085 - stpipe.pipeline - INFO - PARS-DETECTOR1PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-detector1pipeline_0003.asdf
2026-04-15 20:27:36,101 - stpipe.step - INFO - Detector1Pipeline instance created.
2026-04-15 20:27:36,102 - stpipe.step - INFO - GroupScaleStep instance created.
2026-04-15 20:27:36,103 - stpipe.step - INFO - DQInitStep instance created.
2026-04-15 20:27:36,104 - stpipe.step - INFO - EmiCorrStep instance created.
2026-04-15 20:27:36,105 - stpipe.step - INFO - SaturationStep instance created.
2026-04-15 20:27:36,106 - stpipe.step - INFO - IPCStep instance created.
2026-04-15 20:27:36,106 - stpipe.step - INFO - SuperBiasStep instance created.
2026-04-15 20:27:36,107 - stpipe.step - INFO - RefPixStep instance created.
2026-04-15 20:27:36,108 - stpipe.step - INFO - RscdStep instance created.
2026-04-15 20:27:36,109 - stpipe.step - INFO - FirstFrameStep instance created.
2026-04-15 20:27:36,110 - stpipe.step - INFO - LastFrameStep instance created.
2026-04-15 20:27:36,110 - stpipe.step - INFO - LinearityStep instance created.
2026-04-15 20:27:36,111 - stpipe.step - INFO - DarkCurrentStep instance created.
2026-04-15 20:27:36,112 - stpipe.step - INFO - ResetStep instance created.
2026-04-15 20:27:36,113 - stpipe.step - INFO - PersistenceStep instance created.
2026-04-15 20:27:36,114 - stpipe.step - INFO - ChargeMigrationStep instance created.
2026-04-15 20:27:36,115 - stpipe.step - INFO - JumpStep instance created.
2026-04-15 20:27:36,116 - stpipe.step - INFO - PictureFrameStep instance created.
2026-04-15 20:27:36,117 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:27:36,118 - stpipe.step - INFO - RampFitStep instance created.
2026-04-15 20:27:36,119 - stpipe.step - INFO - GainScaleStep instance created.
2026-04-15 20:27:36,293 - stpipe.step - INFO - Step Detector1Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/uncal/jw01366003001_04101_00001-seg003_nrs2_uncal.fits',).
... Stage 1 has been completed!
Applying Stage 1 Corrections & Calibrations to: jw01366003001_04101_00001-seg003_nrs2_uncal.fits
2026-04-15 20:27:36,315 - 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/NIRSPEC/BOTS/Obs003/stage1/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_calibrated_ramp: False
steps:
group_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
dq_init:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
user_supplied_dq: None
emicorr:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: joint
nints_to_phase: None
nbins: None
scale_reference: True
onthefly_corr_freq: None
use_n_cycles: 3
fit_ints_separately: False
user_supplied_reffile: None
save_intermediate_results: False
saturation:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
n_pix_grow_sat: 1
use_readpatt: True
ipc:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
superbias:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
refpix:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: 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: median
sigreject: 4.0
gaussmooth: 1.0
halfwidth: 30
rscd:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
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: ''
input_trapsfilled: ''
flag_pers_cutoff: 40.0
save_persistence: False
save_trapsfilled: True
modify_input: False
charge_migration:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
signal_threshold: 25000.0
jump:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
rejection_threshold: 4.0
three_group_rejection_threshold: 6.0
four_group_rejection_threshold: 5.0
maximum_cores: quarter
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: 3
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: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 1.5
fit_histogram: False
single_mask: True
user_mask: None
save_mask: False
save_background: False
save_noise: False
ramp_fit:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: OLS_C
int_name: ''
save_opt: False
opt_name: ''
suppress_one_group: True
firstgroup: None
lastgroup: None
maximum_cores: '1'
gain_scale:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
2026-04-15 20:27:36,340 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg003_nrs2_uncal.fits' reftypes = ['dark', 'gain', 'linearity', 'mask', 'readnoise', 'refpix', 'reset', 'saturation', 'sirskernel', 'superbias']
2026-04-15 20:27:36,344 - stpipe.pipeline - INFO - Prefetch for DARK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0439.fits'.
2026-04-15 20:27:36,345 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0027.fits'.
2026-04-15 20:27:36,345 - stpipe.pipeline - INFO - Prefetch for LINEARITY reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0023.fits'.
2026-04-15 20:27:36,346 - stpipe.pipeline - INFO - Prefetch for MASK reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0049.fits'.
2026-04-15 20:27:36,346 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0048.fits'.
2026-04-15 20:27:36,347 - stpipe.pipeline - INFO - Prefetch for REFPIX reference file is 'N/A'.
2026-04-15 20:27:36,347 - stpipe.pipeline - INFO - Prefetch for RESET reference file is 'N/A'.
2026-04-15 20:27:36,348 - stpipe.pipeline - INFO - Prefetch for SATURATION reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0029.fits'.
2026-04-15 20:27:36,348 - stpipe.pipeline - INFO - Prefetch for SIRSKERNEL reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_sirskernel_0001.asdf'.
2026-04-15 20:27:36,349 - stpipe.pipeline - INFO - Prefetch for SUPERBIAS reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0429.fits'.
2026-04-15 20:27:36,349 - jwst.pipeline.calwebb_detector1 - INFO - Starting calwebb_detector1 ...
2026-04-15 20:27:37,610 - stpipe.step - INFO - Step group_scale running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:27:37,611 - jwst.group_scale.group_scale_step - INFO - NFRAMES and FRMDIVSR are equal; correction not needed
2026-04-15 20:27:37,612 - jwst.group_scale.group_scale_step - INFO - Step will be skipped
2026-04-15 20:27:37,614 - stpipe.step - INFO - Step group_scale done
2026-04-15 20:27:37,782 - stpipe.step - INFO - Step dq_init running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:27:37,785 - jwst.dq_init.dq_init_step - INFO - Using MASK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_mask_0049.fits
2026-04-15 20:27:37,847 - jwst.dq_init.dq_initialization - INFO - Extracting mask subarray to match science data
2026-04-15 20:27:38,080 - stpipe.step - INFO - Step dq_init done
2026-04-15 20:27:38,249 - stpipe.step - INFO - Step saturation running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:27:38,254 - jwst.saturation.saturation_step - INFO - Using SATURATION reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_saturation_0029.fits
2026-04-15 20:27:38,255 - jwst.saturation.saturation_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0429.fits
2026-04-15 20:27:38,339 - jwst.saturation.saturation - INFO - Extracting reference file subarray to match science data
2026-04-15 20:27:38,358 - jwst.saturation.saturation - INFO - Using read_pattern with nframes 1
2026-04-15 20:27:42,789 - stcal.saturation.saturation - INFO - Detected 849 saturated pixels
2026-04-15 20:27:42,919 - stcal.saturation.saturation - INFO - Detected 0 A/D floor pixels
2026-04-15 20:27:42,933 - stpipe.step - INFO - Step saturation done
2026-04-15 20:27:43,114 - stpipe.step - INFO - Step ipc running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:27:43,115 - stpipe.step - INFO - Step skipped.
2026-04-15 20:27:43,294 - stpipe.step - INFO - Step superbias running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:27:43,297 - jwst.superbias.superbias_step - INFO - Using SUPERBIAS reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_superbias_0429.fits
2026-04-15 20:27:43,562 - stpipe.step - INFO - Step superbias done
2026-04-15 20:27:43,738 - stpipe.step - INFO - Step refpix running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:27:43,741 - jwst.refpix.reference_pixels - INFO - NIR subarray data
2026-04-15 20:27:43,744 - jwst.refpix.reference_pixels - INFO - Single readout amplifier used
2026-04-15 20:27:43,744 - jwst.refpix.reference_pixels - INFO - The following parameter is valid for this mode:
2026-04-15 20:27:43,745 - jwst.refpix.reference_pixels - INFO - odd_even_columns = True
2026-04-15 20:27:43,745 - jwst.refpix.reference_pixels - INFO - The following parameters are not applicable and are ignored:
2026-04-15 20:27:43,746 - jwst.refpix.reference_pixels - INFO - use_side_ref_pixels = True
2026-04-15 20:27:43,747 - jwst.refpix.reference_pixels - INFO - side_smoothing_length = 11
2026-04-15 20:27:43,747 - jwst.refpix.reference_pixels - INFO - side_gain = 1.0
2026-04-15 20:27:43,748 - jwst.refpix.reference_pixels - INFO - odd_even_rows = False
2026-04-15 20:28:04,086 - stpipe.step - INFO - Step refpix done
2026-04-15 20:28:04,262 - stpipe.step - INFO - Step linearity running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:28:04,265 - jwst.linearity.linearity_step - INFO - Using Linearity reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_linearity_0023.fits
2026-04-15 20:28:04,301 - stdatamodels.dynamicdq - WARNING - Keyword BAD_LIN_CORR does not correspond to an existing DQ mnemonic, so will be ignored
2026-04-15 20:28:06,196 - stpipe.step - INFO - Step linearity done
2026-04-15 20:28:06,368 - stpipe.step - INFO - Step dark_current running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:28:06,371 - jwst.dark_current.dark_current_step - INFO - Using DARK reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_dark_0439.fits
2026-04-15 20:28:06,441 - stcal.dark_current.dark_sub - INFO - Science data nints=155, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:28:06,441 - stcal.dark_current.dark_sub - INFO - Dark data nints=1, ngroups=70, nframes=1, groupgap=0
2026-04-15 20:28:07,141 - stpipe.step - INFO - Step dark_current done
2026-04-15 20:28:07,323 - stpipe.step - INFO - Step charge_migration running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:28:07,324 - stpipe.step - INFO - Step skipped.
2026-04-15 20:28:07,505 - stpipe.step - INFO - Step jump running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:28:07,506 - jwst.jump.jump_step - INFO - CR rejection threshold = 4 sigma
2026-04-15 20:28:07,507 - jwst.jump.jump_step - INFO - Maximum cores to use = quarter
2026-04-15 20:28:07,510 - jwst.jump.jump_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0027.fits
2026-04-15 20:28:07,513 - jwst.jump.jump_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0048.fits
2026-04-15 20:28:07,547 - jwst.jump.jump_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:28:07,561 - jwst.jump.jump_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:28:07,940 - stcal.jump.jump - INFO - Executing two-point difference method
2026-04-15 20:28:07,941 - stcal.jump.jump - INFO - Creating 2 processes for jump detection
2026-04-15 20:28:39,503 - stcal.jump.jump - INFO - Flagging Snowballs
2026-04-15 20:28:59,988 - stcal.jump.jump - INFO - Total snowballs = 7434
2026-04-15 20:28:59,988 - stcal.jump.jump - INFO - Total elapsed time = 52.0473 sec
2026-04-15 20:29:00,115 - jwst.jump.jump_step - INFO - The execution time in seconds: 52.608465
2026-04-15 20:29:00,118 - stpipe.step - INFO - Step jump done
2026-04-15 20:29:00,295 - stpipe.step - INFO - Step picture_frame running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:29:00,296 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:00,475 - stpipe.step - INFO - Step clean_flicker_noise running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:29:00,476 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:00,652 - stpipe.step - INFO - Step ramp_fit running with args (<RampModel(155, 70, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:29:00,657 - jwst.ramp_fitting.ramp_fit_step - INFO - Using READNOISE reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0048.fits
2026-04-15 20:29:00,658 - jwst.ramp_fitting.ramp_fit_step - INFO - Using GAIN reference file: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0027.fits
2026-04-15 20:29:00,692 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting gain subarray to match science data
2026-04-15 20:29:00,706 - jwst.ramp_fitting.ramp_fit_step - INFO - Extracting readnoise subarray to match science data
2026-04-15 20:29:00,720 - jwst.ramp_fitting.ramp_fit_step - INFO - Using algorithm = OLS_C
2026-04-15 20:29:00,721 - jwst.ramp_fitting.ramp_fit_step - INFO - Using weighting = optimal
2026-04-15 20:29:02,097 - stcal.ramp_fitting.ols_fit - INFO - Number of multiprocessing slices: 1
2026-04-15 20:29:56,022 - stcal.ramp_fitting.ols_fit - INFO - Ramp Fitting C Time: 53.9226975440979
2026-04-15 20:29:56,155 - stpipe.step - INFO - Step ramp_fit done
2026-04-15 20:29:56,336 - stpipe.step - INFO - Step gain_scale running with args (<ImageModel(32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:29:56,337 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.428
2026-04-15 20:29:56,359 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:29:56,526 - stpipe.step - INFO - Step gain_scale running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_uncal.fits>,).
2026-04-15 20:29:56,527 - jwst.gain_scale.gain_scale - INFO - Rescaling by 1.428
2026-04-15 20:29:56,557 - stpipe.step - INFO - Step gain_scale done
2026-04-15 20:29:56,680 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs2_rateints.fits
2026-04-15 20:29:56,681 - jwst.pipeline.calwebb_detector1 - INFO - ... ending calwebb_detector1
2026-04-15 20:29:56,684 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:29:56,731 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs2_rate.fits
2026-04-15 20:29:56,732 - stpipe.step - INFO - Step Detector1Pipeline done
2026-04-15 20:29:56,733 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
... Stage 1 has been completed!
# Final list of RATE[INTS] files ready for Stage 2 processing.
rate_sci = sorted(glob.glob(det1_dir + '*_rateints*.fits'))
print(f"SCIENCE | RATE[INTS] Files:\n{'-' * 20}\n" + "\n".join(rate_sci))
SCIENCE | RATE[INTS] Files:
--------------------
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs1_rateints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs2_rateints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs1_rateints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs2_rateints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs1_rateints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs2_rateints.fits
# Print out the time benchmark.
time2 = time.perf_counter()
print(f"Runtime so far: {round((time2 - time0) / 60.0, 1):0.4f} min")
Runtime so far: 15.1000 min
6. Stage 2: Spec2Pipeline (calwebb_spec2)#
In this section, we process our countrate (slope) image products from Stage 1 (calwebb_detector1) through the Spec2 (calwebb_spec2) pipeline to create Stage 2 data products.
Input: A single countrate (slope) image (
_rate[ints].fits) or an association file listing multiple inputs.Output: Calibrated products (rectified and unrectified) and 1D spectra.
_cal[ints].fits: Calibrated 2D (unrectified) spectra (ncols x nrows)._x1d[ints].fits: Extracted 1D spectroscopic data (wavelength vs. flux).
The Spec2Pipeline applies additional instrumental corrections and calibrations (e.g., slit loss, path loss, etc.,) to countrate products that result in a fully calibrated individual exposure (per segment). The Spec2Pipeline also converts countrate products from units of DN/s to flux (Jy) for point sources and surface brightness (MJy/sr) for extended sources.
6.1 Configure Spec2Pipeline#
The Spec2Pipeline has the following steps available for NIRSpec BOTS:
assign_wcs: Assigns wavelength solution for spectra.badpix_selfcal: Flags bad pixels in the input data using a self-calibration technique based on median filtering along the spectral axis.clean_flicker_noise: Removes flicker (1/f) noise from the rate images (at the exposure level).extract_2d: Extracts 2D arrays from spectral images.srctype: Determines whether a spectroscopic source should be classified as a point or extended object.flat_field: Applies flat-field corrections to the input science dataset.photom: Applies photometric calibrations to convert data from countrate to surface brightness or flux density.pixel_replace: Interpolates and estimates flux values for pixels flagged as DO_NOT_USE in 2D extracted spectra.extract_1d: Extracts a 1D signal from 2D or 3D datasets.
For more information about each step and a full list of step arguments, please refer to the official documentation: JDox • ReadtheDocs
Below, we set up a dictionary that defines how the Spec2Pipeline should be configured for BOTS data.
We opt to skip the flat_field and photom steps, as they can introduce scatter in the final light curves. This scatter arises from uncertainties in the limited number of flat field frames used to generate the flat field reference file, as well as uncertainties in the throughput used for converting the extracted spectra from relative to absolute units.
# 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_wavelengthrange'] = 'myfile.asdf' # Wavelength channel mapping (ASDF file)
#spec2dict['extract_2d']['override_wavelengthrange'] = 'myfile.asdf' # Wavelength channel mapping (ASDF file)
#spec2dict['flat_field']['override_fflat'] = 'myfile.fits' # Fore optics flat field
#spec2dict['flat_field']['override_sflat'] = 'myfile.fits' # Spectrograph flat field
#spec2dict['flat_field']['override_dflat'] = 'myfile.fits' # Detector flat field
#spec2dict['photom']['override_photom'] = 'myfile.fits' # Photometric calibration array
#spec2dict['extract_1d']['override_extract1d'] = 'myfile.json' # 1D spectral extraction parameters (JSON file)
# -----------------------------Set step parameters------------------------------
# Overrides for whether or not certain steps should be skipped.
# Skip this step, because it can increase the light curve scatter.
spec2dict['flat_field']['skip'] = True
spec2dict['photom']['skip'] = True # Skip this; BOTS observations are relative.
# For Brown dwarf observation uncomment the following.
#spec2dict['flat_field']['skip'] = False
#spec2dict['photom']['skip'] = False
# Run pixel replacement code to extrapolate values for otherwise bad pixels.
# This can help mitigate 5-10% negative dips in spectra of bright sources.
# Use the 'fit_profile' algorithm. The 'mingrad' algorithm is also a good option here.
spec2dict['pixel_replace']['skip'] = False
spec2dict['pixel_replace']['n_adjacent_cols'] = 5 # remove if using mingrad
spec2dict['pixel_replace']['algorithm'] = 'fit_profile' #'mingrad'
# Run clean_flicker noise step at the exposure level
spec2dict['clean_flicker_noise']['skip'] = False
spec2dict['clean_flicker_noise']['n_sigma'] = 0.1
spec2dict['clean_flicker_noise']['save_mask'] = True
spec2dict['clean_flicker_noise']['save_results'] = True # Save the final 1/f noise product with suffix "clean_flicker_noise".
# Build a sigma-clipped mask not based on WCS.
spec2dict['clean_flicker_noise']['mask_science_regions'] = False
spec2dict['clean_flicker_noise']['save_noise'] = True # Save the 1/f noise removed with suffix "flicker_noise".
spec2dict['extract_1d']['apply_apcorr'] = False # Turn off aperture correction.
# Turn on bad pixel self-calibration, where all exposures on a given detector
# are used to find and flag bad pixels that may have been missed by the bad pixel mask.
# This step is experimental, and works best when dedicated background observations are included.
#spec2dict['badpix_selfcal']['skip'] = False
#spec2dict['badpix_selfcal']['flagfrac_upper'] = 0.005 # Fraction of pixels to flag.
For a full example of correcting 1/f noise with clean_flicker_noise in Stage 2, see the BOTS_NSClean_example demo notebook for BOTS data here.
6.2 Create Spec2Pipeline ASN Files#
Association (ASN) files define the relationships between multiple exposures, allowing them to get processed as a set rather than individually. Processing an ASN file enables the exposures to be calibrated, archived, retrieved, and reprocessed as a set rather than as individual objects.
Stage 2 ASN files for BOTS data will typically only include science (not background) asn selfacal exposure types.
This notebook creates the Stage 2 ASN files using the files created in Stage 1.
Define a function that creates a Level 2 ASN file.
def writel2asn(onescifile, allscifiles, asnfile, product_name, exp_type):
"""
Create a Level 2 association file for each science exposure.
Parameters
----------
onescifile : str
Path to the primary science exposure file.
allscifiles : list of str
List of all science exposure files.
asnfile : str
Path to write the output association file.
product_name : str
Name of the product for the association.
exp_type : str, optional
Exposure type to match against.
Returns
-------
True if the association was written successfully, and False otherwise
"""
# Define a basic association with the science file.
# Wrap in array since input was single exposure.
asn = afl.asn_from_list([onescifile], rule=Asn_Lv2SpecTSO, product_name=product_name)
program = fits.getval(onescifile, 'PROGRAM')
asn.data['program'] = program
# Grab header information from the science file.
exp_type = fits.getval(onescifile, 'EXP_TYPE')
if (exp_type == exp_type):
detector = fits.getval(onescifile, 'DETECTOR')
grating = fits.getval(onescifile, 'GRATING')
filt = fits.getval(onescifile, 'FILTER')
fxd_slit = fits.getval(onescifile, 'FXD_SLIT')
# If the exposure type does not match, fail out
# to ensure TA images don't get processed by accident.
else:
return False
# Find all files matching the input configuration and split into regular/imprint.
use_sci, _ = get_matching(allscifiles, detector, filt, grating, fxd_slit, exp_type)
# Assign selfcal exposures.
for file in use_sci:
asn['products'][0]['members'].append({'expname': file, 'exptype': 'selfcal'})
# Write the association to a json file.
_, serialized = asn.dump()
with open(asnfile, 'w') as outfile:
outfile.write(serialized)
return True
6.3 Run Spec2Pipeline#
Run the science files through the calwebb_spec2 pipeline using the .call() method.
# Run Stage 2 pipeline using the custom spec2dict dictionary.
start = time.time()
if dospec2:
# --------------------------Science ASN files--------------------------
for file in rate_sci:
try: # Create ASN files.
asnfile = os.path.join(asn_dir, os.path.basename(file).replace('rateints.fits', 'l2asn.json'))
if writel2asn(file, rate_sci, asnfile, 'Level2', 'NRS_SLIT'):
print(f"Applying Stage 2 Corrections & Calibrations to: {file}")
spec2sci_result = Spec2Pipeline.call(asnfile,
save_results=True,
steps=spec2dict,
output_dir=spec2_dir)
except Exception as e:
# A handle for when no slits fall on NRS1/2.
print(f"Skipped processing {os.path.basename(asnfile)}: {e}")
print("Stage 2 has been completed!\n")
else:
print('Skipping Spec2 processing for SCI data.')
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:29:56,859 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:29:56,873 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf 1.0 K bytes (1 / 1 files) (0 / 1.0 K bytes)
Applying Stage 2 Corrections & Calibrations to: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs1_rateints.fits
2026-04-15 20:29:56,944 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:29:56,955 - CRDS - ERROR - Error determining best reference for 'pars-targcentroidstep' = Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:29:56,966 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:29:56,975 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-spec2pipeline_0022.asdf 2.1 K bytes (1 / 1 files) (0 / 2.1 K bytes)
2026-04-15 20:29:57,028 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-spec2pipeline_0022.asdf
2026-04-15 20:29:57,052 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:29:57,053 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:29:57,054 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:29:57,055 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:29:57,056 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:29:57,057 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:29:57,058 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:29:57,059 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:29:57,063 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:29:57,064 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:29:57,065 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:29:57,066 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:29:57,067 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:29:57,067 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:29:57,068 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:29:57,070 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:29:57,071 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:29:57,071 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:29:57,072 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:29:57,073 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:29:57,074 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:29:57,074 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:29:57,075 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:29:57,076 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:29:57,077 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:29:57,078 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:29:57,078 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:29:57,080 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:29:57,081 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:29:57,082 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:29:57,083 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:29:57,085 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:29:57,254 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/asn/jw01366003001_04101_00001-seg001_nrs1_l2asn.json',).
2026-04-15 20:29:57,289 - 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/NIRSPEC/BOTS/Obs003/stage2/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_bsub: False
fail_on_exception: True
save_wfss_esec: False
steps:
assign_wcs:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
sip_approx: True
sip_max_pix_error: 0.01
sip_degree: None
sip_max_inv_pix_error: 0.01
sip_inv_degree: None
sip_npoints: 12
slit_y_low: -0.55
slit_y_high: 0.55
nrs_ifu_slice_wcs: False
badpix_selfcal:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
flagfrac_lower: 0.001
flagfrac_upper: 0.001
kernel_size: 15
force_single: False
save_flagged_bkg: False
msa_flagging:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
autoparam: False
fit_method: median
fit_by_channel: False
background_method: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 0.1
fit_histogram: False
single_mask: True
user_mask: None
save_mask: True
save_background: False
save_noise: True
bkg_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
bkg_list: None
save_combined_background: False
sigma: 3.0
maxiters: None
soss_source_percentile: 35.0
soss_bkg_percentile: None
wfss_mmag_extract: None
wfss_mask: None
wfss_maxiter: 5
wfss_rms_stop: 0.0
wfss_outlier_percent: 1.0
imprint_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
extract_2d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
slit_names: None
source_ids: None
source_ra: None
source_dec: None
source_max_sep: 2.0
extract_orders: None
grism_objects: None
tsgrism_extract_height: None
wfss_extract_half_height: 5
wfss_mmag_extract: None
wfss_nbright: 1000
master_background_mos:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
sigma_clip: 3.0
median_kernel: 1
force_subtract: False
save_background: False
user_background: None
inverse: False
steps:
flat_field:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_interpolated_flat: False
user_supplied_flat: None
inverse: False
pathloss:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
user_slit_loc: None
barshadow:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
apply_time_correction: True
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 3
resample_spec:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: True
extraction_type: box
use_source_posn: None
position_offset: 0.0
model_nod_pair: True
optimize_psf_location: True
smoothing_length: None
bkg_fit: None
bkg_order: None
log_increment: 50
save_profile: False
save_scene_model: False
save_residual_image: False
center_xy: None
ifu_autocen: 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: True
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: True
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: True
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: True
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
wfss_contam:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
save_simulated_image: False
save_contam_images: False
maximum_cores: '1'
orders: None
magnitude_limit: None
wl_oversample: 2
max_pixels_per_chunk: 5000
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 5
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: True
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
cube_build:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: s3d
search_output_file: False
input_dir: ''
pipeline: 3
channel: all
band: all
grating: all
filter: all
output_type: None
linear_wave: True
scalexy: 0.0
scalew: 0.0
weighting: drizzle
coord_system: skyalign
ra_center: None
dec_center: None
cube_pa: None
nspax_x: None
nspax_y: None
rois: 0.0
roiw: 0.0
weight_power: 2.0
wavemin: None
wavemax: None
single: False
skip_dqflagging: False
offset_file: None
debug_spaxel: -1 -1 -1
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: False
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-04-15 20:29:57,346 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg001_nrs1_l2asn.json' reftypes = ['apcorr', 'camera', 'collimator', 'disperser', 'distortion', 'extract1d', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'pastasoss', 'psf', 'regions', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:29:57,349 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits 8.1 M bytes (1 / 11 files) (0 / 13.2 M bytes)
2026-04-15 20:29:57,646 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf 5.8 K bytes (2 / 11 files) (8.1 M / 13.2 M bytes)
2026-04-15 20:29:57,724 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf 5.9 K bytes (3 / 11 files) (8.1 M / 13.2 M bytes)
2026-04-15 20:29:57,784 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf 2.4 K bytes (4 / 11 files) (8.1 M / 13.2 M bytes)
2026-04-15 20:29:57,842 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json 827 bytes (5 / 11 files) (8.1 M / 13.2 M bytes)
2026-04-15 20:29:57,895 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf 12.8 K bytes (6 / 11 files) (8.1 M / 13.2 M bytes)
2026-04-15 20:29:57,953 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf 4.3 K bytes (7 / 11 files) (8.1 M / 13.2 M bytes)
2026-04-15 20:29:58,009 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf 5.0 M bytes (8 / 11 files) (8.2 M / 13.2 M bytes)
2026-04-15 20:29:58,186 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf 7.6 K bytes (9 / 11 files) (13.2 M / 13.2 M bytes)
2026-04-15 20:29:58,238 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf 76.9 K bytes (10 / 11 files) (13.2 M / 13.2 M bytes)
2026-04-15 20:29:58,305 - CRDS - INFO - Fetching /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf 3.4 K bytes (11 / 11 files) (13.2 M / 13.2 M bytes)
2026-04-15 20:29:58,347 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits'.
2026-04-15 20:29:58,348 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf'.
2026-04-15 20:29:58,348 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf'.
2026-04-15 20:29:58,349 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf'.
2026-04-15 20:29:58,350 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is 'N/A'.
2026-04-15 20:29:58,350 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json'.
2026-04-15 20:29:58,351 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:29:58,351 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is 'N/A'.
2026-04-15 20:29:58,351 - stpipe.pipeline - INFO - Prefetch for FORE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf'.
2026-04-15 20:29:58,353 - stpipe.pipeline - INFO - Prefetch for FPA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf'.
2026-04-15 20:29:58,353 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-04-15 20:29:58,354 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:29:58,354 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:29:58,355 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:29:58,355 - stpipe.pipeline - INFO - Prefetch for MSA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf'.
2026-04-15 20:29:58,356 - stpipe.pipeline - INFO - Prefetch for OTE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf'.
2026-04-15 20:29:58,357 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 20:29:58,357 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 20:29:58,358 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-04-15 20:29:58,358 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 20:29:58,359 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 20:29:58,359 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-04-15 20:29:58,360 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf'.
2026-04-15 20:29:58,361 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf'.
2026-04-15 20:29:58,361 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:29:58,369 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs1
2026-04-15 20:29:58,370 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs1_rateints.fits ...
2026-04-15 20:29:58,637 - stpipe.step - INFO - Step assign_wcs running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_rateints.fits>,).
2026-04-15 20:29:58,694 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:29:58,695 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:29:58,696 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:29:58,697 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:29:58,852 - jwst.assign_wcs.nirspec - INFO - Slits projected on detector NRS1: ['S1600A1']
2026-04-15 20:29:58,853 - jwst.assign_wcs.nirspec - INFO - Computing WCS for 1 open slitlets
2026-04-15 20:29:58,876 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:29:58,877 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:29:58,878 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:29:58,879 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:29:58,889 - jwst.assign_wcs.nirspec - INFO - SPORDER= -1, wrange=[2.87e-06, 5.27e-06]
2026-04-15 20:29:58,980 - jwst.assign_wcs.nirspec - INFO - Applied Barycentric velocity correction : 0.9999036490550833
2026-04-15 20:29:59,006 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 1
2026-04-15 20:29:59,007 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 2
2026-04-15 20:29:59,007 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 3
2026-04-15 20:29:59,008 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 4
2026-04-15 20:29:59,009 - jwst.assign_wcs.nirspec - INFO - There are 1 open slits in quadrant 5
2026-04-15 20:29:59,134 - jwst.assign_wcs.nirspec - INFO - Created a NIRSPEC nrs_brightobj pipeline with references {'distortion': None, 'filteroffset': None, 'specwcs': None, 'regions': None, 'wavelengthrange': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf', 'camera': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf', 'collimator': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf', 'disperser': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf', 'fore': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf', 'fpa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf', 'msa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf', 'ote': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf', 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:29:59,265 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:29:59,270 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:29:59,438 - stpipe.step - INFO - Step badpix_selfcal running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_rateints.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs1_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs1_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs1_rateints.fits'], []).
2026-04-15 20:29:59,440 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:59,594 - stpipe.step - INFO - Step msa_flagging running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_rateints.fits>,).
2026-04-15 20:29:59,595 - stpipe.step - INFO - Step skipped.
2026-04-15 20:29:59,749 - stpipe.step - INFO - Step clean_flicker_noise running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_rateints.fits>,).
2026-04-15 20:29:59,751 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Input exposure type is NRS_BRIGHTOBJ, detector=NRS1
2026-04-15 20:29:59,751 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Creating mask
2026-04-15 20:30:00,654 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Data has multiple integrations, but mask is 2D: the same mask will be used for all integrations.
2026-04-15 20:30:00,660 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Cleaning image jw01366003001_04101_00001-seg001_nrs1_rateints.fits
2026-04-15 20:30:01,038 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving mask file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_mask.fits
2026-04-15 20:30:01,081 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving noise file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_flicker_noise.fits
2026-04-15 20:30:01,376 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits
2026-04-15 20:30:01,377 - stpipe.step - INFO - Step clean_flicker_noise done
2026-04-15 20:30:01,551 - stpipe.step - INFO - Step imprint_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits>, []).
2026-04-15 20:30:01,552 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:01,734 - stpipe.step - INFO - Step bkg_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits>, []).
2026-04-15 20:30:01,736 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:01,922 - stpipe.step - INFO - Step extract_2d running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:30:01,924 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:30:01,970 - jwst.extract_2d.nirspec - INFO - Name of subarray extracted: S1600A1
2026-04-15 20:30:01,971 - jwst.extract_2d.nirspec - INFO - Subarray x-extents are: 776 2048
2026-04-15 20:30:01,972 - jwst.extract_2d.nirspec - INFO - Subarray y-extents are: 0 28
2026-04-15 20:30:02,241 - jwst.extract_2d.nirspec - INFO - set slit_attributes completed
2026-04-15 20:30:02,242 - jwst.extract_2d.nirspec - INFO - xoffset, yoffset, 6.03933060849859e-13, -6.0457443092806e-13
2026-04-15 20:30:02,249 - jwst.extract_2d.nirspec - INFO - Source X/Y position in the slit: -0.011585206334862467, -0.03203498317654359
2026-04-15 20:30:02,255 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:30:02,257 - jwst.extract_2d.nirspec - INFO - extract_2d updated S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:30:02,260 - stpipe.step - INFO - Step extract_2d done
2026-04-15 20:30:02,448 - stpipe.step - INFO - Step srctype running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:30:02,449 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:30:02,450 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:30:02,450 - jwst.srctype.srctype - INFO - Input is a TSO exposure; setting SRCTYPE = POINT
2026-04-15 20:30:02,453 - stpipe.step - INFO - Step srctype done
2026-04-15 20:30:02,634 - stpipe.step - INFO - Step master_background_mos running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:30:02,635 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:02,636 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:30:02,817 - stpipe.step - INFO - Step wavecorr running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:30:02,862 - jwst.wavecorr.wavecorr_step - INFO - Using WAVECORR reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf
2026-04-15 20:30:02,863 - jwst.wavecorr.wavecorr - INFO - Detected a POINT source type in slit S1600A1
2026-04-15 20:30:02,946 - jwst.wavecorr.wavecorr - INFO - Using wavelength zero-point correction for aperture S1600A1
2026-04-15 20:30:02,984 - stpipe.step - INFO - Step wavecorr done
2026-04-15 20:30:03,173 - stpipe.step - INFO - Step flat_field running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:30:03,174 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:03,362 - stpipe.step - INFO - Step pathloss running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:30:03,363 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:03,539 - stpipe.step - INFO - Step barshadow running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:30:03,540 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:03,726 - stpipe.step - INFO - Step photom running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:30:03,727 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:04,033 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 28, 1272) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_calints.fits>,).
2026-04-15 20:30:04,282 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 175 pixels replaced.
2026-04-15 20:30:04,529 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 175 pixels replaced.
2026-04-15 20:30:04,774 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 175 pixels replaced.
2026-04-15 20:30:05,020 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 175 pixels replaced.
2026-04-15 20:30:05,266 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 175 pixels replaced.
2026-04-15 20:30:05,514 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 175 pixels replaced.
2026-04-15 20:30:05,757 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 175 pixels replaced.
2026-04-15 20:30:06,002 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 175 pixels replaced.
2026-04-15 20:30:06,251 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 175 pixels replaced.
2026-04-15 20:30:06,496 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 175 pixels replaced.
2026-04-15 20:30:06,743 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 175 pixels replaced.
2026-04-15 20:30:06,988 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 175 pixels replaced.
2026-04-15 20:30:07,234 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 175 pixels replaced.
2026-04-15 20:30:07,481 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 175 pixels replaced.
2026-04-15 20:30:07,725 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 175 pixels replaced.
2026-04-15 20:30:07,970 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 175 pixels replaced.
2026-04-15 20:30:08,215 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 175 pixels replaced.
2026-04-15 20:30:08,461 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 175 pixels replaced.
2026-04-15 20:30:08,704 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 175 pixels replaced.
2026-04-15 20:30:08,946 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 175 pixels replaced.
2026-04-15 20:30:09,191 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 175 pixels replaced.
2026-04-15 20:30:09,439 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 175 pixels replaced.
2026-04-15 20:30:09,684 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 175 pixels replaced.
2026-04-15 20:30:09,928 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 175 pixels replaced.
2026-04-15 20:30:10,174 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 175 pixels replaced.
2026-04-15 20:30:10,420 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 175 pixels replaced.
2026-04-15 20:30:10,666 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 175 pixels replaced.
2026-04-15 20:30:10,910 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 175 pixels replaced.
2026-04-15 20:30:11,155 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 175 pixels replaced.
2026-04-15 20:30:11,401 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 175 pixels replaced.
2026-04-15 20:30:11,648 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 175 pixels replaced.
2026-04-15 20:30:11,893 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 175 pixels replaced.
2026-04-15 20:30:12,139 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 175 pixels replaced.
2026-04-15 20:30:12,386 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 175 pixels replaced.
2026-04-15 20:30:12,632 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 175 pixels replaced.
2026-04-15 20:30:12,876 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 175 pixels replaced.
2026-04-15 20:30:13,124 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 175 pixels replaced.
2026-04-15 20:30:13,371 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 175 pixels replaced.
2026-04-15 20:30:13,620 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 181 pixels replaced.
2026-04-15 20:30:13,866 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 175 pixels replaced.
2026-04-15 20:30:14,110 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 175 pixels replaced.
2026-04-15 20:30:14,365 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 210 pixels replaced.
2026-04-15 20:30:14,610 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 175 pixels replaced.
2026-04-15 20:30:14,864 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 188 pixels replaced.
2026-04-15 20:30:15,110 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 175 pixels replaced.
2026-04-15 20:30:15,355 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 175 pixels replaced.
2026-04-15 20:30:15,598 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 175 pixels replaced.
2026-04-15 20:30:15,844 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 175 pixels replaced.
2026-04-15 20:30:16,088 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 175 pixels replaced.
2026-04-15 20:30:16,333 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 175 pixels replaced.
2026-04-15 20:30:16,578 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 175 pixels replaced.
2026-04-15 20:30:16,826 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 175 pixels replaced.
2026-04-15 20:30:17,070 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 175 pixels replaced.
2026-04-15 20:30:17,313 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 175 pixels replaced.
2026-04-15 20:30:17,560 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 175 pixels replaced.
2026-04-15 20:30:17,803 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 175 pixels replaced.
2026-04-15 20:30:18,047 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 175 pixels replaced.
2026-04-15 20:30:18,290 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 175 pixels replaced.
2026-04-15 20:30:18,534 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 175 pixels replaced.
2026-04-15 20:30:18,780 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 175 pixels replaced.
2026-04-15 20:30:19,024 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 175 pixels replaced.
2026-04-15 20:30:19,269 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 175 pixels replaced.
2026-04-15 20:30:19,517 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 175 pixels replaced.
2026-04-15 20:30:19,762 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 175 pixels replaced.
2026-04-15 20:30:20,007 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 175 pixels replaced.
2026-04-15 20:30:20,254 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 175 pixels replaced.
2026-04-15 20:30:20,498 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 175 pixels replaced.
2026-04-15 20:30:20,743 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 175 pixels replaced.
2026-04-15 20:30:20,988 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 175 pixels replaced.
2026-04-15 20:30:21,230 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 175 pixels replaced.
2026-04-15 20:30:21,473 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 175 pixels replaced.
2026-04-15 20:30:21,718 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 175 pixels replaced.
2026-04-15 20:30:21,966 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 175 pixels replaced.
2026-04-15 20:30:22,212 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 175 pixels replaced.
2026-04-15 20:30:22,458 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 175 pixels replaced.
2026-04-15 20:30:22,706 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 175 pixels replaced.
2026-04-15 20:30:22,951 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 175 pixels replaced.
2026-04-15 20:30:23,196 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 175 pixels replaced.
2026-04-15 20:30:23,442 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 175 pixels replaced.
2026-04-15 20:30:23,686 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 175 pixels replaced.
2026-04-15 20:30:23,930 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 175 pixels replaced.
2026-04-15 20:30:24,173 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 175 pixels replaced.
2026-04-15 20:30:24,419 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 175 pixels replaced.
2026-04-15 20:30:24,664 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 175 pixels replaced.
2026-04-15 20:30:24,910 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 175 pixels replaced.
2026-04-15 20:30:25,155 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 175 pixels replaced.
2026-04-15 20:30:25,400 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 175 pixels replaced.
2026-04-15 20:30:25,646 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 175 pixels replaced.
2026-04-15 20:30:25,892 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 175 pixels replaced.
2026-04-15 20:30:26,138 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 175 pixels replaced.
2026-04-15 20:30:26,382 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 175 pixels replaced.
2026-04-15 20:30:26,627 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 175 pixels replaced.
2026-04-15 20:30:26,873 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 175 pixels replaced.
2026-04-15 20:30:27,118 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 175 pixels replaced.
2026-04-15 20:30:27,363 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 175 pixels replaced.
2026-04-15 20:30:27,606 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 175 pixels replaced.
2026-04-15 20:30:27,850 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 175 pixels replaced.
2026-04-15 20:30:28,093 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 175 pixels replaced.
2026-04-15 20:30:28,339 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 175 pixels replaced.
2026-04-15 20:30:28,585 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 175 pixels replaced.
2026-04-15 20:30:28,829 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 175 pixels replaced.
2026-04-15 20:30:29,074 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 175 pixels replaced.
2026-04-15 20:30:29,325 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 217 pixels replaced.
2026-04-15 20:30:29,570 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 175 pixels replaced.
2026-04-15 20:30:29,814 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 175 pixels replaced.
2026-04-15 20:30:30,058 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 175 pixels replaced.
2026-04-15 20:30:30,301 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 175 pixels replaced.
2026-04-15 20:30:30,544 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 175 pixels replaced.
2026-04-15 20:30:30,789 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 175 pixels replaced.
2026-04-15 20:30:31,033 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 175 pixels replaced.
2026-04-15 20:30:31,276 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 175 pixels replaced.
2026-04-15 20:30:31,520 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 175 pixels replaced.
2026-04-15 20:30:31,762 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 175 pixels replaced.
2026-04-15 20:30:32,005 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 175 pixels replaced.
2026-04-15 20:30:32,248 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 175 pixels replaced.
2026-04-15 20:30:32,500 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 184 pixels replaced.
2026-04-15 20:30:32,743 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 175 pixels replaced.
2026-04-15 20:30:32,994 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 199 pixels replaced.
2026-04-15 20:30:33,237 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 175 pixels replaced.
2026-04-15 20:30:33,480 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 175 pixels replaced.
2026-04-15 20:30:33,723 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 175 pixels replaced.
2026-04-15 20:30:33,967 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 175 pixels replaced.
2026-04-15 20:30:34,210 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 175 pixels replaced.
2026-04-15 20:30:34,453 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 175 pixels replaced.
2026-04-15 20:30:34,697 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 175 pixels replaced.
2026-04-15 20:30:34,943 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 175 pixels replaced.
2026-04-15 20:30:35,190 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 175 pixels replaced.
2026-04-15 20:30:35,434 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 175 pixels replaced.
2026-04-15 20:30:35,676 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 175 pixels replaced.
2026-04-15 20:30:35,922 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 175 pixels replaced.
2026-04-15 20:30:36,175 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 194 pixels replaced.
2026-04-15 20:30:36,421 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 175 pixels replaced.
2026-04-15 20:30:36,668 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 175 pixels replaced.
2026-04-15 20:30:36,912 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 175 pixels replaced.
2026-04-15 20:30:37,158 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 175 pixels replaced.
2026-04-15 20:30:37,406 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 175 pixels replaced.
2026-04-15 20:30:37,654 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 175 pixels replaced.
2026-04-15 20:30:37,900 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 175 pixels replaced.
2026-04-15 20:30:38,142 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 175 pixels replaced.
2026-04-15 20:30:38,386 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 175 pixels replaced.
2026-04-15 20:30:38,629 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 175 pixels replaced.
2026-04-15 20:30:38,872 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 175 pixels replaced.
2026-04-15 20:30:39,115 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 175 pixels replaced.
2026-04-15 20:30:39,358 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 175 pixels replaced.
2026-04-15 20:30:39,601 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 175 pixels replaced.
2026-04-15 20:30:39,847 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 175 pixels replaced.
2026-04-15 20:30:40,090 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 175 pixels replaced.
2026-04-15 20:30:40,335 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 175 pixels replaced.
2026-04-15 20:30:40,578 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 175 pixels replaced.
2026-04-15 20:30:40,821 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 175 pixels replaced.
2026-04-15 20:30:41,065 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 175 pixels replaced.
2026-04-15 20:30:41,312 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 175 pixels replaced.
2026-04-15 20:30:41,559 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 175 pixels replaced.
2026-04-15 20:30:41,807 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 175 pixels replaced.
2026-04-15 20:30:42,051 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 175 pixels replaced.
2026-04-15 20:30:42,056 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:30:42,362 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 28, 1272) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_calints.fits>,).
2026-04-15 20:30:42,438 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:30:42,481 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:30:42,500 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:30:42,501 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:30:42,517 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:30:42,537 - jwst.extract_1d.extract - INFO - Computed source location is 13.55, at pixel 636, wavelength 3.29
2026-04-15 20:30:42,539 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 10.50 -> 16.50 (inclusive)
2026-04-15 20:30:42,540 - jwst.extract_1d.extract - INFO - Nominal location is 13.50, so offset is 0.05 pixels
2026-04-15 20:30:42,541 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 11.09 -> 17.09 (inclusive)
2026-04-15 20:30:42,556 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:30:44,450 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:30:46,346 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:30:48,546 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:30:48,744 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:30:49,035 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_x1dints.fits
2026-04-15 20:30:49,036 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:30:49,037 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs1
2026-04-15 20:30:49,040 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:30:49,041 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:30:49,267 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_calints.fits
2026-04-15 20:30:49,268 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:30:49,269 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:30:49,360 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:30:49,374 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:30:49,384 - CRDS - ERROR - Error determining best reference for 'pars-targcentroidstep' = Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:30:49,395 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:30:49,405 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-spec2pipeline_0022.asdf
2026-04-15 20:30:49,429 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:30:49,431 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:30:49,431 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:30:49,432 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:30:49,433 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:30:49,434 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:30:49,436 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:30:49,437 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:30:49,441 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:30:49,442 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:30:49,443 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:30:49,443 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:30:49,444 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:30:49,445 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:30:49,446 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:30:49,447 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:30:49,448 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:30:49,450 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:30:49,451 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:30:49,451 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:30:49,452 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:30:49,453 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:30:49,454 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:30:49,455 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:30:49,455 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:30:49,456 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:30:49,457 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:30:49,458 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:30:49,460 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:30:49,461 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:30:49,462 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:30:49,464 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:30:49,711 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/asn/jw01366003001_04101_00001-seg001_nrs2_l2asn.json',).
Applying Stage 2 Corrections & Calibrations to: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs2_rateints.fits
2026-04-15 20:30:49,747 - 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/NIRSPEC/BOTS/Obs003/stage2/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_bsub: False
fail_on_exception: True
save_wfss_esec: False
steps:
assign_wcs:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
sip_approx: True
sip_max_pix_error: 0.01
sip_degree: None
sip_max_inv_pix_error: 0.01
sip_inv_degree: None
sip_npoints: 12
slit_y_low: -0.55
slit_y_high: 0.55
nrs_ifu_slice_wcs: False
badpix_selfcal:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
flagfrac_lower: 0.001
flagfrac_upper: 0.001
kernel_size: 15
force_single: False
save_flagged_bkg: False
msa_flagging:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
autoparam: False
fit_method: median
fit_by_channel: False
background_method: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 0.1
fit_histogram: False
single_mask: True
user_mask: None
save_mask: True
save_background: False
save_noise: True
bkg_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
bkg_list: None
save_combined_background: False
sigma: 3.0
maxiters: None
soss_source_percentile: 35.0
soss_bkg_percentile: None
wfss_mmag_extract: None
wfss_mask: None
wfss_maxiter: 5
wfss_rms_stop: 0.0
wfss_outlier_percent: 1.0
imprint_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
extract_2d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
slit_names: None
source_ids: None
source_ra: None
source_dec: None
source_max_sep: 2.0
extract_orders: None
grism_objects: None
tsgrism_extract_height: None
wfss_extract_half_height: 5
wfss_mmag_extract: None
wfss_nbright: 1000
master_background_mos:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
sigma_clip: 3.0
median_kernel: 1
force_subtract: False
save_background: False
user_background: None
inverse: False
steps:
flat_field:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_interpolated_flat: False
user_supplied_flat: None
inverse: False
pathloss:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
user_slit_loc: None
barshadow:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
apply_time_correction: True
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 3
resample_spec:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: True
extraction_type: box
use_source_posn: None
position_offset: 0.0
model_nod_pair: True
optimize_psf_location: True
smoothing_length: None
bkg_fit: None
bkg_order: None
log_increment: 50
save_profile: False
save_scene_model: False
save_residual_image: False
center_xy: None
ifu_autocen: 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: True
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: True
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: True
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: True
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
wfss_contam:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
save_simulated_image: False
save_contam_images: False
maximum_cores: '1'
orders: None
magnitude_limit: None
wl_oversample: 2
max_pixels_per_chunk: 5000
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 5
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: True
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
cube_build:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: s3d
search_output_file: False
input_dir: ''
pipeline: 3
channel: all
band: all
grating: all
filter: all
output_type: None
linear_wave: True
scalexy: 0.0
scalew: 0.0
weighting: drizzle
coord_system: skyalign
ra_center: None
dec_center: None
cube_pa: None
nspax_x: None
nspax_y: None
rois: 0.0
roiw: 0.0
weight_power: 2.0
wavemin: None
wavemax: None
single: False
skip_dqflagging: False
offset_file: None
debug_spaxel: -1 -1 -1
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: False
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-04-15 20:30:49,807 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg001_nrs2_l2asn.json' reftypes = ['apcorr', 'camera', 'collimator', 'disperser', 'distortion', 'extract1d', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'pastasoss', 'psf', 'regions', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:30:49,811 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits'.
2026-04-15 20:30:49,812 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf'.
2026-04-15 20:30:49,812 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf'.
2026-04-15 20:30:49,813 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf'.
2026-04-15 20:30:49,813 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is 'N/A'.
2026-04-15 20:30:49,814 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json'.
2026-04-15 20:30:49,814 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:30:49,815 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is 'N/A'.
2026-04-15 20:30:49,815 - stpipe.pipeline - INFO - Prefetch for FORE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf'.
2026-04-15 20:30:49,816 - stpipe.pipeline - INFO - Prefetch for FPA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf'.
2026-04-15 20:30:49,817 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-04-15 20:30:49,817 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:30:49,818 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:30:49,818 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:30:49,820 - stpipe.pipeline - INFO - Prefetch for MSA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf'.
2026-04-15 20:30:49,820 - stpipe.pipeline - INFO - Prefetch for OTE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf'.
2026-04-15 20:30:49,821 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 20:30:49,821 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 20:30:49,822 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-04-15 20:30:49,823 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 20:30:49,823 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 20:30:49,824 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-04-15 20:30:49,825 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf'.
2026-04-15 20:30:49,825 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf'.
2026-04-15 20:30:49,826 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:30:49,833 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs2
2026-04-15 20:30:49,833 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs2_rateints.fits ...
2026-04-15 20:30:50,123 - stpipe.step - INFO - Step assign_wcs running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_rateints.fits>,).
2026-04-15 20:30:50,171 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:30:50,172 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:30:50,173 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:30:50,174 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:30:50,323 - jwst.assign_wcs.nirspec - INFO - Slits projected on detector NRS2: ['S1600A1']
2026-04-15 20:30:50,324 - jwst.assign_wcs.nirspec - INFO - Computing WCS for 1 open slitlets
2026-04-15 20:30:50,347 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:30:50,348 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:30:50,349 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:30:50,350 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:30:50,361 - jwst.assign_wcs.nirspec - INFO - SPORDER= -1, wrange=[2.87e-06, 5.27e-06]
2026-04-15 20:30:50,453 - jwst.assign_wcs.nirspec - INFO - Applied Barycentric velocity correction : 0.9999036490550833
2026-04-15 20:30:50,479 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 1
2026-04-15 20:30:50,480 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 2
2026-04-15 20:30:50,481 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 3
2026-04-15 20:30:50,482 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 4
2026-04-15 20:30:50,482 - jwst.assign_wcs.nirspec - INFO - There are 1 open slits in quadrant 5
2026-04-15 20:30:50,610 - jwst.assign_wcs.nirspec - INFO - Created a NIRSPEC nrs_brightobj pipeline with references {'distortion': None, 'filteroffset': None, 'specwcs': None, 'regions': None, 'wavelengthrange': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf', 'camera': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf', 'collimator': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf', 'disperser': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf', 'fore': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf', 'fpa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf', 'msa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf', 'ote': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf', 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:30:50,745 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:30:50,751 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:30:50,953 - stpipe.step - INFO - Step badpix_selfcal running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_rateints.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs2_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs2_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs2_rateints.fits'], []).
2026-04-15 20:30:50,955 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:51,146 - stpipe.step - INFO - Step msa_flagging running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_rateints.fits>,).
2026-04-15 20:30:51,148 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:51,341 - stpipe.step - INFO - Step clean_flicker_noise running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_rateints.fits>,).
2026-04-15 20:30:51,342 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Input exposure type is NRS_BRIGHTOBJ, detector=NRS2
2026-04-15 20:30:51,343 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Creating mask
2026-04-15 20:30:52,225 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Data has multiple integrations, but mask is 2D: the same mask will be used for all integrations.
2026-04-15 20:30:52,230 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Cleaning image jw01366003001_04101_00001-seg001_nrs2_rateints.fits
2026-04-15 20:30:52,600 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving mask file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_mask.fits
2026-04-15 20:30:52,645 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving noise file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_flicker_noise.fits
2026-04-15 20:30:52,947 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits
2026-04-15 20:30:52,948 - stpipe.step - INFO - Step clean_flicker_noise done
2026-04-15 20:30:53,146 - stpipe.step - INFO - Step imprint_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits>, []).
2026-04-15 20:30:53,147 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:53,351 - stpipe.step - INFO - Step bkg_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits>, []).
2026-04-15 20:30:53,352 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:53,549 - stpipe.step - INFO - Step extract_2d running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:30:53,550 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:30:53,596 - jwst.extract_2d.nirspec - INFO - Name of subarray extracted: S1600A1
2026-04-15 20:30:53,597 - jwst.extract_2d.nirspec - INFO - Subarray x-extents are: 0 2048
2026-04-15 20:30:53,597 - jwst.extract_2d.nirspec - INFO - Subarray y-extents are: 0 35
2026-04-15 20:30:53,876 - jwst.extract_2d.nirspec - INFO - set slit_attributes completed
2026-04-15 20:30:53,878 - jwst.extract_2d.nirspec - INFO - xoffset, yoffset, 6.03933060849859e-13, -6.0457443092806e-13
2026-04-15 20:30:53,884 - jwst.extract_2d.nirspec - INFO - Source X/Y position in the slit: -0.011585206334862467, -0.03203498317654359
2026-04-15 20:30:53,890 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:30:53,892 - jwst.extract_2d.nirspec - INFO - extract_2d updated S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:30:53,894 - stpipe.step - INFO - Step extract_2d done
2026-04-15 20:30:54,084 - stpipe.step - INFO - Step srctype running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:30:54,085 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:30:54,086 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:30:54,087 - jwst.srctype.srctype - INFO - Input is a TSO exposure; setting SRCTYPE = POINT
2026-04-15 20:30:54,089 - stpipe.step - INFO - Step srctype done
2026-04-15 20:30:54,284 - stpipe.step - INFO - Step master_background_mos running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:30:54,285 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:54,286 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:30:54,479 - stpipe.step - INFO - Step wavecorr running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:30:54,482 - jwst.wavecorr.wavecorr_step - INFO - Using WAVECORR reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf
2026-04-15 20:30:54,483 - jwst.wavecorr.wavecorr - INFO - Detected a POINT source type in slit S1600A1
2026-04-15 20:30:54,586 - jwst.wavecorr.wavecorr - INFO - Using wavelength zero-point correction for aperture S1600A1
2026-04-15 20:30:54,636 - stpipe.step - INFO - Step wavecorr done
2026-04-15 20:30:54,834 - stpipe.step - INFO - Step flat_field running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:30:54,835 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:55,028 - stpipe.step - INFO - Step pathloss running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:30:55,029 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:55,224 - stpipe.step - INFO - Step barshadow running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:30:55,225 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:55,416 - stpipe.step - INFO - Step photom running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:30:55,417 - stpipe.step - INFO - Step skipped.
2026-04-15 20:30:55,742 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 32, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_calints.fits>,).
2026-04-15 20:30:56,086 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 337 pixels replaced.
2026-04-15 20:30:56,434 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 337 pixels replaced.
2026-04-15 20:30:56,781 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 337 pixels replaced.
2026-04-15 20:30:57,129 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 337 pixels replaced.
2026-04-15 20:30:57,486 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 362 pixels replaced.
2026-04-15 20:30:57,833 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 337 pixels replaced.
2026-04-15 20:30:58,182 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 337 pixels replaced.
2026-04-15 20:30:58,532 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 337 pixels replaced.
2026-04-15 20:30:58,883 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 337 pixels replaced.
2026-04-15 20:30:59,231 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 337 pixels replaced.
2026-04-15 20:30:59,578 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 337 pixels replaced.
2026-04-15 20:30:59,925 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 337 pixels replaced.
2026-04-15 20:31:00,271 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 337 pixels replaced.
2026-04-15 20:31:00,618 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 337 pixels replaced.
2026-04-15 20:31:00,969 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 346 pixels replaced.
2026-04-15 20:31:01,317 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 337 pixels replaced.
2026-04-15 20:31:01,669 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 345 pixels replaced.
2026-04-15 20:31:02,017 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 337 pixels replaced.
2026-04-15 20:31:02,365 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 337 pixels replaced.
2026-04-15 20:31:02,712 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 337 pixels replaced.
2026-04-15 20:31:03,059 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 337 pixels replaced.
2026-04-15 20:31:03,407 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 337 pixels replaced.
2026-04-15 20:31:03,754 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 337 pixels replaced.
2026-04-15 20:31:04,106 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 337 pixels replaced.
2026-04-15 20:31:04,451 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 337 pixels replaced.
2026-04-15 20:31:04,794 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 337 pixels replaced.
2026-04-15 20:31:05,141 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 337 pixels replaced.
2026-04-15 20:31:05,486 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 337 pixels replaced.
2026-04-15 20:31:05,836 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 346 pixels replaced.
2026-04-15 20:31:06,181 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 337 pixels replaced.
2026-04-15 20:31:06,529 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 337 pixels replaced.
2026-04-15 20:31:06,875 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 337 pixels replaced.
2026-04-15 20:31:07,219 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 337 pixels replaced.
2026-04-15 20:31:07,566 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 337 pixels replaced.
2026-04-15 20:31:07,910 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 337 pixels replaced.
2026-04-15 20:31:08,254 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 337 pixels replaced.
2026-04-15 20:31:08,599 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 337 pixels replaced.
2026-04-15 20:31:08,944 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 337 pixels replaced.
2026-04-15 20:31:09,294 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 337 pixels replaced.
2026-04-15 20:31:09,639 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 337 pixels replaced.
2026-04-15 20:31:09,983 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 337 pixels replaced.
2026-04-15 20:31:10,329 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 337 pixels replaced.
2026-04-15 20:31:10,675 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 337 pixels replaced.
2026-04-15 20:31:11,030 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 337 pixels replaced.
2026-04-15 20:31:11,379 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 337 pixels replaced.
2026-04-15 20:31:11,729 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 337 pixels replaced.
2026-04-15 20:31:12,082 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 346 pixels replaced.
2026-04-15 20:31:12,427 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 337 pixels replaced.
2026-04-15 20:31:12,786 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 337 pixels replaced.
2026-04-15 20:31:13,141 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 344 pixels replaced.
2026-04-15 20:31:13,490 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 337 pixels replaced.
2026-04-15 20:31:13,838 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 337 pixels replaced.
2026-04-15 20:31:14,189 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 337 pixels replaced.
2026-04-15 20:31:14,539 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 337 pixels replaced.
2026-04-15 20:31:14,892 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 337 pixels replaced.
2026-04-15 20:31:15,242 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 337 pixels replaced.
2026-04-15 20:31:15,589 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 337 pixels replaced.
2026-04-15 20:31:15,946 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 349 pixels replaced.
2026-04-15 20:31:16,294 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 337 pixels replaced.
2026-04-15 20:31:16,643 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 337 pixels replaced.
2026-04-15 20:31:16,993 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 337 pixels replaced.
2026-04-15 20:31:17,342 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 337 pixels replaced.
2026-04-15 20:31:17,690 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 337 pixels replaced.
2026-04-15 20:31:18,040 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 337 pixels replaced.
2026-04-15 20:31:18,387 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 337 pixels replaced.
2026-04-15 20:31:18,737 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 337 pixels replaced.
2026-04-15 20:31:19,085 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 337 pixels replaced.
2026-04-15 20:31:19,434 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 337 pixels replaced.
2026-04-15 20:31:19,785 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 337 pixels replaced.
2026-04-15 20:31:20,135 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 337 pixels replaced.
2026-04-15 20:31:20,484 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 337 pixels replaced.
2026-04-15 20:31:20,832 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 337 pixels replaced.
2026-04-15 20:31:21,182 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 337 pixels replaced.
2026-04-15 20:31:21,530 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 337 pixels replaced.
2026-04-15 20:31:21,879 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 337 pixels replaced.
2026-04-15 20:31:22,228 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 337 pixels replaced.
2026-04-15 20:31:22,577 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 337 pixels replaced.
2026-04-15 20:31:22,925 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 337 pixels replaced.
2026-04-15 20:31:23,278 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 346 pixels replaced.
2026-04-15 20:31:23,627 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 337 pixels replaced.
2026-04-15 20:31:23,977 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 337 pixels replaced.
2026-04-15 20:31:24,336 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 362 pixels replaced.
2026-04-15 20:31:24,684 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 337 pixels replaced.
2026-04-15 20:31:25,037 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 337 pixels replaced.
2026-04-15 20:31:25,386 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 337 pixels replaced.
2026-04-15 20:31:25,736 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 337 pixels replaced.
2026-04-15 20:31:26,084 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 337 pixels replaced.
2026-04-15 20:31:26,430 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 337 pixels replaced.
2026-04-15 20:31:26,778 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 337 pixels replaced.
2026-04-15 20:31:27,126 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 337 pixels replaced.
2026-04-15 20:31:27,476 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 337 pixels replaced.
2026-04-15 20:31:27,827 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 337 pixels replaced.
2026-04-15 20:31:28,175 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 337 pixels replaced.
2026-04-15 20:31:28,522 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 337 pixels replaced.
2026-04-15 20:31:28,869 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 337 pixels replaced.
2026-04-15 20:31:29,219 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 337 pixels replaced.
2026-04-15 20:31:29,566 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 337 pixels replaced.
2026-04-15 20:31:29,916 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 337 pixels replaced.
2026-04-15 20:31:30,274 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 346 pixels replaced.
2026-04-15 20:31:30,621 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 337 pixels replaced.
2026-04-15 20:31:30,966 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 337 pixels replaced.
2026-04-15 20:31:31,312 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 337 pixels replaced.
2026-04-15 20:31:31,658 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 337 pixels replaced.
2026-04-15 20:31:32,003 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 337 pixels replaced.
2026-04-15 20:31:32,348 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 337 pixels replaced.
2026-04-15 20:31:32,696 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 337 pixels replaced.
2026-04-15 20:31:33,045 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 337 pixels replaced.
2026-04-15 20:31:33,393 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 337 pixels replaced.
2026-04-15 20:31:33,739 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 337 pixels replaced.
2026-04-15 20:31:34,089 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 337 pixels replaced.
2026-04-15 20:31:34,438 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 337 pixels replaced.
2026-04-15 20:31:34,789 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 337 pixels replaced.
2026-04-15 20:31:35,137 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 337 pixels replaced.
2026-04-15 20:31:35,489 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 337 pixels replaced.
2026-04-15 20:31:35,838 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 337 pixels replaced.
2026-04-15 20:31:36,186 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 337 pixels replaced.
2026-04-15 20:31:36,533 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 337 pixels replaced.
2026-04-15 20:31:36,881 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 337 pixels replaced.
2026-04-15 20:31:37,226 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 337 pixels replaced.
2026-04-15 20:31:37,573 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 337 pixels replaced.
2026-04-15 20:31:37,921 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 337 pixels replaced.
2026-04-15 20:31:38,270 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 337 pixels replaced.
2026-04-15 20:31:38,618 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 337 pixels replaced.
2026-04-15 20:31:38,965 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 337 pixels replaced.
2026-04-15 20:31:39,310 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 337 pixels replaced.
2026-04-15 20:31:39,657 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 337 pixels replaced.
2026-04-15 20:31:40,008 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 346 pixels replaced.
2026-04-15 20:31:40,357 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 337 pixels replaced.
2026-04-15 20:31:40,705 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 337 pixels replaced.
2026-04-15 20:31:41,056 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 337 pixels replaced.
2026-04-15 20:31:41,404 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 337 pixels replaced.
2026-04-15 20:31:41,750 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 337 pixels replaced.
2026-04-15 20:31:42,099 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 337 pixels replaced.
2026-04-15 20:31:42,447 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 337 pixels replaced.
2026-04-15 20:31:42,795 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 337 pixels replaced.
2026-04-15 20:31:43,145 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 337 pixels replaced.
2026-04-15 20:31:43,494 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 337 pixels replaced.
2026-04-15 20:31:43,841 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 337 pixels replaced.
2026-04-15 20:31:44,188 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 337 pixels replaced.
2026-04-15 20:31:44,534 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 337 pixels replaced.
2026-04-15 20:31:44,883 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 337 pixels replaced.
2026-04-15 20:31:45,232 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 337 pixels replaced.
2026-04-15 20:31:45,579 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 337 pixels replaced.
2026-04-15 20:31:45,929 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 337 pixels replaced.
2026-04-15 20:31:46,278 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 337 pixels replaced.
2026-04-15 20:31:46,627 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 337 pixels replaced.
2026-04-15 20:31:46,974 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 337 pixels replaced.
2026-04-15 20:31:47,321 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 337 pixels replaced.
2026-04-15 20:31:47,669 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 337 pixels replaced.
2026-04-15 20:31:48,017 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 337 pixels replaced.
2026-04-15 20:31:48,366 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 337 pixels replaced.
2026-04-15 20:31:48,713 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 337 pixels replaced.
2026-04-15 20:31:49,062 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 337 pixels replaced.
2026-04-15 20:31:49,409 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 337 pixels replaced.
2026-04-15 20:31:49,756 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 337 pixels replaced.
2026-04-15 20:31:49,761 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:31:50,076 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 32, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_calints.fits>,).
2026-04-15 20:31:50,081 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:31:50,118 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:31:50,148 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:31:50,148 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:31:50,164 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:31:50,189 - jwst.extract_1d.extract - INFO - Computed source location is 12.46, at pixel 1024, wavelength 4.50
2026-04-15 20:31:50,191 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 12.50 -> 18.50 (inclusive)
2026-04-15 20:31:50,192 - jwst.extract_1d.extract - INFO - Nominal location is 15.50, so offset is -3.04 pixels
2026-04-15 20:31:50,193 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 10.91 -> 16.91 (inclusive)
2026-04-15 20:31:50,208 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:31:52,283 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:31:54,354 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:31:56,664 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:31:56,862 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:31:57,176 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_x1dints.fits
2026-04-15 20:31:57,177 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:31:57,179 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs2
2026-04-15 20:31:57,183 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:31:57,183 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:31:57,422 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_calints.fits
2026-04-15 20:31:57,422 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:31:57,423 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:31:57,510 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:31:57,524 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:31:57,533 - CRDS - ERROR - Error determining best reference for 'pars-targcentroidstep' = Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:31:57,544 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:31:57,553 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-spec2pipeline_0022.asdf
2026-04-15 20:31:57,576 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:31:57,577 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:31:57,578 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:31:57,579 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:31:57,580 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:31:57,581 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:31:57,582 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:31:57,583 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:31:57,587 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:31:57,588 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:31:57,589 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:31:57,589 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:31:57,590 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:31:57,591 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:31:57,592 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:31:57,593 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:31:57,594 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:31:57,595 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:31:57,596 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:31:57,597 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:31:57,598 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:31:57,598 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:31:57,599 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:31:57,600 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:31:57,600 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:31:57,601 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:31:57,602 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:31:57,603 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:31:57,604 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:31:57,604 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:31:57,606 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:31:57,607 - stpipe.step - INFO - Extract1dStep instance created.
Applying Stage 2 Corrections & Calibrations to: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs1_rateints.fits
2026-04-15 20:31:57,842 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/asn/jw01366003001_04101_00001-seg002_nrs1_l2asn.json',).
2026-04-15 20:31:57,876 - 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/NIRSPEC/BOTS/Obs003/stage2/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_bsub: False
fail_on_exception: True
save_wfss_esec: False
steps:
assign_wcs:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
sip_approx: True
sip_max_pix_error: 0.01
sip_degree: None
sip_max_inv_pix_error: 0.01
sip_inv_degree: None
sip_npoints: 12
slit_y_low: -0.55
slit_y_high: 0.55
nrs_ifu_slice_wcs: False
badpix_selfcal:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
flagfrac_lower: 0.001
flagfrac_upper: 0.001
kernel_size: 15
force_single: False
save_flagged_bkg: False
msa_flagging:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
autoparam: False
fit_method: median
fit_by_channel: False
background_method: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 0.1
fit_histogram: False
single_mask: True
user_mask: None
save_mask: True
save_background: False
save_noise: True
bkg_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
bkg_list: None
save_combined_background: False
sigma: 3.0
maxiters: None
soss_source_percentile: 35.0
soss_bkg_percentile: None
wfss_mmag_extract: None
wfss_mask: None
wfss_maxiter: 5
wfss_rms_stop: 0.0
wfss_outlier_percent: 1.0
imprint_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
extract_2d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
slit_names: None
source_ids: None
source_ra: None
source_dec: None
source_max_sep: 2.0
extract_orders: None
grism_objects: None
tsgrism_extract_height: None
wfss_extract_half_height: 5
wfss_mmag_extract: None
wfss_nbright: 1000
master_background_mos:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
sigma_clip: 3.0
median_kernel: 1
force_subtract: False
save_background: False
user_background: None
inverse: False
steps:
flat_field:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_interpolated_flat: False
user_supplied_flat: None
inverse: False
pathloss:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
user_slit_loc: None
barshadow:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
apply_time_correction: True
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 3
resample_spec:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: True
extraction_type: box
use_source_posn: None
position_offset: 0.0
model_nod_pair: True
optimize_psf_location: True
smoothing_length: None
bkg_fit: None
bkg_order: None
log_increment: 50
save_profile: False
save_scene_model: False
save_residual_image: False
center_xy: None
ifu_autocen: 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: True
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: True
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: True
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: True
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
wfss_contam:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
save_simulated_image: False
save_contam_images: False
maximum_cores: '1'
orders: None
magnitude_limit: None
wl_oversample: 2
max_pixels_per_chunk: 5000
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 5
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: True
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
cube_build:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: s3d
search_output_file: False
input_dir: ''
pipeline: 3
channel: all
band: all
grating: all
filter: all
output_type: None
linear_wave: True
scalexy: 0.0
scalew: 0.0
weighting: drizzle
coord_system: skyalign
ra_center: None
dec_center: None
cube_pa: None
nspax_x: None
nspax_y: None
rois: 0.0
roiw: 0.0
weight_power: 2.0
wavemin: None
wavemax: None
single: False
skip_dqflagging: False
offset_file: None
debug_spaxel: -1 -1 -1
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: False
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-04-15 20:31:57,934 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg002_nrs1_l2asn.json' reftypes = ['apcorr', 'camera', 'collimator', 'disperser', 'distortion', 'extract1d', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'pastasoss', 'psf', 'regions', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:31:57,937 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits'.
2026-04-15 20:31:57,938 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf'.
2026-04-15 20:31:57,939 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf'.
2026-04-15 20:31:57,939 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf'.
2026-04-15 20:31:57,940 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is 'N/A'.
2026-04-15 20:31:57,940 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json'.
2026-04-15 20:31:57,941 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:31:57,941 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is 'N/A'.
2026-04-15 20:31:57,941 - stpipe.pipeline - INFO - Prefetch for FORE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf'.
2026-04-15 20:31:57,942 - stpipe.pipeline - INFO - Prefetch for FPA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf'.
2026-04-15 20:31:57,942 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-04-15 20:31:57,943 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:31:57,943 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:31:57,944 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:31:57,944 - stpipe.pipeline - INFO - Prefetch for MSA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf'.
2026-04-15 20:31:57,945 - stpipe.pipeline - INFO - Prefetch for OTE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf'.
2026-04-15 20:31:57,945 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 20:31:57,945 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 20:31:57,946 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-04-15 20:31:57,946 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 20:31:57,947 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 20:31:57,947 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-04-15 20:31:57,947 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf'.
2026-04-15 20:31:57,948 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf'.
2026-04-15 20:31:57,948 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:31:57,954 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs1
2026-04-15 20:31:57,955 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs1_rateints.fits ...
2026-04-15 20:31:58,220 - stpipe.step - INFO - Step assign_wcs running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_rateints.fits>,).
2026-04-15 20:31:58,267 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:31:58,268 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:31:58,269 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:31:58,270 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:31:58,415 - jwst.assign_wcs.nirspec - INFO - Slits projected on detector NRS1: ['S1600A1']
2026-04-15 20:31:58,415 - jwst.assign_wcs.nirspec - INFO - Computing WCS for 1 open slitlets
2026-04-15 20:31:58,438 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:31:58,438 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:31:58,439 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:31:58,440 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:31:58,450 - jwst.assign_wcs.nirspec - INFO - SPORDER= -1, wrange=[2.87e-06, 5.27e-06]
2026-04-15 20:31:58,539 - jwst.assign_wcs.nirspec - INFO - Applied Barycentric velocity correction : 0.9999036490550833
2026-04-15 20:31:58,565 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 1
2026-04-15 20:31:58,566 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 2
2026-04-15 20:31:58,566 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 3
2026-04-15 20:31:58,567 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 4
2026-04-15 20:31:58,568 - jwst.assign_wcs.nirspec - INFO - There are 1 open slits in quadrant 5
2026-04-15 20:31:58,689 - jwst.assign_wcs.nirspec - INFO - Created a NIRSPEC nrs_brightobj pipeline with references {'distortion': None, 'filteroffset': None, 'specwcs': None, 'regions': None, 'wavelengthrange': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf', 'camera': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf', 'collimator': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf', 'disperser': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf', 'fore': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf', 'fpa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf', 'msa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf', 'ote': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf', 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:31:58,811 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:31:58,816 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:31:59,006 - stpipe.step - INFO - Step badpix_selfcal running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_rateints.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs1_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs1_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs1_rateints.fits'], []).
2026-04-15 20:31:59,007 - stpipe.step - INFO - Step skipped.
2026-04-15 20:31:59,191 - stpipe.step - INFO - Step msa_flagging running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_rateints.fits>,).
2026-04-15 20:31:59,193 - stpipe.step - INFO - Step skipped.
2026-04-15 20:31:59,363 - stpipe.step - INFO - Step clean_flicker_noise running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_rateints.fits>,).
2026-04-15 20:31:59,364 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Input exposure type is NRS_BRIGHTOBJ, detector=NRS1
2026-04-15 20:31:59,365 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Creating mask
2026-04-15 20:32:00,258 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Data has multiple integrations, but mask is 2D: the same mask will be used for all integrations.
2026-04-15 20:32:00,271 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Cleaning image jw01366003001_04101_00001-seg002_nrs1_rateints.fits
2026-04-15 20:32:00,640 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving mask file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_mask.fits
2026-04-15 20:32:00,684 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving noise file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_flicker_noise.fits
2026-04-15 20:32:00,972 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits
2026-04-15 20:32:00,973 - stpipe.step - INFO - Step clean_flicker_noise done
2026-04-15 20:32:01,153 - stpipe.step - INFO - Step imprint_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits>, []).
2026-04-15 20:32:01,154 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:01,340 - stpipe.step - INFO - Step bkg_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits>, []).
2026-04-15 20:32:01,341 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:01,524 - stpipe.step - INFO - Step extract_2d running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:32:01,525 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:32:01,569 - jwst.extract_2d.nirspec - INFO - Name of subarray extracted: S1600A1
2026-04-15 20:32:01,570 - jwst.extract_2d.nirspec - INFO - Subarray x-extents are: 776 2048
2026-04-15 20:32:01,571 - jwst.extract_2d.nirspec - INFO - Subarray y-extents are: 0 28
2026-04-15 20:32:01,823 - jwst.extract_2d.nirspec - INFO - set slit_attributes completed
2026-04-15 20:32:01,824 - jwst.extract_2d.nirspec - INFO - xoffset, yoffset, 6.03933060849859e-13, -6.0457443092806e-13
2026-04-15 20:32:01,830 - jwst.extract_2d.nirspec - INFO - Source X/Y position in the slit: -0.011585206334862467, -0.03203498317654359
2026-04-15 20:32:01,836 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:32:01,838 - jwst.extract_2d.nirspec - INFO - extract_2d updated S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:32:01,840 - stpipe.step - INFO - Step extract_2d done
2026-04-15 20:32:02,039 - stpipe.step - INFO - Step srctype running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:32:02,040 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:32:02,041 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:32:02,041 - jwst.srctype.srctype - INFO - Input is a TSO exposure; setting SRCTYPE = POINT
2026-04-15 20:32:02,045 - stpipe.step - INFO - Step srctype done
2026-04-15 20:32:02,247 - stpipe.step - INFO - Step master_background_mos running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:32:02,248 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:02,249 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:32:02,444 - stpipe.step - INFO - Step wavecorr running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:32:02,448 - jwst.wavecorr.wavecorr_step - INFO - Using WAVECORR reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf
2026-04-15 20:32:02,449 - jwst.wavecorr.wavecorr - INFO - Detected a POINT source type in slit S1600A1
2026-04-15 20:32:02,529 - jwst.wavecorr.wavecorr - INFO - Using wavelength zero-point correction for aperture S1600A1
2026-04-15 20:32:02,567 - stpipe.step - INFO - Step wavecorr done
2026-04-15 20:32:02,756 - stpipe.step - INFO - Step flat_field running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:32:02,757 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:02,943 - stpipe.step - INFO - Step pathloss running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:32:02,944 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:03,127 - stpipe.step - INFO - Step barshadow running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:32:03,128 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:03,317 - stpipe.step - INFO - Step photom running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:32:03,318 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:03,624 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 28, 1272) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_calints.fits>,).
2026-04-15 20:32:03,866 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 175 pixels replaced.
2026-04-15 20:32:04,110 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 175 pixels replaced.
2026-04-15 20:32:04,353 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 175 pixels replaced.
2026-04-15 20:32:04,595 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 175 pixels replaced.
2026-04-15 20:32:04,840 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 175 pixels replaced.
2026-04-15 20:32:05,084 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 175 pixels replaced.
2026-04-15 20:32:05,328 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 175 pixels replaced.
2026-04-15 20:32:05,571 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 175 pixels replaced.
2026-04-15 20:32:05,815 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 175 pixels replaced.
2026-04-15 20:32:06,070 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 193 pixels replaced.
2026-04-15 20:32:06,311 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 175 pixels replaced.
2026-04-15 20:32:06,552 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 175 pixels replaced.
2026-04-15 20:32:06,797 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 175 pixels replaced.
2026-04-15 20:32:07,046 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 175 pixels replaced.
2026-04-15 20:32:07,298 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 187 pixels replaced.
2026-04-15 20:32:07,541 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 175 pixels replaced.
2026-04-15 20:32:07,789 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 184 pixels replaced.
2026-04-15 20:32:08,031 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 175 pixels replaced.
2026-04-15 20:32:08,273 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 175 pixels replaced.
2026-04-15 20:32:08,514 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 175 pixels replaced.
2026-04-15 20:32:08,756 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 175 pixels replaced.
2026-04-15 20:32:08,998 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 175 pixels replaced.
2026-04-15 20:32:09,238 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 175 pixels replaced.
2026-04-15 20:32:09,481 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 175 pixels replaced.
2026-04-15 20:32:09,722 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 175 pixels replaced.
2026-04-15 20:32:09,964 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 175 pixels replaced.
2026-04-15 20:32:10,206 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 175 pixels replaced.
2026-04-15 20:32:10,446 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 175 pixels replaced.
2026-04-15 20:32:10,691 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 175 pixels replaced.
2026-04-15 20:32:10,933 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 175 pixels replaced.
2026-04-15 20:32:11,177 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 175 pixels replaced.
2026-04-15 20:32:11,421 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 175 pixels replaced.
2026-04-15 20:32:11,664 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 175 pixels replaced.
2026-04-15 20:32:11,906 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 175 pixels replaced.
2026-04-15 20:32:12,152 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 175 pixels replaced.
2026-04-15 20:32:12,399 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 175 pixels replaced.
2026-04-15 20:32:12,647 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 184 pixels replaced.
2026-04-15 20:32:12,891 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 175 pixels replaced.
2026-04-15 20:32:13,135 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 175 pixels replaced.
2026-04-15 20:32:13,378 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 175 pixels replaced.
2026-04-15 20:32:13,624 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 175 pixels replaced.
2026-04-15 20:32:13,867 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 175 pixels replaced.
2026-04-15 20:32:14,111 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 175 pixels replaced.
2026-04-15 20:32:14,354 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 175 pixels replaced.
2026-04-15 20:32:14,597 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 175 pixels replaced.
2026-04-15 20:32:14,843 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 175 pixels replaced.
2026-04-15 20:32:15,087 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 175 pixels replaced.
2026-04-15 20:32:15,330 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 175 pixels replaced.
2026-04-15 20:32:15,574 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 175 pixels replaced.
2026-04-15 20:32:15,819 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 175 pixels replaced.
2026-04-15 20:32:16,063 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 175 pixels replaced.
2026-04-15 20:32:16,320 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 175 pixels replaced.
2026-04-15 20:32:16,576 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 175 pixels replaced.
2026-04-15 20:32:16,820 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 175 pixels replaced.
2026-04-15 20:32:17,063 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 175 pixels replaced.
2026-04-15 20:32:17,307 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 175 pixels replaced.
2026-04-15 20:32:17,560 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 186 pixels replaced.
2026-04-15 20:32:17,803 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 175 pixels replaced.
2026-04-15 20:32:18,046 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 175 pixels replaced.
2026-04-15 20:32:18,289 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 175 pixels replaced.
2026-04-15 20:32:18,531 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 175 pixels replaced.
2026-04-15 20:32:18,783 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 192 pixels replaced.
2026-04-15 20:32:19,025 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 175 pixels replaced.
2026-04-15 20:32:19,267 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 175 pixels replaced.
2026-04-15 20:32:19,509 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 175 pixels replaced.
2026-04-15 20:32:19,753 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 175 pixels replaced.
2026-04-15 20:32:20,003 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 175 pixels replaced.
2026-04-15 20:32:20,245 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 175 pixels replaced.
2026-04-15 20:32:20,488 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 175 pixels replaced.
2026-04-15 20:32:20,729 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 175 pixels replaced.
2026-04-15 20:32:20,972 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 175 pixels replaced.
2026-04-15 20:32:21,214 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 175 pixels replaced.
2026-04-15 20:32:21,457 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 175 pixels replaced.
2026-04-15 20:32:21,700 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 175 pixels replaced.
2026-04-15 20:32:21,944 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 175 pixels replaced.
2026-04-15 20:32:22,186 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 175 pixels replaced.
2026-04-15 20:32:22,430 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 175 pixels replaced.
2026-04-15 20:32:22,675 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 175 pixels replaced.
2026-04-15 20:32:22,920 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 175 pixels replaced.
2026-04-15 20:32:23,163 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 175 pixels replaced.
2026-04-15 20:32:23,406 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 175 pixels replaced.
2026-04-15 20:32:23,649 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 175 pixels replaced.
2026-04-15 20:32:23,893 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 175 pixels replaced.
2026-04-15 20:32:24,136 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 175 pixels replaced.
2026-04-15 20:32:24,380 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 175 pixels replaced.
2026-04-15 20:32:24,623 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 175 pixels replaced.
2026-04-15 20:32:24,867 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 175 pixels replaced.
2026-04-15 20:32:25,111 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 175 pixels replaced.
2026-04-15 20:32:25,354 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 175 pixels replaced.
2026-04-15 20:32:25,595 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 175 pixels replaced.
2026-04-15 20:32:25,839 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 175 pixels replaced.
2026-04-15 20:32:26,080 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 175 pixels replaced.
2026-04-15 20:32:26,324 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 175 pixels replaced.
2026-04-15 20:32:26,567 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 175 pixels replaced.
2026-04-15 20:32:26,811 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 175 pixels replaced.
2026-04-15 20:32:27,054 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 175 pixels replaced.
2026-04-15 20:32:27,297 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 175 pixels replaced.
2026-04-15 20:32:27,541 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 175 pixels replaced.
2026-04-15 20:32:27,785 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 175 pixels replaced.
2026-04-15 20:32:28,033 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 175 pixels replaced.
2026-04-15 20:32:28,275 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 175 pixels replaced.
2026-04-15 20:32:28,518 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 175 pixels replaced.
2026-04-15 20:32:28,762 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 175 pixels replaced.
2026-04-15 20:32:29,008 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 175 pixels replaced.
2026-04-15 20:32:29,250 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 175 pixels replaced.
2026-04-15 20:32:29,494 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 175 pixels replaced.
2026-04-15 20:32:29,739 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 175 pixels replaced.
2026-04-15 20:32:29,983 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 175 pixels replaced.
2026-04-15 20:32:30,227 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 175 pixels replaced.
2026-04-15 20:32:30,469 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 175 pixels replaced.
2026-04-15 20:32:30,713 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 175 pixels replaced.
2026-04-15 20:32:30,959 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 175 pixels replaced.
2026-04-15 20:32:31,204 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 175 pixels replaced.
2026-04-15 20:32:31,449 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 175 pixels replaced.
2026-04-15 20:32:31,695 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 175 pixels replaced.
2026-04-15 20:32:31,941 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 175 pixels replaced.
2026-04-15 20:32:32,186 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 175 pixels replaced.
2026-04-15 20:32:32,429 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 175 pixels replaced.
2026-04-15 20:32:32,673 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 175 pixels replaced.
2026-04-15 20:32:32,918 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 175 pixels replaced.
2026-04-15 20:32:33,160 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 175 pixels replaced.
2026-04-15 20:32:33,404 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 175 pixels replaced.
2026-04-15 20:32:33,652 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 182 pixels replaced.
2026-04-15 20:32:33,896 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 175 pixels replaced.
2026-04-15 20:32:34,141 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 175 pixels replaced.
2026-04-15 20:32:34,384 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 175 pixels replaced.
2026-04-15 20:32:34,631 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 184 pixels replaced.
2026-04-15 20:32:34,875 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 175 pixels replaced.
2026-04-15 20:32:35,116 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 175 pixels replaced.
2026-04-15 20:32:35,358 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 175 pixels replaced.
2026-04-15 20:32:35,602 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 175 pixels replaced.
2026-04-15 20:32:35,846 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 175 pixels replaced.
2026-04-15 20:32:36,089 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 175 pixels replaced.
2026-04-15 20:32:36,330 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 175 pixels replaced.
2026-04-15 20:32:36,573 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 175 pixels replaced.
2026-04-15 20:32:36,814 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 175 pixels replaced.
2026-04-15 20:32:37,058 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 175 pixels replaced.
2026-04-15 20:32:37,301 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 175 pixels replaced.
2026-04-15 20:32:37,545 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 175 pixels replaced.
2026-04-15 20:32:37,792 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 175 pixels replaced.
2026-04-15 20:32:38,036 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 175 pixels replaced.
2026-04-15 20:32:38,282 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 175 pixels replaced.
2026-04-15 20:32:38,529 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 175 pixels replaced.
2026-04-15 20:32:38,773 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 175 pixels replaced.
2026-04-15 20:32:39,017 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 175 pixels replaced.
2026-04-15 20:32:39,261 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 175 pixels replaced.
2026-04-15 20:32:39,507 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 175 pixels replaced.
2026-04-15 20:32:39,750 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 175 pixels replaced.
2026-04-15 20:32:39,993 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 175 pixels replaced.
2026-04-15 20:32:40,236 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 175 pixels replaced.
2026-04-15 20:32:40,480 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 175 pixels replaced.
2026-04-15 20:32:40,726 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 175 pixels replaced.
2026-04-15 20:32:40,970 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 175 pixels replaced.
2026-04-15 20:32:41,213 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 175 pixels replaced.
2026-04-15 20:32:41,453 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 175 pixels replaced.
2026-04-15 20:32:41,458 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:32:41,781 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 28, 1272) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_calints.fits>,).
2026-04-15 20:32:41,786 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:32:41,822 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:32:41,841 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:32:41,842 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:32:41,858 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:32:41,878 - jwst.extract_1d.extract - INFO - Computed source location is 13.55, at pixel 636, wavelength 3.29
2026-04-15 20:32:41,880 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 10.50 -> 16.50 (inclusive)
2026-04-15 20:32:41,881 - jwst.extract_1d.extract - INFO - Nominal location is 13.50, so offset is 0.05 pixels
2026-04-15 20:32:41,882 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 11.09 -> 17.09 (inclusive)
2026-04-15 20:32:41,897 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:32:43,813 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:32:45,687 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:32:47,836 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:32:48,022 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:32:48,300 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_x1dints.fits
2026-04-15 20:32:48,301 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:32:48,302 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs1
2026-04-15 20:32:48,308 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:32:48,308 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:32:48,527 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_calints.fits
2026-04-15 20:32:48,528 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:32:48,528 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:32:48,619 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:32:48,632 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:32:48,641 - CRDS - ERROR - Error determining best reference for 'pars-targcentroidstep' = Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:32:48,651 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:32:48,661 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-spec2pipeline_0022.asdf
2026-04-15 20:32:48,684 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:32:48,685 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:32:48,686 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:32:48,686 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:32:48,688 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:32:48,689 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:32:48,690 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:32:48,691 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:32:48,695 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:32:48,695 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:32:48,696 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:32:48,697 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:32:48,698 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:32:48,699 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:32:48,699 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:32:48,701 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:32:48,702 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:32:48,703 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:32:48,704 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:32:48,704 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:32:48,705 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:32:48,706 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:32:48,707 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:32:48,707 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:32:48,708 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:32:48,709 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:32:48,710 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:32:48,710 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:32:48,711 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:32:48,712 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:32:48,714 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:32:48,715 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:32:48,959 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/asn/jw01366003001_04101_00001-seg002_nrs2_l2asn.json',).
Applying Stage 2 Corrections & Calibrations to: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs2_rateints.fits
2026-04-15 20:32:48,994 - 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/NIRSPEC/BOTS/Obs003/stage2/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_bsub: False
fail_on_exception: True
save_wfss_esec: False
steps:
assign_wcs:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
sip_approx: True
sip_max_pix_error: 0.01
sip_degree: None
sip_max_inv_pix_error: 0.01
sip_inv_degree: None
sip_npoints: 12
slit_y_low: -0.55
slit_y_high: 0.55
nrs_ifu_slice_wcs: False
badpix_selfcal:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
flagfrac_lower: 0.001
flagfrac_upper: 0.001
kernel_size: 15
force_single: False
save_flagged_bkg: False
msa_flagging:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
autoparam: False
fit_method: median
fit_by_channel: False
background_method: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 0.1
fit_histogram: False
single_mask: True
user_mask: None
save_mask: True
save_background: False
save_noise: True
bkg_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
bkg_list: None
save_combined_background: False
sigma: 3.0
maxiters: None
soss_source_percentile: 35.0
soss_bkg_percentile: None
wfss_mmag_extract: None
wfss_mask: None
wfss_maxiter: 5
wfss_rms_stop: 0.0
wfss_outlier_percent: 1.0
imprint_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
extract_2d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
slit_names: None
source_ids: None
source_ra: None
source_dec: None
source_max_sep: 2.0
extract_orders: None
grism_objects: None
tsgrism_extract_height: None
wfss_extract_half_height: 5
wfss_mmag_extract: None
wfss_nbright: 1000
master_background_mos:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
sigma_clip: 3.0
median_kernel: 1
force_subtract: False
save_background: False
user_background: None
inverse: False
steps:
flat_field:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_interpolated_flat: False
user_supplied_flat: None
inverse: False
pathloss:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
user_slit_loc: None
barshadow:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
apply_time_correction: True
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 3
resample_spec:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: True
extraction_type: box
use_source_posn: None
position_offset: 0.0
model_nod_pair: True
optimize_psf_location: True
smoothing_length: None
bkg_fit: None
bkg_order: None
log_increment: 50
save_profile: False
save_scene_model: False
save_residual_image: False
center_xy: None
ifu_autocen: 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: True
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: True
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: True
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: True
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
wfss_contam:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
save_simulated_image: False
save_contam_images: False
maximum_cores: '1'
orders: None
magnitude_limit: None
wl_oversample: 2
max_pixels_per_chunk: 5000
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 5
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: True
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
cube_build:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: s3d
search_output_file: False
input_dir: ''
pipeline: 3
channel: all
band: all
grating: all
filter: all
output_type: None
linear_wave: True
scalexy: 0.0
scalew: 0.0
weighting: drizzle
coord_system: skyalign
ra_center: None
dec_center: None
cube_pa: None
nspax_x: None
nspax_y: None
rois: 0.0
roiw: 0.0
weight_power: 2.0
wavemin: None
wavemax: None
single: False
skip_dqflagging: False
offset_file: None
debug_spaxel: -1 -1 -1
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: False
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-04-15 20:32:49,053 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg002_nrs2_l2asn.json' reftypes = ['apcorr', 'camera', 'collimator', 'disperser', 'distortion', 'extract1d', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'pastasoss', 'psf', 'regions', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:32:49,057 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits'.
2026-04-15 20:32:49,058 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf'.
2026-04-15 20:32:49,058 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf'.
2026-04-15 20:32:49,059 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf'.
2026-04-15 20:32:49,059 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is 'N/A'.
2026-04-15 20:32:49,060 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json'.
2026-04-15 20:32:49,060 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:32:49,061 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is 'N/A'.
2026-04-15 20:32:49,061 - stpipe.pipeline - INFO - Prefetch for FORE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf'.
2026-04-15 20:32:49,062 - stpipe.pipeline - INFO - Prefetch for FPA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf'.
2026-04-15 20:32:49,062 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-04-15 20:32:49,063 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:32:49,063 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:32:49,064 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:32:49,064 - stpipe.pipeline - INFO - Prefetch for MSA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf'.
2026-04-15 20:32:49,065 - stpipe.pipeline - INFO - Prefetch for OTE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf'.
2026-04-15 20:32:49,065 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 20:32:49,066 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 20:32:49,066 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-04-15 20:32:49,067 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 20:32:49,067 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 20:32:49,068 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-04-15 20:32:49,068 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf'.
2026-04-15 20:32:49,069 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf'.
2026-04-15 20:32:49,071 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:32:49,077 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs2
2026-04-15 20:32:49,078 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs2_rateints.fits ...
2026-04-15 20:32:49,350 - stpipe.step - INFO - Step assign_wcs running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_rateints.fits>,).
2026-04-15 20:32:49,398 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:32:49,399 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:32:49,400 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:32:49,401 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:32:49,547 - jwst.assign_wcs.nirspec - INFO - Slits projected on detector NRS2: ['S1600A1']
2026-04-15 20:32:49,548 - jwst.assign_wcs.nirspec - INFO - Computing WCS for 1 open slitlets
2026-04-15 20:32:49,570 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:32:49,570 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:32:49,571 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:32:49,572 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:32:49,582 - jwst.assign_wcs.nirspec - INFO - SPORDER= -1, wrange=[2.87e-06, 5.27e-06]
2026-04-15 20:32:49,671 - jwst.assign_wcs.nirspec - INFO - Applied Barycentric velocity correction : 0.9999036490550833
2026-04-15 20:32:49,698 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 1
2026-04-15 20:32:49,699 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 2
2026-04-15 20:32:49,699 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 3
2026-04-15 20:32:49,700 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 4
2026-04-15 20:32:49,700 - jwst.assign_wcs.nirspec - INFO - There are 1 open slits in quadrant 5
2026-04-15 20:32:49,823 - jwst.assign_wcs.nirspec - INFO - Created a NIRSPEC nrs_brightobj pipeline with references {'distortion': None, 'filteroffset': None, 'specwcs': None, 'regions': None, 'wavelengthrange': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf', 'camera': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf', 'collimator': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf', 'disperser': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf', 'fore': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf', 'fpa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf', 'msa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf', 'ote': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf', 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:32:49,952 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:32:49,957 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:32:50,145 - stpipe.step - INFO - Step badpix_selfcal running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_rateints.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs2_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs2_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs2_rateints.fits'], []).
2026-04-15 20:32:50,147 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:50,321 - stpipe.step - INFO - Step msa_flagging running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_rateints.fits>,).
2026-04-15 20:32:50,322 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:50,494 - stpipe.step - INFO - Step clean_flicker_noise running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_rateints.fits>,).
2026-04-15 20:32:50,495 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Input exposure type is NRS_BRIGHTOBJ, detector=NRS2
2026-04-15 20:32:50,496 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Creating mask
2026-04-15 20:32:51,313 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Data has multiple integrations, but mask is 2D: the same mask will be used for all integrations.
2026-04-15 20:32:51,319 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Cleaning image jw01366003001_04101_00001-seg002_nrs2_rateints.fits
2026-04-15 20:32:51,690 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving mask file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_mask.fits
2026-04-15 20:32:51,734 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving noise file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_flicker_noise.fits
2026-04-15 20:32:52,030 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits
2026-04-15 20:32:52,031 - stpipe.step - INFO - Step clean_flicker_noise done
2026-04-15 20:32:52,217 - stpipe.step - INFO - Step imprint_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits>, []).
2026-04-15 20:32:52,218 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:52,407 - stpipe.step - INFO - Step bkg_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits>, []).
2026-04-15 20:32:52,408 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:52,588 - stpipe.step - INFO - Step extract_2d running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:32:52,589 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:32:52,636 - jwst.extract_2d.nirspec - INFO - Name of subarray extracted: S1600A1
2026-04-15 20:32:52,637 - jwst.extract_2d.nirspec - INFO - Subarray x-extents are: 0 2048
2026-04-15 20:32:52,637 - jwst.extract_2d.nirspec - INFO - Subarray y-extents are: 0 35
2026-04-15 20:32:52,910 - jwst.extract_2d.nirspec - INFO - set slit_attributes completed
2026-04-15 20:32:52,912 - jwst.extract_2d.nirspec - INFO - xoffset, yoffset, 6.03933060849859e-13, -6.0457443092806e-13
2026-04-15 20:32:52,918 - jwst.extract_2d.nirspec - INFO - Source X/Y position in the slit: -0.011585206334862467, -0.03203498317654359
2026-04-15 20:32:52,924 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:32:52,925 - jwst.extract_2d.nirspec - INFO - extract_2d updated S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:32:52,928 - stpipe.step - INFO - Step extract_2d done
2026-04-15 20:32:53,111 - stpipe.step - INFO - Step srctype running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:32:53,112 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:32:53,112 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:32:53,113 - jwst.srctype.srctype - INFO - Input is a TSO exposure; setting SRCTYPE = POINT
2026-04-15 20:32:53,116 - stpipe.step - INFO - Step srctype done
2026-04-15 20:32:53,306 - stpipe.step - INFO - Step master_background_mos running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:32:53,307 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:53,308 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:32:53,487 - stpipe.step - INFO - Step wavecorr running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:32:53,491 - jwst.wavecorr.wavecorr_step - INFO - Using WAVECORR reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf
2026-04-15 20:32:53,492 - jwst.wavecorr.wavecorr - INFO - Detected a POINT source type in slit S1600A1
2026-04-15 20:32:53,593 - jwst.wavecorr.wavecorr - INFO - Using wavelength zero-point correction for aperture S1600A1
2026-04-15 20:32:53,641 - stpipe.step - INFO - Step wavecorr done
2026-04-15 20:32:53,822 - stpipe.step - INFO - Step flat_field running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:32:53,823 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:54,000 - stpipe.step - INFO - Step pathloss running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:32:54,001 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:54,176 - stpipe.step - INFO - Step barshadow running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:32:54,177 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:54,354 - stpipe.step - INFO - Step photom running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:32:54,355 - stpipe.step - INFO - Step skipped.
2026-04-15 20:32:54,664 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 32, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_calints.fits>,).
2026-04-15 20:32:55,014 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 337 pixels replaced.
2026-04-15 20:32:55,367 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 337 pixels replaced.
2026-04-15 20:32:55,719 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 337 pixels replaced.
2026-04-15 20:32:56,073 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 344 pixels replaced.
2026-04-15 20:32:56,424 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 337 pixels replaced.
2026-04-15 20:32:56,774 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 337 pixels replaced.
2026-04-15 20:32:57,125 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 337 pixels replaced.
2026-04-15 20:32:57,475 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 337 pixels replaced.
2026-04-15 20:32:57,827 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 337 pixels replaced.
2026-04-15 20:32:58,178 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 337 pixels replaced.
2026-04-15 20:32:58,529 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 337 pixels replaced.
2026-04-15 20:32:58,880 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 337 pixels replaced.
2026-04-15 20:32:59,232 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 337 pixels replaced.
2026-04-15 20:32:59,585 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 337 pixels replaced.
2026-04-15 20:32:59,932 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 337 pixels replaced.
2026-04-15 20:33:00,279 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 337 pixels replaced.
2026-04-15 20:33:00,627 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 337 pixels replaced.
2026-04-15 20:33:00,976 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 337 pixels replaced.
2026-04-15 20:33:01,324 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 337 pixels replaced.
2026-04-15 20:33:01,671 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 337 pixels replaced.
2026-04-15 20:33:02,017 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 337 pixels replaced.
2026-04-15 20:33:02,362 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 337 pixels replaced.
2026-04-15 20:33:02,709 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 337 pixels replaced.
2026-04-15 20:33:03,055 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 337 pixels replaced.
2026-04-15 20:33:03,401 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 337 pixels replaced.
2026-04-15 20:33:03,748 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 337 pixels replaced.
2026-04-15 20:33:04,093 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 337 pixels replaced.
2026-04-15 20:33:04,438 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 337 pixels replaced.
2026-04-15 20:33:04,789 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 337 pixels replaced.
2026-04-15 20:33:05,135 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 337 pixels replaced.
2026-04-15 20:33:05,480 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 337 pixels replaced.
2026-04-15 20:33:05,825 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 337 pixels replaced.
2026-04-15 20:33:06,171 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 337 pixels replaced.
2026-04-15 20:33:06,518 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 337 pixels replaced.
2026-04-15 20:33:06,864 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 337 pixels replaced.
2026-04-15 20:33:07,210 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 337 pixels replaced.
2026-04-15 20:33:07,556 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 337 pixels replaced.
2026-04-15 20:33:07,906 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 337 pixels replaced.
2026-04-15 20:33:08,251 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 337 pixels replaced.
2026-04-15 20:33:08,598 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 337 pixels replaced.
2026-04-15 20:33:08,945 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 337 pixels replaced.
2026-04-15 20:33:09,290 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 337 pixels replaced.
2026-04-15 20:33:09,637 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 337 pixels replaced.
2026-04-15 20:33:09,985 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 337 pixels replaced.
2026-04-15 20:33:10,334 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 337 pixels replaced.
2026-04-15 20:33:10,682 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 337 pixels replaced.
2026-04-15 20:33:11,046 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 362 pixels replaced.
2026-04-15 20:33:11,393 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 337 pixels replaced.
2026-04-15 20:33:11,742 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 337 pixels replaced.
2026-04-15 20:33:12,091 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 337 pixels replaced.
2026-04-15 20:33:12,439 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 337 pixels replaced.
2026-04-15 20:33:12,785 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 337 pixels replaced.
2026-04-15 20:33:13,132 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 337 pixels replaced.
2026-04-15 20:33:13,480 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 337 pixels replaced.
2026-04-15 20:33:13,830 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 337 pixels replaced.
2026-04-15 20:33:14,179 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 337 pixels replaced.
2026-04-15 20:33:14,526 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 337 pixels replaced.
2026-04-15 20:33:14,872 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 337 pixels replaced.
2026-04-15 20:33:15,219 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 337 pixels replaced.
2026-04-15 20:33:15,568 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 337 pixels replaced.
2026-04-15 20:33:15,915 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 337 pixels replaced.
2026-04-15 20:33:16,262 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 337 pixels replaced.
2026-04-15 20:33:16,628 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 354 pixels replaced.
2026-04-15 20:33:16,975 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 337 pixels replaced.
2026-04-15 20:33:17,323 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 337 pixels replaced.
2026-04-15 20:33:17,672 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 337 pixels replaced.
2026-04-15 20:33:18,019 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 337 pixels replaced.
2026-04-15 20:33:18,368 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 337 pixels replaced.
2026-04-15 20:33:18,714 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 337 pixels replaced.
2026-04-15 20:33:19,063 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 337 pixels replaced.
2026-04-15 20:33:19,411 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 337 pixels replaced.
2026-04-15 20:33:19,759 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 337 pixels replaced.
2026-04-15 20:33:20,106 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 337 pixels replaced.
2026-04-15 20:33:20,455 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 337 pixels replaced.
2026-04-15 20:33:20,804 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 337 pixels replaced.
2026-04-15 20:33:21,152 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 337 pixels replaced.
2026-04-15 20:33:21,507 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 346 pixels replaced.
2026-04-15 20:33:21,853 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 337 pixels replaced.
2026-04-15 20:33:22,200 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 337 pixels replaced.
2026-04-15 20:33:22,558 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 355 pixels replaced.
2026-04-15 20:33:22,906 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 337 pixels replaced.
2026-04-15 20:33:23,252 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 337 pixels replaced.
2026-04-15 20:33:23,601 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 337 pixels replaced.
2026-04-15 20:33:23,952 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 337 pixels replaced.
2026-04-15 20:33:24,299 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 337 pixels replaced.
2026-04-15 20:33:24,647 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 337 pixels replaced.
2026-04-15 20:33:24,994 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 337 pixels replaced.
2026-04-15 20:33:25,340 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 337 pixels replaced.
2026-04-15 20:33:25,693 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 337 pixels replaced.
2026-04-15 20:33:26,053 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 346 pixels replaced.
2026-04-15 20:33:26,403 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 337 pixels replaced.
2026-04-15 20:33:26,751 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 337 pixels replaced.
2026-04-15 20:33:27,098 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 337 pixels replaced.
2026-04-15 20:33:27,451 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 344 pixels replaced.
2026-04-15 20:33:27,801 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 337 pixels replaced.
2026-04-15 20:33:28,150 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 337 pixels replaced.
2026-04-15 20:33:28,499 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 337 pixels replaced.
2026-04-15 20:33:28,854 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 346 pixels replaced.
2026-04-15 20:33:29,203 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 337 pixels replaced.
2026-04-15 20:33:29,550 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 337 pixels replaced.
2026-04-15 20:33:29,898 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 337 pixels replaced.
2026-04-15 20:33:30,245 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 337 pixels replaced.
2026-04-15 20:33:30,592 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 337 pixels replaced.
2026-04-15 20:33:30,942 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 337 pixels replaced.
2026-04-15 20:33:31,294 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 337 pixels replaced.
2026-04-15 20:33:31,643 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 337 pixels replaced.
2026-04-15 20:33:31,992 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 337 pixels replaced.
2026-04-15 20:33:32,340 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 337 pixels replaced.
2026-04-15 20:33:32,688 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 337 pixels replaced.
2026-04-15 20:33:33,035 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 337 pixels replaced.
2026-04-15 20:33:33,386 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 346 pixels replaced.
2026-04-15 20:33:33,733 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 337 pixels replaced.
2026-04-15 20:33:34,079 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 337 pixels replaced.
2026-04-15 20:33:34,425 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 337 pixels replaced.
2026-04-15 20:33:34,773 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 337 pixels replaced.
2026-04-15 20:33:35,120 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 337 pixels replaced.
2026-04-15 20:33:35,465 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 337 pixels replaced.
2026-04-15 20:33:35,812 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 337 pixels replaced.
2026-04-15 20:33:36,160 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 337 pixels replaced.
2026-04-15 20:33:36,508 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 337 pixels replaced.
2026-04-15 20:33:36,857 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 337 pixels replaced.
2026-04-15 20:33:37,205 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 337 pixels replaced.
2026-04-15 20:33:37,551 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 337 pixels replaced.
2026-04-15 20:33:37,899 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 337 pixels replaced.
2026-04-15 20:33:38,253 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 346 pixels replaced.
2026-04-15 20:33:38,600 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 337 pixels replaced.
2026-04-15 20:33:38,946 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 337 pixels replaced.
2026-04-15 20:33:39,292 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 337 pixels replaced.
2026-04-15 20:33:39,643 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 346 pixels replaced.
2026-04-15 20:33:39,990 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 337 pixels replaced.
2026-04-15 20:33:40,335 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 337 pixels replaced.
2026-04-15 20:33:40,682 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 337 pixels replaced.
2026-04-15 20:33:41,028 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 337 pixels replaced.
2026-04-15 20:33:41,376 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 337 pixels replaced.
2026-04-15 20:33:41,731 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 346 pixels replaced.
2026-04-15 20:33:42,078 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 337 pixels replaced.
2026-04-15 20:33:42,424 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 337 pixels replaced.
2026-04-15 20:33:42,772 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 337 pixels replaced.
2026-04-15 20:33:43,124 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 346 pixels replaced.
2026-04-15 20:33:43,478 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 344 pixels replaced.
2026-04-15 20:33:43,826 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 337 pixels replaced.
2026-04-15 20:33:44,173 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 337 pixels replaced.
2026-04-15 20:33:44,518 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 337 pixels replaced.
2026-04-15 20:33:44,866 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 337 pixels replaced.
2026-04-15 20:33:45,215 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 337 pixels replaced.
2026-04-15 20:33:45,563 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 337 pixels replaced.
2026-04-15 20:33:45,912 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 337 pixels replaced.
2026-04-15 20:33:46,260 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 337 pixels replaced.
2026-04-15 20:33:46,611 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 337 pixels replaced.
2026-04-15 20:33:46,961 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 337 pixels replaced.
2026-04-15 20:33:47,309 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 337 pixels replaced.
2026-04-15 20:33:47,657 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 337 pixels replaced.
2026-04-15 20:33:48,005 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 337 pixels replaced.
2026-04-15 20:33:48,350 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 337 pixels replaced.
2026-04-15 20:33:48,698 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 337 pixels replaced.
2026-04-15 20:33:48,702 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:33:49,037 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 32, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_calints.fits>,).
2026-04-15 20:33:49,041 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:33:49,078 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:33:49,108 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:33:49,109 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:33:49,125 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:33:49,151 - jwst.extract_1d.extract - INFO - Computed source location is 12.46, at pixel 1024, wavelength 4.50
2026-04-15 20:33:49,152 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 12.50 -> 18.50 (inclusive)
2026-04-15 20:33:49,154 - jwst.extract_1d.extract - INFO - Nominal location is 15.50, so offset is -3.04 pixels
2026-04-15 20:33:49,155 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 10.91 -> 16.91 (inclusive)
2026-04-15 20:33:49,170 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:33:51,167 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:33:53,211 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:33:55,597 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:33:55,810 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:33:56,132 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_x1dints.fits
2026-04-15 20:33:56,133 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:33:56,135 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs2
2026-04-15 20:33:56,139 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:33:56,140 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:33:56,385 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_calints.fits
2026-04-15 20:33:56,386 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:33:56,386 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:33:56,476 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:33:56,490 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:33:56,500 - CRDS - ERROR - Error determining best reference for 'pars-targcentroidstep' = Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:33:56,510 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:33:56,520 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-spec2pipeline_0022.asdf
2026-04-15 20:33:56,544 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:33:56,546 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:33:56,547 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:33:56,547 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:33:56,548 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:33:56,550 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:33:56,550 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:33:56,551 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:33:56,555 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:33:56,556 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:33:56,557 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:33:56,558 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:33:56,558 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:33:56,559 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:33:56,560 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:33:56,562 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:33:56,562 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:33:56,563 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:33:56,565 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:33:56,565 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:33:56,566 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:33:56,567 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:33:56,568 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:33:56,568 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:33:56,569 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:33:56,570 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:33:56,570 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:33:56,571 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:33:56,572 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:33:56,573 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:33:56,575 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:33:56,576 - stpipe.step - INFO - Extract1dStep instance created.
Applying Stage 2 Corrections & Calibrations to: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs1_rateints.fits
2026-04-15 20:33:56,838 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/asn/jw01366003001_04101_00001-seg003_nrs1_l2asn.json',).
2026-04-15 20:33:56,873 - 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/NIRSPEC/BOTS/Obs003/stage2/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_bsub: False
fail_on_exception: True
save_wfss_esec: False
steps:
assign_wcs:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
sip_approx: True
sip_max_pix_error: 0.01
sip_degree: None
sip_max_inv_pix_error: 0.01
sip_inv_degree: None
sip_npoints: 12
slit_y_low: -0.55
slit_y_high: 0.55
nrs_ifu_slice_wcs: False
badpix_selfcal:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
flagfrac_lower: 0.001
flagfrac_upper: 0.001
kernel_size: 15
force_single: False
save_flagged_bkg: False
msa_flagging:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
autoparam: False
fit_method: median
fit_by_channel: False
background_method: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 0.1
fit_histogram: False
single_mask: True
user_mask: None
save_mask: True
save_background: False
save_noise: True
bkg_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
bkg_list: None
save_combined_background: False
sigma: 3.0
maxiters: None
soss_source_percentile: 35.0
soss_bkg_percentile: None
wfss_mmag_extract: None
wfss_mask: None
wfss_maxiter: 5
wfss_rms_stop: 0.0
wfss_outlier_percent: 1.0
imprint_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
extract_2d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
slit_names: None
source_ids: None
source_ra: None
source_dec: None
source_max_sep: 2.0
extract_orders: None
grism_objects: None
tsgrism_extract_height: None
wfss_extract_half_height: 5
wfss_mmag_extract: None
wfss_nbright: 1000
master_background_mos:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
sigma_clip: 3.0
median_kernel: 1
force_subtract: False
save_background: False
user_background: None
inverse: False
steps:
flat_field:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_interpolated_flat: False
user_supplied_flat: None
inverse: False
pathloss:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
user_slit_loc: None
barshadow:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
apply_time_correction: True
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 3
resample_spec:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: True
extraction_type: box
use_source_posn: None
position_offset: 0.0
model_nod_pair: True
optimize_psf_location: True
smoothing_length: None
bkg_fit: None
bkg_order: None
log_increment: 50
save_profile: False
save_scene_model: False
save_residual_image: False
center_xy: None
ifu_autocen: 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: True
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: True
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: True
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: True
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
wfss_contam:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
save_simulated_image: False
save_contam_images: False
maximum_cores: '1'
orders: None
magnitude_limit: None
wl_oversample: 2
max_pixels_per_chunk: 5000
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 5
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: True
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
cube_build:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: s3d
search_output_file: False
input_dir: ''
pipeline: 3
channel: all
band: all
grating: all
filter: all
output_type: None
linear_wave: True
scalexy: 0.0
scalew: 0.0
weighting: drizzle
coord_system: skyalign
ra_center: None
dec_center: None
cube_pa: None
nspax_x: None
nspax_y: None
rois: 0.0
roiw: 0.0
weight_power: 2.0
wavemin: None
wavemax: None
single: False
skip_dqflagging: False
offset_file: None
debug_spaxel: -1 -1 -1
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: False
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-04-15 20:33:56,931 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg003_nrs1_l2asn.json' reftypes = ['apcorr', 'camera', 'collimator', 'disperser', 'distortion', 'extract1d', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'pastasoss', 'psf', 'regions', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:33:56,935 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits'.
2026-04-15 20:33:56,936 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf'.
2026-04-15 20:33:56,936 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf'.
2026-04-15 20:33:56,937 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf'.
2026-04-15 20:33:56,937 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is 'N/A'.
2026-04-15 20:33:56,938 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json'.
2026-04-15 20:33:56,938 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:33:56,939 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is 'N/A'.
2026-04-15 20:33:56,939 - stpipe.pipeline - INFO - Prefetch for FORE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf'.
2026-04-15 20:33:56,940 - stpipe.pipeline - INFO - Prefetch for FPA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf'.
2026-04-15 20:33:56,940 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-04-15 20:33:56,941 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:33:56,941 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:33:56,941 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:33:56,942 - stpipe.pipeline - INFO - Prefetch for MSA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf'.
2026-04-15 20:33:56,942 - stpipe.pipeline - INFO - Prefetch for OTE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf'.
2026-04-15 20:33:56,943 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 20:33:56,943 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 20:33:56,944 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-04-15 20:33:56,944 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 20:33:56,945 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 20:33:56,945 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-04-15 20:33:56,945 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf'.
2026-04-15 20:33:56,946 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf'.
2026-04-15 20:33:56,946 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:33:56,953 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs1
2026-04-15 20:33:56,953 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs1_rateints.fits ...
2026-04-15 20:33:57,232 - stpipe.step - INFO - Step assign_wcs running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_rateints.fits>,).
2026-04-15 20:33:57,280 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:33:57,281 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:33:57,282 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:33:57,283 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:33:57,434 - jwst.assign_wcs.nirspec - INFO - Slits projected on detector NRS1: ['S1600A1']
2026-04-15 20:33:57,434 - jwst.assign_wcs.nirspec - INFO - Computing WCS for 1 open slitlets
2026-04-15 20:33:57,458 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:33:57,458 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:33:57,459 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:33:57,461 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:33:57,471 - jwst.assign_wcs.nirspec - INFO - SPORDER= -1, wrange=[2.87e-06, 5.27e-06]
2026-04-15 20:33:57,562 - jwst.assign_wcs.nirspec - INFO - Applied Barycentric velocity correction : 0.9999036490550833
2026-04-15 20:33:57,589 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 1
2026-04-15 20:33:57,590 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 2
2026-04-15 20:33:57,591 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 3
2026-04-15 20:33:57,592 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 4
2026-04-15 20:33:57,592 - jwst.assign_wcs.nirspec - INFO - There are 1 open slits in quadrant 5
2026-04-15 20:33:57,721 - jwst.assign_wcs.nirspec - INFO - Created a NIRSPEC nrs_brightobj pipeline with references {'distortion': None, 'filteroffset': None, 'specwcs': None, 'regions': None, 'wavelengthrange': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf', 'camera': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf', 'collimator': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf', 'disperser': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf', 'fore': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf', 'fpa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf', 'msa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf', 'ote': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf', 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:33:57,847 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:33:57,853 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:33:58,062 - stpipe.step - INFO - Step badpix_selfcal running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_rateints.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs1_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs1_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs1_rateints.fits'], []).
2026-04-15 20:33:58,063 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:58,259 - stpipe.step - INFO - Step msa_flagging running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_rateints.fits>,).
2026-04-15 20:33:58,261 - stpipe.step - INFO - Step skipped.
2026-04-15 20:33:58,455 - stpipe.step - INFO - Step clean_flicker_noise running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_rateints.fits>,).
2026-04-15 20:33:58,456 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Input exposure type is NRS_BRIGHTOBJ, detector=NRS1
2026-04-15 20:33:58,457 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Creating mask
2026-04-15 20:33:59,342 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Data has multiple integrations, but mask is 2D: the same mask will be used for all integrations.
2026-04-15 20:33:59,346 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Cleaning image jw01366003001_04101_00001-seg003_nrs1_rateints.fits
2026-04-15 20:33:59,722 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving mask file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_mask.fits
2026-04-15 20:33:59,766 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving noise file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_flicker_noise.fits
2026-04-15 20:34:00,057 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits
2026-04-15 20:34:00,058 - stpipe.step - INFO - Step clean_flicker_noise done
2026-04-15 20:34:00,246 - stpipe.step - INFO - Step imprint_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits>, []).
2026-04-15 20:34:00,247 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:00,439 - stpipe.step - INFO - Step bkg_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits>, []).
2026-04-15 20:34:00,440 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:00,627 - stpipe.step - INFO - Step extract_2d running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:34:00,629 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:34:00,675 - jwst.extract_2d.nirspec - INFO - Name of subarray extracted: S1600A1
2026-04-15 20:34:00,675 - jwst.extract_2d.nirspec - INFO - Subarray x-extents are: 776 2048
2026-04-15 20:34:00,676 - jwst.extract_2d.nirspec - INFO - Subarray y-extents are: 0 28
2026-04-15 20:34:00,926 - jwst.extract_2d.nirspec - INFO - set slit_attributes completed
2026-04-15 20:34:00,927 - jwst.extract_2d.nirspec - INFO - xoffset, yoffset, 6.03933060849859e-13, -6.0457443092806e-13
2026-04-15 20:34:00,933 - jwst.extract_2d.nirspec - INFO - Source X/Y position in the slit: -0.011585206334862467, -0.03203498317654359
2026-04-15 20:34:00,940 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:34:00,941 - jwst.extract_2d.nirspec - INFO - extract_2d updated S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:34:00,944 - stpipe.step - INFO - Step extract_2d done
2026-04-15 20:34:01,144 - stpipe.step - INFO - Step srctype running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:34:01,145 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:34:01,145 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:34:01,146 - jwst.srctype.srctype - INFO - Input is a TSO exposure; setting SRCTYPE = POINT
2026-04-15 20:34:01,149 - stpipe.step - INFO - Step srctype done
2026-04-15 20:34:01,343 - stpipe.step - INFO - Step master_background_mos running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:34:01,344 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:01,345 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:34:01,544 - stpipe.step - INFO - Step wavecorr running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:34:01,548 - jwst.wavecorr.wavecorr_step - INFO - Using WAVECORR reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf
2026-04-15 20:34:01,548 - jwst.wavecorr.wavecorr - INFO - Detected a POINT source type in slit S1600A1
2026-04-15 20:34:01,631 - jwst.wavecorr.wavecorr - INFO - Using wavelength zero-point correction for aperture S1600A1
2026-04-15 20:34:01,670 - stpipe.step - INFO - Step wavecorr done
2026-04-15 20:34:01,872 - stpipe.step - INFO - Step flat_field running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:34:01,873 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:02,076 - stpipe.step - INFO - Step pathloss running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:34:02,077 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:02,272 - stpipe.step - INFO - Step barshadow running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:34:02,273 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:02,458 - stpipe.step - INFO - Step photom running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits>,).
2026-04-15 20:34:02,459 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:02,783 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 28, 1272) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_calints.fits>,).
2026-04-15 20:34:03,027 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 175 pixels replaced.
2026-04-15 20:34:03,270 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 175 pixels replaced.
2026-04-15 20:34:03,514 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 175 pixels replaced.
2026-04-15 20:34:03,757 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 175 pixels replaced.
2026-04-15 20:34:04,000 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 175 pixels replaced.
2026-04-15 20:34:04,244 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 175 pixels replaced.
2026-04-15 20:34:04,489 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 175 pixels replaced.
2026-04-15 20:34:04,734 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 175 pixels replaced.
2026-04-15 20:34:04,979 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 175 pixels replaced.
2026-04-15 20:34:05,224 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 175 pixels replaced.
2026-04-15 20:34:05,470 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 175 pixels replaced.
2026-04-15 20:34:05,714 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 175 pixels replaced.
2026-04-15 20:34:05,959 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 175 pixels replaced.
2026-04-15 20:34:06,203 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 175 pixels replaced.
2026-04-15 20:34:06,449 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 175 pixels replaced.
2026-04-15 20:34:06,694 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 175 pixels replaced.
2026-04-15 20:34:06,938 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 175 pixels replaced.
2026-04-15 20:34:07,184 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 175 pixels replaced.
2026-04-15 20:34:07,429 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 175 pixels replaced.
2026-04-15 20:34:07,675 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 175 pixels replaced.
2026-04-15 20:34:07,924 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 175 pixels replaced.
2026-04-15 20:34:08,169 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 175 pixels replaced.
2026-04-15 20:34:08,415 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 175 pixels replaced.
2026-04-15 20:34:08,661 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 175 pixels replaced.
2026-04-15 20:34:08,906 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 175 pixels replaced.
2026-04-15 20:34:09,150 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 175 pixels replaced.
2026-04-15 20:34:09,395 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 175 pixels replaced.
2026-04-15 20:34:09,640 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 175 pixels replaced.
2026-04-15 20:34:09,884 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 175 pixels replaced.
2026-04-15 20:34:10,129 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 175 pixels replaced.
2026-04-15 20:34:10,374 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 175 pixels replaced.
2026-04-15 20:34:10,617 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 175 pixels replaced.
2026-04-15 20:34:10,862 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 175 pixels replaced.
2026-04-15 20:34:11,107 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 175 pixels replaced.
2026-04-15 20:34:11,351 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 175 pixels replaced.
2026-04-15 20:34:11,596 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 175 pixels replaced.
2026-04-15 20:34:11,841 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 175 pixels replaced.
2026-04-15 20:34:12,085 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 175 pixels replaced.
2026-04-15 20:34:12,328 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 175 pixels replaced.
2026-04-15 20:34:12,573 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 175 pixels replaced.
2026-04-15 20:34:12,818 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 175 pixels replaced.
2026-04-15 20:34:13,064 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 175 pixels replaced.
2026-04-15 20:34:13,307 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 175 pixels replaced.
2026-04-15 20:34:13,558 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 184 pixels replaced.
2026-04-15 20:34:13,810 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 184 pixels replaced.
2026-04-15 20:34:14,057 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 175 pixels replaced.
2026-04-15 20:34:14,302 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 175 pixels replaced.
2026-04-15 20:34:14,547 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 175 pixels replaced.
2026-04-15 20:34:14,796 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 175 pixels replaced.
2026-04-15 20:34:15,042 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 175 pixels replaced.
2026-04-15 20:34:15,286 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 175 pixels replaced.
2026-04-15 20:34:15,531 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 175 pixels replaced.
2026-04-15 20:34:15,776 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 175 pixels replaced.
2026-04-15 20:34:16,021 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 175 pixels replaced.
2026-04-15 20:34:16,267 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 175 pixels replaced.
2026-04-15 20:34:16,512 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 175 pixels replaced.
2026-04-15 20:34:16,758 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 175 pixels replaced.
2026-04-15 20:34:17,003 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 175 pixels replaced.
2026-04-15 20:34:17,247 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 175 pixels replaced.
2026-04-15 20:34:17,490 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 175 pixels replaced.
2026-04-15 20:34:17,736 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 175 pixels replaced.
2026-04-15 20:34:17,982 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 175 pixels replaced.
2026-04-15 20:34:18,229 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 175 pixels replaced.
2026-04-15 20:34:18,477 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 175 pixels replaced.
2026-04-15 20:34:18,723 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 175 pixels replaced.
2026-04-15 20:34:18,969 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 175 pixels replaced.
2026-04-15 20:34:19,215 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 175 pixels replaced.
2026-04-15 20:34:19,461 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 175 pixels replaced.
2026-04-15 20:34:19,706 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 175 pixels replaced.
2026-04-15 20:34:19,951 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 175 pixels replaced.
2026-04-15 20:34:20,196 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 175 pixels replaced.
2026-04-15 20:34:20,441 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 175 pixels replaced.
2026-04-15 20:34:20,686 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 175 pixels replaced.
2026-04-15 20:34:20,931 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 175 pixels replaced.
2026-04-15 20:34:21,175 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 175 pixels replaced.
2026-04-15 20:34:21,419 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 175 pixels replaced.
2026-04-15 20:34:21,663 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 175 pixels replaced.
2026-04-15 20:34:21,909 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 175 pixels replaced.
2026-04-15 20:34:22,156 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 184 pixels replaced.
2026-04-15 20:34:22,400 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 175 pixels replaced.
2026-04-15 20:34:22,645 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 175 pixels replaced.
2026-04-15 20:34:22,889 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 175 pixels replaced.
2026-04-15 20:34:23,133 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 175 pixels replaced.
2026-04-15 20:34:23,379 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 175 pixels replaced.
2026-04-15 20:34:23,626 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 175 pixels replaced.
2026-04-15 20:34:23,872 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 175 pixels replaced.
2026-04-15 20:34:24,115 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 175 pixels replaced.
2026-04-15 20:34:24,359 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 175 pixels replaced.
2026-04-15 20:34:24,603 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 175 pixels replaced.
2026-04-15 20:34:24,850 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 175 pixels replaced.
2026-04-15 20:34:25,093 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 175 pixels replaced.
2026-04-15 20:34:25,337 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 175 pixels replaced.
2026-04-15 20:34:25,582 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 175 pixels replaced.
2026-04-15 20:34:25,827 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 175 pixels replaced.
2026-04-15 20:34:26,072 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 175 pixels replaced.
2026-04-15 20:34:26,317 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 175 pixels replaced.
2026-04-15 20:34:26,561 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 175 pixels replaced.
2026-04-15 20:34:26,815 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 175 pixels replaced.
2026-04-15 20:34:27,059 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 175 pixels replaced.
2026-04-15 20:34:27,302 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 175 pixels replaced.
2026-04-15 20:34:27,545 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 175 pixels replaced.
2026-04-15 20:34:27,789 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 175 pixels replaced.
2026-04-15 20:34:28,034 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 175 pixels replaced.
2026-04-15 20:34:28,278 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 175 pixels replaced.
2026-04-15 20:34:28,521 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 175 pixels replaced.
2026-04-15 20:34:28,769 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 175 pixels replaced.
2026-04-15 20:34:29,016 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 175 pixels replaced.
2026-04-15 20:34:29,260 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 175 pixels replaced.
2026-04-15 20:34:29,505 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 175 pixels replaced.
2026-04-15 20:34:29,748 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 175 pixels replaced.
2026-04-15 20:34:29,992 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 175 pixels replaced.
2026-04-15 20:34:30,236 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 175 pixels replaced.
2026-04-15 20:34:30,481 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 175 pixels replaced.
2026-04-15 20:34:30,725 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 175 pixels replaced.
2026-04-15 20:34:30,969 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 175 pixels replaced.
2026-04-15 20:34:31,212 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 175 pixels replaced.
2026-04-15 20:34:31,455 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 175 pixels replaced.
2026-04-15 20:34:31,698 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 175 pixels replaced.
2026-04-15 20:34:31,942 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 175 pixels replaced.
2026-04-15 20:34:32,185 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 175 pixels replaced.
2026-04-15 20:34:32,427 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 175 pixels replaced.
2026-04-15 20:34:32,671 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 175 pixels replaced.
2026-04-15 20:34:32,914 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 175 pixels replaced.
2026-04-15 20:34:33,157 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 175 pixels replaced.
2026-04-15 20:34:33,413 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 198 pixels replaced.
2026-04-15 20:34:33,657 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 175 pixels replaced.
2026-04-15 20:34:33,903 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 175 pixels replaced.
2026-04-15 20:34:34,151 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 175 pixels replaced.
2026-04-15 20:34:34,395 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 175 pixels replaced.
2026-04-15 20:34:34,639 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 175 pixels replaced.
2026-04-15 20:34:34,885 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 175 pixels replaced.
2026-04-15 20:34:35,129 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 175 pixels replaced.
2026-04-15 20:34:35,372 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 175 pixels replaced.
2026-04-15 20:34:35,617 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 175 pixels replaced.
2026-04-15 20:34:35,861 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 175 pixels replaced.
2026-04-15 20:34:36,107 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 175 pixels replaced.
2026-04-15 20:34:36,351 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 175 pixels replaced.
2026-04-15 20:34:36,597 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 175 pixels replaced.
2026-04-15 20:34:36,842 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 175 pixels replaced.
2026-04-15 20:34:37,086 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 175 pixels replaced.
2026-04-15 20:34:37,330 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 175 pixels replaced.
2026-04-15 20:34:37,576 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 175 pixels replaced.
2026-04-15 20:34:37,822 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 175 pixels replaced.
2026-04-15 20:34:38,068 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 175 pixels replaced.
2026-04-15 20:34:38,313 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 175 pixels replaced.
2026-04-15 20:34:38,560 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 175 pixels replaced.
2026-04-15 20:34:38,805 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 175 pixels replaced.
2026-04-15 20:34:39,050 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 175 pixels replaced.
2026-04-15 20:34:39,295 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 175 pixels replaced.
2026-04-15 20:34:39,540 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 175 pixels replaced.
2026-04-15 20:34:39,784 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 175 pixels replaced.
2026-04-15 20:34:40,029 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 175 pixels replaced.
2026-04-15 20:34:40,272 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 175 pixels replaced.
2026-04-15 20:34:40,516 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 175 pixels replaced.
2026-04-15 20:34:40,758 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 175 pixels replaced.
2026-04-15 20:34:40,763 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:34:41,087 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 28, 1272) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_calints.fits>,).
2026-04-15 20:34:41,092 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:34:41,128 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:34:41,144 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:34:41,145 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:34:41,160 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:34:41,180 - jwst.extract_1d.extract - INFO - Computed source location is 13.55, at pixel 636, wavelength 3.29
2026-04-15 20:34:41,182 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 10.50 -> 16.50 (inclusive)
2026-04-15 20:34:41,183 - jwst.extract_1d.extract - INFO - Nominal location is 13.50, so offset is 0.05 pixels
2026-04-15 20:34:41,184 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 11.09 -> 17.09 (inclusive)
2026-04-15 20:34:41,199 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:34:43,122 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:34:45,028 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:34:47,240 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:34:47,431 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:34:47,716 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_x1dints.fits
2026-04-15 20:34:47,717 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:34:47,718 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs1
2026-04-15 20:34:47,723 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:34:47,723 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:34:47,945 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_calints.fits
2026-04-15 20:34:47,946 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:34:47,946 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
/home/runner/micromamba/envs/ci-env/lib/python3.13/site-packages/jwst/associations/association.py:232: UserWarning: Input association file contains path information; note that this can complicate usage and/or sharing of such files.
warnings.warn(err_str, UserWarning, stacklevel=1)
2026-04-15 20:34:48,037 - stpipe.step - INFO - PARS-CLEANFLICKERNOISESTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-cleanflickernoisestep_0001.asdf
2026-04-15 20:34:48,051 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:34:48,060 - CRDS - ERROR - Error determining best reference for 'pars-targcentroidstep' = Unknown reference type 'pars-targcentroidstep'
2026-04-15 20:34:48,071 - stpipe.step - INFO - PARS-RESAMPLESPECSTEP parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-resamplespecstep_0001.asdf
2026-04-15 20:34:48,080 - stpipe.pipeline - INFO - PARS-SPEC2PIPELINE parameters found: /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_pars-spec2pipeline_0022.asdf
2026-04-15 20:34:48,104 - stpipe.step - INFO - Spec2Pipeline instance created.
2026-04-15 20:34:48,105 - stpipe.step - INFO - AssignWcsStep instance created.
2026-04-15 20:34:48,106 - stpipe.step - INFO - BadpixSelfcalStep instance created.
2026-04-15 20:34:48,107 - stpipe.step - INFO - MSAFlagOpenStep instance created.
2026-04-15 20:34:48,108 - stpipe.step - INFO - CleanFlickerNoiseStep instance created.
2026-04-15 20:34:48,109 - stpipe.step - INFO - BackgroundStep instance created.
2026-04-15 20:34:48,110 - stpipe.step - INFO - ImprintStep instance created.
2026-04-15 20:34:48,111 - stpipe.step - INFO - Extract2dStep instance created.
2026-04-15 20:34:48,115 - stpipe.step - INFO - MasterBackgroundMosStep instance created.
2026-04-15 20:34:48,116 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:34:48,116 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:34:48,117 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:34:48,118 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:34:48,119 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:34:48,120 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:34:48,121 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:34:48,122 - stpipe.step - INFO - TargCentroidStep instance created.
2026-04-15 20:34:48,123 - stpipe.step - INFO - WavecorrStep instance created.
2026-04-15 20:34:48,124 - stpipe.step - INFO - FlatFieldStep instance created.
2026-04-15 20:34:48,125 - stpipe.step - INFO - SourceTypeStep instance created.
2026-04-15 20:34:48,126 - stpipe.step - INFO - StraylightStep instance created.
2026-04-15 20:34:48,127 - stpipe.step - INFO - FringeStep instance created.
2026-04-15 20:34:48,128 - stpipe.step - INFO - ResidualFringeStep instance created.
2026-04-15 20:34:48,128 - stpipe.step - INFO - PathLossStep instance created.
2026-04-15 20:34:48,129 - stpipe.step - INFO - BarShadowStep instance created.
2026-04-15 20:34:48,130 - stpipe.step - INFO - WfssContamStep instance created.
2026-04-15 20:34:48,131 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:34:48,131 - stpipe.step - INFO - AdaptiveTraceModelStep instance created.
2026-04-15 20:34:48,132 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:34:48,133 - stpipe.step - INFO - ResampleSpecStep instance created.
2026-04-15 20:34:48,135 - stpipe.step - INFO - CubeBuildStep instance created.
2026-04-15 20:34:48,136 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:34:48,391 - stpipe.step - INFO - Step Spec2Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/asn/jw01366003001_04101_00001-seg003_nrs2_l2asn.json',).
Applying Stage 2 Corrections & Calibrations to: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs2_rateints.fits
2026-04-15 20:34:48,427 - 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/NIRSPEC/BOTS/Obs003/stage2/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_bsub: False
fail_on_exception: True
save_wfss_esec: False
steps:
assign_wcs:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
sip_approx: True
sip_max_pix_error: 0.01
sip_degree: None
sip_max_inv_pix_error: 0.01
sip_inv_degree: None
sip_npoints: 12
slit_y_low: -0.55
slit_y_high: 0.55
nrs_ifu_slice_wcs: False
badpix_selfcal:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
flagfrac_lower: 0.001
flagfrac_upper: 0.001
kernel_size: 15
force_single: False
save_flagged_bkg: False
msa_flagging:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
autoparam: False
fit_method: median
fit_by_channel: False
background_method: None
background_box_size: None
mask_science_regions: False
apply_flat_field: False
n_sigma: 0.1
fit_histogram: False
single_mask: True
user_mask: None
save_mask: True
save_background: False
save_noise: True
bkg_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
bkg_list: None
save_combined_background: False
sigma: 3.0
maxiters: None
soss_source_percentile: 35.0
soss_bkg_percentile: None
wfss_mmag_extract: None
wfss_mask: None
wfss_maxiter: 5
wfss_rms_stop: 0.0
wfss_outlier_percent: 1.0
imprint_subtract:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
extract_2d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
slit_names: None
source_ids: None
source_ra: None
source_dec: None
source_max_sep: 2.0
extract_orders: None
grism_objects: None
tsgrism_extract_height: None
wfss_extract_half_height: 5
wfss_mmag_extract: None
wfss_nbright: 1000
master_background_mos:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
sigma_clip: 3.0
median_kernel: 1
force_subtract: False
save_background: False
user_background: None
inverse: False
steps:
flat_field:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
save_interpolated_flat: False
user_supplied_flat: None
inverse: False
pathloss:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
user_slit_loc: None
barshadow:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
apply_time_correction: True
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 3
resample_spec:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: True
extraction_type: box
use_source_posn: None
position_offset: 0.0
model_nod_pair: True
optimize_psf_location: True
smoothing_length: None
bkg_fit: None
bkg_order: None
log_increment: 50
save_profile: False
save_scene_model: False
save_residual_image: False
center_xy: None
ifu_autocen: 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: True
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: True
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: True
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: True
suffix: None
search_output_file: True
input_dir: ''
inverse: False
source_type: None
wfss_contam:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
suffix: None
search_output_file: True
input_dir: ''
save_simulated_image: False
save_contam_images: False
maximum_cores: '1'
orders: None
magnitude_limit: None
wl_oversample: 2
max_pixels_per_chunk: 5000
photom:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: True
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
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 5
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: True
suffix: None
search_output_file: True
input_dir: ''
pixfrac: 1.0
kernel: square
fillval: NaN
weight_type: exptime
output_shape: None
pixel_scale_ratio: 1.0
pixel_scale: None
output_wcs: ''
single: False
blendheaders: True
in_memory: True
propagate_dq: False
cube_build:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: True
suffix: s3d
search_output_file: False
input_dir: ''
pipeline: 3
channel: all
band: all
grating: all
filter: all
output_type: None
linear_wave: True
scalexy: 0.0
scalew: 0.0
weighting: drizzle
coord_system: skyalign
ra_center: None
dec_center: None
cube_pa: None
nspax_x: None
nspax_y: None
rois: 0.0
roiw: 0.0
weight_power: 2.0
wavemin: None
wavemax: None
single: False
skip_dqflagging: False
offset_file: None
debug_spaxel: -1 -1 -1
extract_1d:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: False
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-04-15 20:34:48,485 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'jw01366003001_04101_00001-seg003_nrs2_l2asn.json' reftypes = ['apcorr', 'camera', 'collimator', 'disperser', 'distortion', 'extract1d', 'filteroffset', 'flat', 'fore', 'fpa', 'fringe', 'ifufore', 'ifupost', 'ifuslicer', 'msa', 'ote', 'pastasoss', 'psf', 'regions', 'speckernel', 'specprofile', 'specwcs', 'wavecorr', 'wavelengthrange']
2026-04-15 20:34:48,489 - stpipe.pipeline - INFO - Prefetch for APCORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits'.
2026-04-15 20:34:48,489 - stpipe.pipeline - INFO - Prefetch for CAMERA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf'.
2026-04-15 20:34:48,490 - stpipe.pipeline - INFO - Prefetch for COLLIMATOR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf'.
2026-04-15 20:34:48,491 - stpipe.pipeline - INFO - Prefetch for DISPERSER reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf'.
2026-04-15 20:34:48,491 - stpipe.pipeline - INFO - Prefetch for DISTORTION reference file is 'N/A'.
2026-04-15 20:34:48,492 - stpipe.pipeline - INFO - Prefetch for EXTRACT1D reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json'.
2026-04-15 20:34:48,492 - stpipe.pipeline - INFO - Prefetch for FILTEROFFSET reference file is 'N/A'.
2026-04-15 20:34:48,493 - stpipe.pipeline - INFO - Prefetch for FLAT reference file is 'N/A'.
2026-04-15 20:34:48,493 - stpipe.pipeline - INFO - Prefetch for FORE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf'.
2026-04-15 20:34:48,494 - stpipe.pipeline - INFO - Prefetch for FPA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf'.
2026-04-15 20:34:48,494 - stpipe.pipeline - INFO - Prefetch for FRINGE reference file is 'N/A'.
2026-04-15 20:34:48,494 - stpipe.pipeline - INFO - Prefetch for IFUFORE reference file is 'N/A'.
2026-04-15 20:34:48,495 - stpipe.pipeline - INFO - Prefetch for IFUPOST reference file is 'N/A'.
2026-04-15 20:34:48,495 - stpipe.pipeline - INFO - Prefetch for IFUSLICER reference file is 'N/A'.
2026-04-15 20:34:48,496 - stpipe.pipeline - INFO - Prefetch for MSA reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf'.
2026-04-15 20:34:48,496 - stpipe.pipeline - INFO - Prefetch for OTE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf'.
2026-04-15 20:34:48,497 - stpipe.pipeline - INFO - Prefetch for PASTASOSS reference file is 'N/A'.
2026-04-15 20:34:48,497 - stpipe.pipeline - INFO - Prefetch for PSF reference file is 'N/A'.
2026-04-15 20:34:48,498 - stpipe.pipeline - INFO - Prefetch for REGIONS reference file is 'N/A'.
2026-04-15 20:34:48,498 - stpipe.pipeline - INFO - Prefetch for SPECKERNEL reference file is 'N/A'.
2026-04-15 20:34:48,499 - stpipe.pipeline - INFO - Prefetch for SPECPROFILE reference file is 'N/A'.
2026-04-15 20:34:48,499 - stpipe.pipeline - INFO - Prefetch for SPECWCS reference file is 'N/A'.
2026-04-15 20:34:48,500 - stpipe.pipeline - INFO - Prefetch for WAVECORR reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf'.
2026-04-15 20:34:48,500 - stpipe.pipeline - INFO - Prefetch for WAVELENGTHRANGE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf'.
2026-04-15 20:34:48,501 - jwst.pipeline.calwebb_spec2 - INFO - Starting calwebb_spec2 ...
2026-04-15 20:34:48,507 - jwst.pipeline.calwebb_spec2 - INFO - Processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs2
2026-04-15 20:34:48,508 - jwst.pipeline.calwebb_spec2 - INFO - Working on input /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs2_rateints.fits ...
2026-04-15 20:34:48,789 - stpipe.step - INFO - Step assign_wcs running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_rateints.fits>,).
2026-04-15 20:34:48,837 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:34:48,837 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:34:48,838 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:34:48,839 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:34:48,986 - jwst.assign_wcs.nirspec - INFO - Slits projected on detector NRS2: ['S1600A1']
2026-04-15 20:34:48,987 - jwst.assign_wcs.nirspec - INFO - Computing WCS for 1 open slitlets
2026-04-15 20:34:49,010 - jwst.assign_wcs.nirspec - INFO - gwa_ytilt is 0.144672647 deg
2026-04-15 20:34:49,010 - jwst.assign_wcs.nirspec - INFO - gwa_xtilt is 0.318840981 deg
2026-04-15 20:34:49,011 - jwst.assign_wcs.nirspec - INFO - theta_y correction: 0.0005219736832793843 deg
2026-04-15 20:34:49,012 - jwst.assign_wcs.nirspec - INFO - theta_x correction: 6.057163672282842e-05 deg
2026-04-15 20:34:49,022 - jwst.assign_wcs.nirspec - INFO - SPORDER= -1, wrange=[2.87e-06, 5.27e-06]
2026-04-15 20:34:49,112 - jwst.assign_wcs.nirspec - INFO - Applied Barycentric velocity correction : 0.9999036490550833
2026-04-15 20:34:49,138 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 1
2026-04-15 20:34:49,139 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 2
2026-04-15 20:34:49,139 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 3
2026-04-15 20:34:49,140 - jwst.assign_wcs.nirspec - INFO - There are 0 open slits in quadrant 4
2026-04-15 20:34:49,141 - jwst.assign_wcs.nirspec - INFO - There are 1 open slits in quadrant 5
2026-04-15 20:34:49,265 - jwst.assign_wcs.nirspec - INFO - Created a NIRSPEC nrs_brightobj pipeline with references {'distortion': None, 'filteroffset': None, 'specwcs': None, 'regions': None, 'wavelengthrange': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavelengthrange_0006.asdf', 'camera': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_camera_0007.asdf', 'collimator': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_collimator_0007.asdf', 'disperser': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_disperser_0056.asdf', 'fore': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fore_0047.asdf', 'fpa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_fpa_0008.asdf', 'msa': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_msa_0008.asdf', 'ote': '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_ote_0010.asdf', 'ifupost': None, 'ifufore': None, 'ifuslicer': None}
2026-04-15 20:34:49,396 - jwst.assign_wcs.assign_wcs - INFO - COMPLETED assign_wcs
2026-04-15 20:34:49,401 - stpipe.step - INFO - Step assign_wcs done
2026-04-15 20:34:49,606 - stpipe.step - INFO - Step badpix_selfcal running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_rateints.fits>, ['/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg001_nrs2_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg002_nrs2_rateints.fits', '/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs2_rateints.fits'], []).
2026-04-15 20:34:49,608 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:49,807 - stpipe.step - INFO - Step msa_flagging running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_rateints.fits>,).
2026-04-15 20:34:49,808 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:50,006 - stpipe.step - INFO - Step clean_flicker_noise running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_rateints.fits>,).
2026-04-15 20:34:50,007 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Input exposure type is NRS_BRIGHTOBJ, detector=NRS2
2026-04-15 20:34:50,008 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Creating mask
2026-04-15 20:34:50,826 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Data has multiple integrations, but mask is 2D: the same mask will be used for all integrations.
2026-04-15 20:34:50,831 - jwst.clean_flicker_noise.clean_flicker_noise - INFO - Cleaning image jw01366003001_04101_00001-seg003_nrs2_rateints.fits
2026-04-15 20:34:51,207 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving mask file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_mask.fits
2026-04-15 20:34:51,251 - jwst.clean_flicker_noise.clean_flicker_noise_step - INFO - Saving noise file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_flicker_noise.fits
2026-04-15 20:34:51,559 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits
2026-04-15 20:34:51,560 - stpipe.step - INFO - Step clean_flicker_noise done
2026-04-15 20:34:51,765 - stpipe.step - INFO - Step imprint_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits>, []).
2026-04-15 20:34:51,766 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:51,967 - stpipe.step - INFO - Step bkg_subtract running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits>, []).
2026-04-15 20:34:51,968 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:52,164 - stpipe.step - INFO - Step extract_2d running with args (<CubeModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:34:52,165 - jwst.extract_2d.extract_2d - INFO - EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:34:52,211 - jwst.extract_2d.nirspec - INFO - Name of subarray extracted: S1600A1
2026-04-15 20:34:52,212 - jwst.extract_2d.nirspec - INFO - Subarray x-extents are: 0 2048
2026-04-15 20:34:52,213 - jwst.extract_2d.nirspec - INFO - Subarray y-extents are: 0 35
2026-04-15 20:34:52,490 - jwst.extract_2d.nirspec - INFO - set slit_attributes completed
2026-04-15 20:34:52,492 - jwst.extract_2d.nirspec - INFO - xoffset, yoffset, 6.03933060849859e-13, -6.0457443092806e-13
2026-04-15 20:34:52,498 - jwst.extract_2d.nirspec - INFO - Source X/Y position in the slit: -0.011585206334862467, -0.03203498317654359
2026-04-15 20:34:52,504 - stcal.alignment.util - INFO - Update S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:34:52,505 - jwst.extract_2d.nirspec - INFO - extract_2d updated S_REGION to POLYGON ICRS 217.326463389 -3.444792699 217.326917709 -3.444605004 217.326744101 -3.444195992 217.326289754 -3.444383643
2026-04-15 20:34:52,508 - stpipe.step - INFO - Step extract_2d done
2026-04-15 20:34:52,710 - stpipe.step - INFO - Step srctype running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:34:52,711 - jwst.srctype.srctype - INFO - Input EXP_TYPE is NRS_BRIGHTOBJ
2026-04-15 20:34:52,712 - jwst.srctype.srctype - INFO - Input SRCTYAPT = UNKNOWN
2026-04-15 20:34:52,713 - jwst.srctype.srctype - INFO - Input is a TSO exposure; setting SRCTYPE = POINT
2026-04-15 20:34:52,715 - stpipe.step - INFO - Step srctype done
2026-04-15 20:34:52,918 - stpipe.step - INFO - Step master_background_mos running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:34:52,919 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:52,920 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:34:53,119 - stpipe.step - INFO - Step wavecorr running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:34:53,123 - jwst.wavecorr.wavecorr_step - INFO - Using WAVECORR reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_wavecorr_0003.asdf
2026-04-15 20:34:53,124 - jwst.wavecorr.wavecorr - INFO - Detected a POINT source type in slit S1600A1
2026-04-15 20:34:53,228 - jwst.wavecorr.wavecorr - INFO - Using wavelength zero-point correction for aperture S1600A1
2026-04-15 20:34:53,279 - stpipe.step - INFO - Step wavecorr done
2026-04-15 20:34:53,483 - stpipe.step - INFO - Step flat_field running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:34:53,484 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:53,685 - stpipe.step - INFO - Step pathloss running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:34:53,686 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:53,886 - stpipe.step - INFO - Step barshadow running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:34:53,887 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:54,086 - stpipe.step - INFO - Step photom running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits>,).
2026-04-15 20:34:54,087 - stpipe.step - INFO - Step skipped.
2026-04-15 20:34:54,426 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 32, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_calints.fits>,).
2026-04-15 20:34:54,774 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 337 pixels replaced.
2026-04-15 20:34:55,125 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 337 pixels replaced.
2026-04-15 20:34:55,472 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 337 pixels replaced.
2026-04-15 20:34:55,820 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 337 pixels replaced.
2026-04-15 20:34:56,167 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 337 pixels replaced.
2026-04-15 20:34:56,514 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 337 pixels replaced.
2026-04-15 20:34:56,860 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 337 pixels replaced.
2026-04-15 20:34:57,207 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 337 pixels replaced.
2026-04-15 20:34:57,551 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 337 pixels replaced.
2026-04-15 20:34:57,900 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 337 pixels replaced.
2026-04-15 20:34:58,246 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 337 pixels replaced.
2026-04-15 20:34:58,593 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 337 pixels replaced.
2026-04-15 20:34:58,942 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 337 pixels replaced.
2026-04-15 20:34:59,289 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 337 pixels replaced.
2026-04-15 20:34:59,636 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 337 pixels replaced.
2026-04-15 20:34:59,984 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 337 pixels replaced.
2026-04-15 20:35:00,336 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 337 pixels replaced.
2026-04-15 20:35:00,684 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 337 pixels replaced.
2026-04-15 20:35:01,031 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 337 pixels replaced.
2026-04-15 20:35:01,377 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 337 pixels replaced.
2026-04-15 20:35:01,724 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 337 pixels replaced.
2026-04-15 20:35:02,072 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 337 pixels replaced.
2026-04-15 20:35:02,418 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 337 pixels replaced.
2026-04-15 20:35:02,765 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 337 pixels replaced.
2026-04-15 20:35:03,112 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 337 pixels replaced.
2026-04-15 20:35:03,463 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 346 pixels replaced.
2026-04-15 20:35:03,810 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 337 pixels replaced.
2026-04-15 20:35:04,160 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 346 pixels replaced.
2026-04-15 20:35:04,506 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 337 pixels replaced.
2026-04-15 20:35:04,855 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 337 pixels replaced.
2026-04-15 20:35:05,200 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 337 pixels replaced.
2026-04-15 20:35:05,547 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 337 pixels replaced.
2026-04-15 20:35:05,897 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 337 pixels replaced.
2026-04-15 20:35:06,243 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 337 pixels replaced.
2026-04-15 20:35:06,590 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 337 pixels replaced.
2026-04-15 20:35:06,938 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 337 pixels replaced.
2026-04-15 20:35:07,284 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 337 pixels replaced.
2026-04-15 20:35:07,632 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 337 pixels replaced.
2026-04-15 20:35:07,981 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 337 pixels replaced.
2026-04-15 20:35:08,326 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 337 pixels replaced.
2026-04-15 20:35:08,672 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 337 pixels replaced.
2026-04-15 20:35:09,023 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 346 pixels replaced.
2026-04-15 20:35:09,370 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 337 pixels replaced.
2026-04-15 20:35:09,716 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 337 pixels replaced.
2026-04-15 20:35:10,063 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 337 pixels replaced.
2026-04-15 20:35:10,408 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 337 pixels replaced.
2026-04-15 20:35:10,756 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 337 pixels replaced.
2026-04-15 20:35:11,108 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 346 pixels replaced.
2026-04-15 20:35:11,453 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 337 pixels replaced.
2026-04-15 20:35:11,799 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 337 pixels replaced.
2026-04-15 20:35:12,146 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 337 pixels replaced.
2026-04-15 20:35:12,491 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 337 pixels replaced.
2026-04-15 20:35:12,838 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 337 pixels replaced.
2026-04-15 20:35:13,185 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 337 pixels replaced.
2026-04-15 20:35:13,531 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 337 pixels replaced.
2026-04-15 20:35:13,877 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 337 pixels replaced.
2026-04-15 20:35:14,228 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 337 pixels replaced.
2026-04-15 20:35:14,576 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 337 pixels replaced.
2026-04-15 20:35:14,931 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 346 pixels replaced.
2026-04-15 20:35:15,278 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 337 pixels replaced.
2026-04-15 20:35:15,625 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 337 pixels replaced.
2026-04-15 20:35:15,978 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 337 pixels replaced.
2026-04-15 20:35:16,325 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 337 pixels replaced.
2026-04-15 20:35:16,672 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 337 pixels replaced.
2026-04-15 20:35:17,024 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 352 pixels replaced.
2026-04-15 20:35:17,371 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 337 pixels replaced.
2026-04-15 20:35:17,716 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 337 pixels replaced.
2026-04-15 20:35:18,062 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 337 pixels replaced.
2026-04-15 20:35:18,409 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 337 pixels replaced.
2026-04-15 20:35:18,755 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 337 pixels replaced.
2026-04-15 20:35:19,102 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 337 pixels replaced.
2026-04-15 20:35:19,446 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 337 pixels replaced.
2026-04-15 20:35:19,803 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 337 pixels replaced.
2026-04-15 20:35:20,150 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 337 pixels replaced.
2026-04-15 20:35:20,495 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 337 pixels replaced.
2026-04-15 20:35:20,840 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 337 pixels replaced.
2026-04-15 20:35:21,187 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 337 pixels replaced.
2026-04-15 20:35:21,534 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 337 pixels replaced.
2026-04-15 20:35:21,881 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 337 pixels replaced.
2026-04-15 20:35:22,227 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 337 pixels replaced.
2026-04-15 20:35:22,574 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 337 pixels replaced.
2026-04-15 20:35:22,921 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 337 pixels replaced.
2026-04-15 20:35:23,267 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 337 pixels replaced.
2026-04-15 20:35:23,614 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 337 pixels replaced.
2026-04-15 20:35:23,960 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 337 pixels replaced.
2026-04-15 20:35:24,311 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 346 pixels replaced.
2026-04-15 20:35:24,658 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 337 pixels replaced.
2026-04-15 20:35:25,008 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 337 pixels replaced.
2026-04-15 20:35:25,355 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 337 pixels replaced.
2026-04-15 20:35:25,701 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 337 pixels replaced.
2026-04-15 20:35:26,054 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 346 pixels replaced.
2026-04-15 20:35:26,402 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 337 pixels replaced.
2026-04-15 20:35:26,751 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 337 pixels replaced.
2026-04-15 20:35:27,098 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 337 pixels replaced.
2026-04-15 20:35:27,445 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 337 pixels replaced.
2026-04-15 20:35:27,792 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 337 pixels replaced.
2026-04-15 20:35:28,137 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 337 pixels replaced.
2026-04-15 20:35:28,484 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 337 pixels replaced.
2026-04-15 20:35:28,829 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 337 pixels replaced.
2026-04-15 20:35:29,174 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 337 pixels replaced.
2026-04-15 20:35:29,519 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 337 pixels replaced.
2026-04-15 20:35:29,863 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 337 pixels replaced.
2026-04-15 20:35:30,208 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 337 pixels replaced.
2026-04-15 20:35:30,554 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 337 pixels replaced.
2026-04-15 20:35:30,901 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 337 pixels replaced.
2026-04-15 20:35:31,248 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 337 pixels replaced.
2026-04-15 20:35:31,594 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 337 pixels replaced.
2026-04-15 20:35:31,942 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 337 pixels replaced.
2026-04-15 20:35:32,286 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 337 pixels replaced.
2026-04-15 20:35:32,633 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 337 pixels replaced.
2026-04-15 20:35:32,979 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 337 pixels replaced.
2026-04-15 20:35:33,328 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 346 pixels replaced.
2026-04-15 20:35:33,675 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 337 pixels replaced.
2026-04-15 20:35:34,022 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 337 pixels replaced.
2026-04-15 20:35:34,369 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 337 pixels replaced.
2026-04-15 20:35:34,714 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 337 pixels replaced.
2026-04-15 20:35:35,060 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 337 pixels replaced.
2026-04-15 20:35:35,406 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 337 pixels replaced.
2026-04-15 20:35:35,751 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 337 pixels replaced.
2026-04-15 20:35:36,097 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 337 pixels replaced.
2026-04-15 20:35:36,443 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 337 pixels replaced.
2026-04-15 20:35:36,789 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 337 pixels replaced.
2026-04-15 20:35:37,141 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 337 pixels replaced.
2026-04-15 20:35:37,487 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 337 pixels replaced.
2026-04-15 20:35:37,841 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 337 pixels replaced.
2026-04-15 20:35:38,194 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 337 pixels replaced.
2026-04-15 20:35:38,538 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 337 pixels replaced.
2026-04-15 20:35:38,884 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 337 pixels replaced.
2026-04-15 20:35:39,230 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 337 pixels replaced.
2026-04-15 20:35:39,577 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 337 pixels replaced.
2026-04-15 20:35:39,922 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 337 pixels replaced.
2026-04-15 20:35:40,268 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 337 pixels replaced.
2026-04-15 20:35:40,614 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 337 pixels replaced.
2026-04-15 20:35:40,962 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 337 pixels replaced.
2026-04-15 20:35:41,308 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 337 pixels replaced.
2026-04-15 20:35:41,655 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 337 pixels replaced.
2026-04-15 20:35:42,000 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 337 pixels replaced.
2026-04-15 20:35:42,349 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 337 pixels replaced.
2026-04-15 20:35:42,694 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 337 pixels replaced.
2026-04-15 20:35:43,040 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 337 pixels replaced.
2026-04-15 20:35:43,385 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 337 pixels replaced.
2026-04-15 20:35:43,729 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 337 pixels replaced.
2026-04-15 20:35:44,076 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 337 pixels replaced.
2026-04-15 20:35:44,421 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 337 pixels replaced.
2026-04-15 20:35:44,768 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 337 pixels replaced.
2026-04-15 20:35:45,114 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 337 pixels replaced.
2026-04-15 20:35:45,460 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 337 pixels replaced.
2026-04-15 20:35:45,805 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 337 pixels replaced.
2026-04-15 20:35:46,161 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 354 pixels replaced.
2026-04-15 20:35:46,508 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 337 pixels replaced.
2026-04-15 20:35:46,853 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 337 pixels replaced.
2026-04-15 20:35:47,198 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 337 pixels replaced.
2026-04-15 20:35:47,546 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 337 pixels replaced.
2026-04-15 20:35:47,894 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 337 pixels replaced.
2026-04-15 20:35:48,240 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 337 pixels replaced.
2026-04-15 20:35:48,244 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:35:48,578 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 32, 2048) from /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_calints.fits>,).
2026-04-15 20:35:48,583 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:35:48,619 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:35:48,650 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:35:48,651 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:35:48,668 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:35:48,693 - jwst.extract_1d.extract - INFO - Computed source location is 12.46, at pixel 1024, wavelength 4.50
2026-04-15 20:35:48,695 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 12.50 -> 18.50 (inclusive)
2026-04-15 20:35:48,696 - jwst.extract_1d.extract - INFO - Nominal location is 15.50, so offset is -3.04 pixels
2026-04-15 20:35:48,698 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 10.91 -> 16.91 (inclusive)
2026-04-15 20:35:48,713 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:35:50,741 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:35:52,813 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:35:55,221 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:35:55,432 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:35:55,761 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_x1dints.fits
2026-04-15 20:35:55,762 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:35:55,765 - jwst.pipeline.calwebb_spec2 - INFO - Finished processing product /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage1/jw01366003001_04101_00001-seg003_nrs2
2026-04-15 20:35:55,768 - jwst.pipeline.calwebb_spec2 - INFO - Ending calwebb_spec2
2026-04-15 20:35:55,769 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:35:56,019 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_calints.fits
2026-04-15 20:35:56,020 - stpipe.step - INFO - Step Spec2Pipeline done
2026-04-15 20:35:56,020 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
Stage 2 has been completed!
For “cal” or “calints” products that have not been resampled, the extraction region will be curved to follow the calculated trace.
# Print out the time benchmark.
time3 = time.perf_counter()
print(f"Runtime so far: {round((time3 - time0) / 60.0, 1):0.4f} min")
Runtime so far: 21.1000 min
# List the Stage 2 products.
# ------------------------1/f noise cleaned files-------------------------
masks = sorted(glob.glob(spec2_dir + '*mask.fits'))
rate_sci_cl = sorted(glob.glob(spec2_dir + '*clean_flicker_noise.fits'))
flicker_noise = sorted(glob.glob(spec2_dir + '*nrs?_flicker_noise.fits'))
print(f"clean_flicker_noise | MASKS :\n{'-' * 20}\n" + "\n".join(masks))
print(f"clean_flicker_noise | 1/F NOISE:\n{'-' * 20}\n" + "\n".join(flicker_noise))
print(f"clean_flicker_noise | RATE:\n{'-' * 20}\n" + "\n".join(rate_sci_cl))
clean_flicker_noise | MASKS :
--------------------
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_mask.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_mask.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_mask.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_mask.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_mask.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_mask.fits
clean_flicker_noise | 1/F NOISE:
--------------------
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_flicker_noise.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_flicker_noise.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_flicker_noise.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_flicker_noise.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_flicker_noise.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_flicker_noise.fits
clean_flicker_noise | RATE:
--------------------
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_clean_flicker_noise.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_clean_flicker_noise.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_clean_flicker_noise.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_clean_flicker_noise.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_clean_flicker_noise.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_clean_flicker_noise.fits
# List the Stage 2 products.
# -----------------------------Science files-----------------------------
sci_cal = sorted(glob.glob(spec2_dir + '*_calints.fits'))
sci_x1d = sorted(glob.glob(spec2_dir + '*_x1dints.fits'))
print(f"SCIENCE | Stage 2 CAL Products:\n{'-' * 20}\n" + "\n".join(sci_cal))
print(f"SCIENCE | Stage 2 X1D Products:\n{'-' * 20}\n" + "\n".join(sci_x1d))
SCIENCE | Stage 2 CAL Products:
--------------------
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_calints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_calints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_calints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_calints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_calints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_calints.fits
SCIENCE | Stage 2 X1D Products:
--------------------
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs1_x1dints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_x1dints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs1_x1dints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_x1dints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs1_x1dints.fits
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_x1dints.fits
Reorganized TSO Data Products: Previously, each extension contained the 1D spectrum of a single integration. As of build 12.1, each extension provides a table of all 1D spectra from a single segment.
7. Stage 3: Tso3Pipeline (calwebb_tso3)#
In this section, we process our calibrated spectra from Stage 2 (calwebb_spec2) through the Tso3 (calwebb_tso3) pipeline to create Stage 3 data products.
Input: An ASN file that lists multiple exposures or exposure segments of a science target (
_calints.fits).Output: Calibrated time-series spectra and white-light curve.
_x1dints.fits: Extracted 1D spectroscopic data for all integrations contained in the input exposures._whtlt.ecsv: An ASCII catalog inecsvformat containing the wavelength-integrated white-light photometry of the source.
The TSO3Pipeline performs additional corrections (e.g., outlier detection) and produces calibrated time-series spectra and white-light curve of the source object.
7.1 Configure Tso3Pipeline#
The Tso3Pipeline has the following steps available for NIRSpec BOTS:
outlier_detection: Identification of bad pixels or cosmic-rays that remain in each of the input images.
pixel_replace: Extrapolate values for otherwise bad pixels.
extract_1d: Extracts a 1D signal from 2D or 3D datasets.
white_light: Sums the spectroscopic flux over all wavelengths in each integration of a multi-integration extracted spectrum product to produce an integrated (“white”) flux as a function of time for the target.
For more information about each step and a full list of step arguments, please refer to the official documentation: JDox • ReadtheDocs
Below, we set up a dictionary that defines how the TSO3Pipeline should be configured for BOTS data.
To override specific steps and reference files, use the examples below.
# Set up a dictionary to define how the TSO3 pipeline should be configured.
# this sets up any entry to tso3dict to be a dictionary itself
tso3dict = defaultdict(dict)
# ---------------------------Override reference files---------------------------
# Overrides for various reference files.
# Files should be in the base local directory or provide full path.
#tso3dict['extract_1d']['override_extract1d'] = 'myfile.json' (JSON file)
# -----------------------------Set step parameters------------------------------
# Overrides for whether or not certain steps should be skipped (example).
# Pixel replacement can help mitigate 5-10% negative dips in spectra of bright sources.
# Use the 'fit_profile' algorithm. The 'mingrad' algorithm is also a good option here.
tso3dict['pixel_replace']['skip'] = False
tso3dict['pixel_replace']['n_adjacent_cols'] = 5 # remove if using mingrad
tso3dict['pixel_replace']['algorithm'] = 'fit_profile' #'mingrad'
7.2 Create Tso3Pipeline ASN Files#
Stage 3 ASN files for BOTS data includes science exposure types. A Stage 3 ASN file requires at least one science file, although there is usually more than one. Note that the science exposures should be in the _calints.fits format.
In practice, Stage 3 ASN files can be downloaded directly from MAST, however, here we provide an example of manually creating Stage 3 ASN files. Below we create an ASN files for each GRATING/FILTER combination.
def writel3asn(scifiles, detector=None):
"""
Create a Level 3 association file.
Parameters
----------
scifiles : list of str
List of all science exposure files.
detector : str, optional
Detector names to include. If None, include all.
Returns
-------
None.
"""
# Filter based on GRATING/FILTER.
grouped = defaultdict(lambda: {'sci': [], 'bg': []})
for f in scifiles:
if detector:
det = fits.getval(f, 'DETECTOR')
if det != detector:
continue # Skip if detector does not match.
filt = fits.getval(f, 'FILTER')
grat = fits.getval(f, 'GRATING')
grouped[(filt, grat)]['sci'].append(f)
# Make ASN for each FILTER/GRATING.
for (filt, grat), files in grouped.items():
name = f"{filt}_{grat}".lower()
asnfile = os.path.join(asn_dir, f"{name}_l3asn.json")
asn = afl.asn_from_list(files['sci'], rule=DMS_Level3_Base, product_name=name)
asn.data['asn_type'] = 'tso3'
asn.data['program'] = program if 'program' in globals() else "9999"
with open(asnfile, 'w') as f:
f.write(asn.dump()[1])
print("Level 3 ASN creation complete!")
if dotso3:
# Restrict to one detector for the demo.
writel3asn(sci_cal, detector=None)
Level 3 ASN creation complete!
/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)
# Open an ASN file as an example.
# Check that file paths have been correctly updated.
if dotso3:
tso3_asn = glob.glob(asn_dir + '*l3asn.json')[0]
with open(tso3_asn, 'r') as f_obj:
asnfile_data = json.load(f_obj)
display(JSON(asnfile_data, expanded=True))
<IPython.core.display.JSON object>
7.3 Run Tso3Pipeline#
Run the science files through the calwebb_tso3 pipeline using the .call() method.
# Run Stage 3 pipeline using the custom tso33dict dictionary.
if dotso3:
for tso3_asn in glob.glob(asn_dir + '*l3asn.json'):
print(f"Applying Stage 3 to: {os.path.basename(tso3_asn)}")
tso3_result = Tso3Pipeline.call(tso3_asn,
save_results=True,
steps=tso3dict,
output_dir=tso3_dir)
print("Stage 3 has been completed!\n")
else:
print("Skipping Stage 3. \n")
2026-04-15 20:35:56,212 - CRDS - ERROR - Error determining best reference for 'pars-outlierdetectionstep' = parameter='META.EXPOSURE.TYPE [EXP_TYPE]' value='NRS_BRIGHTOBJ' is not in ['NRS_FIXEDSLIT', 'NRS_IFU', 'NRS_MSASPEC']
2026-04-15 20:35:56,218 - CRDS - ERROR - Error determining best reference for 'pars-whitelightstep' = No match found.
2026-04-15 20:35:56,224 - stpipe.step - INFO - Tso3Pipeline instance created.
Applying Stage 3 to: f290lp_g395h_l3asn.json
2026-04-15 20:35:56,225 - stpipe.step - INFO - OutlierDetectionStep instance created.
2026-04-15 20:35:56,226 - stpipe.step - INFO - TSOPhotometryStep instance created.
2026-04-15 20:35:56,227 - stpipe.step - INFO - PixelReplaceStep instance created.
2026-04-15 20:35:56,228 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:35:56,229 - stpipe.step - INFO - PhotomStep instance created.
2026-04-15 20:35:56,230 - stpipe.step - INFO - WhiteLightStep instance created.
2026-04-15 20:35:56,503 - stpipe.step - INFO - Step Tso3Pipeline running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/asn/f290lp_g395h_l3asn.json',).
2026-04-15 20:35:56,513 - stpipe.step - INFO - Step Tso3Pipeline parameters are:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage3/
output_ext: .fits
output_use_model: False
output_use_index: True
save_results: True
skip: False
suffix: None
search_output_file: True
input_dir: ''
steps:
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
tso_photometry:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
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_catalog: False
radius: 3.0
radius_inner: 4.0
radius_outer: 5.0
centroid_source: True
search_box_width: 41
fit_box_width: 11
moving_centroid: False
pixel_replace:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: False
skip: False
suffix: None
search_output_file: True
input_dir: ''
algorithm: fit_profile
n_adjacent_cols: 5
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
white_light:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: None
output_ext: .ecsv
output_use_model: False
output_use_index: True
save_results: False
skip: False
suffix: whtlt
search_output_file: True
input_dir: ''
min_wavelength: None
max_wavelength: None
2026-04-15 20:35:56,629 - stpipe.pipeline - INFO - Prefetching reference files for dataset: 'f290lp_g395h_l3asn.json' reftypes = ['gain', 'readnoise']
2026-04-15 20:35:56,631 - stpipe.pipeline - INFO - Prefetch for GAIN reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_gain_0025.fits'.
2026-04-15 20:35:56,632 - stpipe.pipeline - INFO - Prefetch for READNOISE reference file is '/home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_readnoise_0043.fits'.
2026-04-15 20:35:56,632 - jwst.pipeline.calwebb_tso3 - INFO - Starting calwebb_tso3...
2026-04-15 20:35:59,029 - jwst.pipeline.calwebb_tso3 - INFO - Performing outlier detection on input images ...
2026-04-15 20:35:59,278 - stpipe.step - INFO - Step outlier_detection running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg001_nrs1_calints.fits>,).
2026-04-15 20:35:59,279 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection mode: tso
2026-04-15 20:35:59,280 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection asn_id: a3001
2026-04-15 20:36:02,351 - jwst.outlier_detection.tso - INFO - Flagging outliers
2026-04-15 20:36:02,415 - jwst.outlier_detection.utils - INFO - 5351 pixels marked as outliers
2026-04-15 20:36:02,421 - stpipe.step - INFO - Step outlier_detection done
2026-04-15 20:36:02,422 - jwst.pipeline.calwebb_tso3 - INFO - Saving crfints products with updated DQ arrays ...
2026-04-15 20:36:02,656 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage3/jw01366003001_04101_00001-seg001_nrs1_a3001_crfints.fits
2026-04-15 20:36:02,658 - jwst.pipeline.calwebb_tso3 - INFO - Performing outlier detection on input images ...
2026-04-15 20:36:02,921 - stpipe.step - INFO - Step outlier_detection running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_calints.fits>,).
2026-04-15 20:36:02,922 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection mode: tso
2026-04-15 20:36:02,923 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection asn_id: a3001
2026-04-15 20:36:09,877 - jwst.outlier_detection.tso - INFO - Flagging outliers
2026-04-15 20:36:09,996 - jwst.outlier_detection.utils - INFO - 15734 pixels marked as outliers
2026-04-15 20:36:10,004 - stpipe.step - INFO - Step outlier_detection done
2026-04-15 20:36:10,004 - jwst.pipeline.calwebb_tso3 - INFO - Saving crfints products with updated DQ arrays ...
2026-04-15 20:36:10,267 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage3/jw01366003001_04101_00001-seg001_nrs2_a3001_crfints.fits
2026-04-15 20:36:10,268 - jwst.pipeline.calwebb_tso3 - INFO - Performing outlier detection on input images ...
2026-04-15 20:36:10,526 - stpipe.step - INFO - Step outlier_detection running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg002_nrs1_calints.fits>,).
2026-04-15 20:36:10,527 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection mode: tso
2026-04-15 20:36:10,527 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection asn_id: a3001
2026-04-15 20:36:13,561 - jwst.outlier_detection.tso - INFO - Flagging outliers
2026-04-15 20:36:13,622 - jwst.outlier_detection.utils - INFO - 5268 pixels marked as outliers
2026-04-15 20:36:13,629 - stpipe.step - INFO - Step outlier_detection done
2026-04-15 20:36:13,629 - jwst.pipeline.calwebb_tso3 - INFO - Saving crfints products with updated DQ arrays ...
2026-04-15 20:36:13,864 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage3/jw01366003001_04101_00001-seg002_nrs1_a3001_crfints.fits
2026-04-15 20:36:13,866 - jwst.pipeline.calwebb_tso3 - INFO - Performing outlier detection on input images ...
2026-04-15 20:36:14,120 - stpipe.step - INFO - Step outlier_detection running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_calints.fits>,).
2026-04-15 20:36:14,121 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection mode: tso
2026-04-15 20:36:14,122 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection asn_id: a3001
2026-04-15 20:36:21,051 - jwst.outlier_detection.tso - INFO - Flagging outliers
2026-04-15 20:36:21,166 - jwst.outlier_detection.utils - INFO - 15248 pixels marked as outliers
2026-04-15 20:36:21,173 - stpipe.step - INFO - Step outlier_detection done
2026-04-15 20:36:21,174 - jwst.pipeline.calwebb_tso3 - INFO - Saving crfints products with updated DQ arrays ...
2026-04-15 20:36:21,424 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage3/jw01366003001_04101_00001-seg002_nrs2_a3001_crfints.fits
2026-04-15 20:36:21,426 - jwst.pipeline.calwebb_tso3 - INFO - Performing outlier detection on input images ...
2026-04-15 20:36:21,682 - stpipe.step - INFO - Step outlier_detection running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg003_nrs1_calints.fits>,).
2026-04-15 20:36:21,683 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection mode: tso
2026-04-15 20:36:21,683 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection asn_id: a3001
2026-04-15 20:36:24,739 - jwst.outlier_detection.tso - INFO - Flagging outliers
2026-04-15 20:36:24,799 - jwst.outlier_detection.utils - INFO - 4625 pixels marked as outliers
2026-04-15 20:36:24,806 - stpipe.step - INFO - Step outlier_detection done
2026-04-15 20:36:24,807 - jwst.pipeline.calwebb_tso3 - INFO - Saving crfints products with updated DQ arrays ...
2026-04-15 20:36:25,031 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage3/jw01366003001_04101_00001-seg003_nrs1_a3001_crfints.fits
2026-04-15 20:36:25,033 - jwst.pipeline.calwebb_tso3 - INFO - Performing outlier detection on input images ...
2026-04-15 20:36:25,282 - stpipe.step - INFO - Step outlier_detection running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_calints.fits>,).
2026-04-15 20:36:25,283 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection mode: tso
2026-04-15 20:36:25,283 - jwst.outlier_detection.outlier_detection_step - INFO - Outlier Detection asn_id: a3001
2026-04-15 20:36:32,234 - jwst.outlier_detection.tso - INFO - Flagging outliers
2026-04-15 20:36:32,348 - jwst.outlier_detection.utils - INFO - 15058 pixels marked as outliers
2026-04-15 20:36:32,356 - stpipe.step - INFO - Step outlier_detection done
2026-04-15 20:36:32,356 - jwst.pipeline.calwebb_tso3 - INFO - Saving crfints products with updated DQ arrays ...
2026-04-15 20:36:32,606 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage3/jw01366003001_04101_00001-seg003_nrs2_a3001_crfints.fits
2026-04-15 20:36:32,874 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg001_nrs1_calints.fits>,).
2026-04-15 20:36:33,189 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 222 pixels replaced.
2026-04-15 20:36:33,497 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 216 pixels replaced.
2026-04-15 20:36:33,811 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 223 pixels replaced.
2026-04-15 20:36:34,101 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 202 pixels replaced.
2026-04-15 20:36:34,404 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 212 pixels replaced.
2026-04-15 20:36:34,694 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 203 pixels replaced.
2026-04-15 20:36:34,993 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 217 pixels replaced.
2026-04-15 20:36:35,306 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 217 pixels replaced.
2026-04-15 20:36:35,589 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 198 pixels replaced.
2026-04-15 20:36:35,869 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 200 pixels replaced.
2026-04-15 20:36:36,169 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 208 pixels replaced.
2026-04-15 20:36:36,465 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 221 pixels replaced.
2026-04-15 20:36:36,749 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 202 pixels replaced.
2026-04-15 20:36:37,055 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 214 pixels replaced.
2026-04-15 20:36:37,365 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 218 pixels replaced.
2026-04-15 20:36:37,661 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 207 pixels replaced.
2026-04-15 20:36:37,947 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 210 pixels replaced.
2026-04-15 20:36:38,250 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 213 pixels replaced.
2026-04-15 20:36:38,545 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 209 pixels replaced.
2026-04-15 20:36:38,851 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 211 pixels replaced.
2026-04-15 20:36:39,146 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 207 pixels replaced.
2026-04-15 20:36:39,438 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 203 pixels replaced.
2026-04-15 20:36:39,729 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 208 pixels replaced.
2026-04-15 20:36:40,023 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 203 pixels replaced.
2026-04-15 20:36:40,303 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 198 pixels replaced.
2026-04-15 20:36:40,591 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 204 pixels replaced.
2026-04-15 20:36:40,887 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 211 pixels replaced.
2026-04-15 20:36:41,181 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 211 pixels replaced.
2026-04-15 20:36:41,496 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 219 pixels replaced.
2026-04-15 20:36:41,810 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 220 pixels replaced.
2026-04-15 20:36:42,105 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 205 pixels replaced.
2026-04-15 20:36:42,416 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 228 pixels replaced.
2026-04-15 20:36:42,704 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 201 pixels replaced.
2026-04-15 20:36:43,010 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 217 pixels replaced.
2026-04-15 20:36:43,300 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 203 pixels replaced.
2026-04-15 20:36:43,583 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 197 pixels replaced.
2026-04-15 20:36:43,909 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 222 pixels replaced.
2026-04-15 20:36:44,204 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 206 pixels replaced.
2026-04-15 20:36:44,502 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 216 pixels replaced.
2026-04-15 20:36:44,809 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 212 pixels replaced.
2026-04-15 20:36:45,110 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 212 pixels replaced.
2026-04-15 20:36:45,436 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 253 pixels replaced.
2026-04-15 20:36:45,736 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 217 pixels replaced.
2026-04-15 20:36:46,044 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 232 pixels replaced.
2026-04-15 20:36:46,331 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 205 pixels replaced.
2026-04-15 20:36:46,626 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 209 pixels replaced.
2026-04-15 20:36:46,915 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 205 pixels replaced.
2026-04-15 20:36:47,207 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 203 pixels replaced.
2026-04-15 20:36:47,500 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 206 pixels replaced.
2026-04-15 20:36:47,797 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 210 pixels replaced.
2026-04-15 20:36:48,093 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 218 pixels replaced.
2026-04-15 20:36:48,394 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 209 pixels replaced.
2026-04-15 20:36:48,690 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 207 pixels replaced.
2026-04-15 20:36:48,984 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 207 pixels replaced.
2026-04-15 20:36:49,262 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 198 pixels replaced.
2026-04-15 20:36:49,566 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 210 pixels replaced.
2026-04-15 20:36:49,878 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 214 pixels replaced.
2026-04-15 20:36:50,174 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 209 pixels replaced.
2026-04-15 20:36:50,492 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 219 pixels replaced.
2026-04-15 20:36:50,815 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 220 pixels replaced.
2026-04-15 20:36:51,106 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 204 pixels replaced.
2026-04-15 20:36:51,410 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 211 pixels replaced.
2026-04-15 20:36:51,696 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 205 pixels replaced.
2026-04-15 20:36:51,989 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 211 pixels replaced.
2026-04-15 20:36:52,288 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 212 pixels replaced.
2026-04-15 20:36:52,587 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 217 pixels replaced.
2026-04-15 20:36:52,882 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 208 pixels replaced.
2026-04-15 20:36:53,182 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 211 pixels replaced.
2026-04-15 20:36:53,482 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 209 pixels replaced.
2026-04-15 20:36:53,759 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 198 pixels replaced.
2026-04-15 20:36:54,058 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 212 pixels replaced.
2026-04-15 20:36:54,336 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 197 pixels replaced.
2026-04-15 20:36:54,631 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 209 pixels replaced.
2026-04-15 20:36:54,919 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 203 pixels replaced.
2026-04-15 20:36:55,205 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 203 pixels replaced.
2026-04-15 20:36:55,500 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 204 pixels replaced.
2026-04-15 20:36:55,795 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 208 pixels replaced.
2026-04-15 20:36:56,085 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 203 pixels replaced.
2026-04-15 20:36:56,383 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 211 pixels replaced.
2026-04-15 20:36:56,686 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 215 pixels replaced.
2026-04-15 20:36:56,974 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 207 pixels replaced.
2026-04-15 20:36:57,253 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 197 pixels replaced.
2026-04-15 20:36:57,539 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 202 pixels replaced.
2026-04-15 20:36:57,854 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 225 pixels replaced.
2026-04-15 20:36:58,156 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 212 pixels replaced.
2026-04-15 20:36:58,449 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 206 pixels replaced.
2026-04-15 20:36:58,745 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 209 pixels replaced.
2026-04-15 20:36:59,028 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 203 pixels replaced.
2026-04-15 20:36:59,318 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 206 pixels replaced.
2026-04-15 20:36:59,616 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 214 pixels replaced.
2026-04-15 20:36:59,920 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 212 pixels replaced.
2026-04-15 20:37:00,221 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 218 pixels replaced.
2026-04-15 20:37:00,508 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 197 pixels replaced.
2026-04-15 20:37:00,808 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 206 pixels replaced.
2026-04-15 20:37:01,115 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 215 pixels replaced.
2026-04-15 20:37:01,407 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 203 pixels replaced.
2026-04-15 20:37:01,696 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 200 pixels replaced.
2026-04-15 20:37:02,003 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 211 pixels replaced.
2026-04-15 20:37:02,298 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 203 pixels replaced.
2026-04-15 20:37:02,590 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 212 pixels replaced.
2026-04-15 20:37:02,881 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 207 pixels replaced.
2026-04-15 20:37:03,178 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 214 pixels replaced.
2026-04-15 20:37:03,470 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 261 pixels replaced.
2026-04-15 20:37:03,761 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 205 pixels replaced.
2026-04-15 20:37:04,058 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 209 pixels replaced.
2026-04-15 20:37:04,357 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 208 pixels replaced.
2026-04-15 20:37:04,638 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 207 pixels replaced.
2026-04-15 20:37:04,938 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 212 pixels replaced.
2026-04-15 20:37:05,238 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 214 pixels replaced.
2026-04-15 20:37:05,536 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 209 pixels replaced.
2026-04-15 20:37:05,831 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 206 pixels replaced.
2026-04-15 20:37:06,141 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 217 pixels replaced.
2026-04-15 20:37:06,428 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 201 pixels replaced.
2026-04-15 20:37:06,717 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 202 pixels replaced.
2026-04-15 20:37:07,009 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 209 pixels replaced.
2026-04-15 20:37:07,322 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 222 pixels replaced.
2026-04-15 20:37:07,620 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 217 pixels replaced.
2026-04-15 20:37:07,921 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 235 pixels replaced.
2026-04-15 20:37:08,193 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 195 pixels replaced.
2026-04-15 20:37:08,497 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 210 pixels replaced.
2026-04-15 20:37:08,820 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 225 pixels replaced.
2026-04-15 20:37:09,114 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 206 pixels replaced.
2026-04-15 20:37:09,401 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 202 pixels replaced.
2026-04-15 20:37:09,708 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 218 pixels replaced.
2026-04-15 20:37:10,007 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 208 pixels replaced.
2026-04-15 20:37:10,302 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 206 pixels replaced.
2026-04-15 20:37:10,604 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 211 pixels replaced.
2026-04-15 20:37:10,895 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 205 pixels replaced.
2026-04-15 20:37:11,192 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 203 pixels replaced.
2026-04-15 20:37:11,509 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 220 pixels replaced.
2026-04-15 20:37:11,821 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 231 pixels replaced.
2026-04-15 20:37:12,122 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 211 pixels replaced.
2026-04-15 20:37:12,426 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 233 pixels replaced.
2026-04-15 20:37:12,725 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 209 pixels replaced.
2026-04-15 20:37:13,023 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 210 pixels replaced.
2026-04-15 20:37:13,321 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 209 pixels replaced.
2026-04-15 20:37:13,616 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 207 pixels replaced.
2026-04-15 20:37:13,910 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 202 pixels replaced.
2026-04-15 20:37:14,228 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 223 pixels replaced.
2026-04-15 20:37:14,536 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 214 pixels replaced.
2026-04-15 20:37:14,835 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 212 pixels replaced.
2026-04-15 20:37:15,126 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 208 pixels replaced.
2026-04-15 20:37:15,421 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 206 pixels replaced.
2026-04-15 20:37:15,723 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 208 pixels replaced.
2026-04-15 20:37:16,026 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 212 pixels replaced.
2026-04-15 20:37:16,310 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 201 pixels replaced.
2026-04-15 20:37:16,603 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 205 pixels replaced.
2026-04-15 20:37:16,909 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 206 pixels replaced.
2026-04-15 20:37:17,215 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 212 pixels replaced.
2026-04-15 20:37:17,520 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 209 pixels replaced.
2026-04-15 20:37:17,810 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 206 pixels replaced.
2026-04-15 20:37:18,098 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 203 pixels replaced.
2026-04-15 20:37:18,399 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 220 pixels replaced.
2026-04-15 20:37:18,698 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 209 pixels replaced.
2026-04-15 20:37:18,996 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 208 pixels replaced.
2026-04-15 20:37:19,002 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:37:19,003 - jwst.pipeline.calwebb_tso3 - INFO - Extracting 1-D spectra ...
2026-04-15 20:37:19,235 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg001_nrs1_calints.fits>,).
2026-04-15 20:37:19,341 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:37:19,346 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits
2026-04-15 20:37:19,411 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:37:19,428 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:37:19,429 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:37:19,446 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:37:19,466 - jwst.extract_1d.extract - INFO - Computed source location is 13.55, at pixel 636, wavelength 3.29
2026-04-15 20:37:19,468 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 10.50 -> 16.50 (inclusive)
2026-04-15 20:37:19,469 - jwst.extract_1d.extract - INFO - Nominal location is 13.50, so offset is 0.05 pixels
2026-04-15 20:37:19,470 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 11.09 -> 17.09 (inclusive)
2026-04-15 20:37:19,485 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-04-15 20:37:19,537 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:37:22,415 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:37:24,317 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:37:26,542 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:37:26,734 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:37:26,930 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:37:27,254 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_calints.fits>,).
2026-04-15 20:37:27,815 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 457 pixels replaced.
2026-04-15 20:37:28,354 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 453 pixels replaced.
2026-04-15 20:37:28,878 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 446 pixels replaced.
2026-04-15 20:37:29,401 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 442 pixels replaced.
2026-04-15 20:37:29,932 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 481 pixels replaced.
2026-04-15 20:37:30,427 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 425 pixels replaced.
2026-04-15 20:37:30,916 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 420 pixels replaced.
2026-04-15 20:37:31,442 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 445 pixels replaced.
2026-04-15 20:37:31,971 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 445 pixels replaced.
2026-04-15 20:37:32,466 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 423 pixels replaced.
2026-04-15 20:37:32,974 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 435 pixels replaced.
2026-04-15 20:37:33,506 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 444 pixels replaced.
2026-04-15 20:37:34,004 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 430 pixels replaced.
2026-04-15 20:37:34,517 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 444 pixels replaced.
2026-04-15 20:37:35,036 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 450 pixels replaced.
2026-04-15 20:37:35,561 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 447 pixels replaced.
2026-04-15 20:37:36,049 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 429 pixels replaced.
2026-04-15 20:37:36,557 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 436 pixels replaced.
2026-04-15 20:37:37,061 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 439 pixels replaced.
2026-04-15 20:37:37,574 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 437 pixels replaced.
2026-04-15 20:37:38,101 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 445 pixels replaced.
2026-04-15 20:37:38,610 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 439 pixels replaced.
2026-04-15 20:37:39,130 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 444 pixels replaced.
2026-04-15 20:37:39,634 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 426 pixels replaced.
2026-04-15 20:37:40,150 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 436 pixels replaced.
2026-04-15 20:37:40,659 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 433 pixels replaced.
2026-04-15 20:37:41,193 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 443 pixels replaced.
2026-04-15 20:37:41,697 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 432 pixels replaced.
2026-04-15 20:37:42,221 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 445 pixels replaced.
2026-04-15 20:37:42,746 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 440 pixels replaced.
2026-04-15 20:37:43,277 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 450 pixels replaced.
2026-04-15 20:37:43,822 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 457 pixels replaced.
2026-04-15 20:37:44,362 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 451 pixels replaced.
2026-04-15 20:37:44,894 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 475 pixels replaced.
2026-04-15 20:37:45,392 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 429 pixels replaced.
2026-04-15 20:37:45,899 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 436 pixels replaced.
2026-04-15 20:37:46,430 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 445 pixels replaced.
2026-04-15 20:37:46,943 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 442 pixels replaced.
2026-04-15 20:37:47,436 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 422 pixels replaced.
2026-04-15 20:37:47,960 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 442 pixels replaced.
2026-04-15 20:37:48,493 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 450 pixels replaced.
2026-04-15 20:37:48,983 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 437 pixels replaced.
2026-04-15 20:37:49,489 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 435 pixels replaced.
2026-04-15 20:37:49,995 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 433 pixels replaced.
2026-04-15 20:37:50,491 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 423 pixels replaced.
2026-04-15 20:37:50,993 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 429 pixels replaced.
2026-04-15 20:37:51,488 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 429 pixels replaced.
2026-04-15 20:37:51,992 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 430 pixels replaced.
2026-04-15 20:37:52,498 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 430 pixels replaced.
2026-04-15 20:37:53,038 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 457 pixels replaced.
2026-04-15 20:37:53,543 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 428 pixels replaced.
2026-04-15 20:37:54,057 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 435 pixels replaced.
2026-04-15 20:37:54,567 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 439 pixels replaced.
2026-04-15 20:37:55,084 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 439 pixels replaced.
2026-04-15 20:37:55,603 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 438 pixels replaced.
2026-04-15 20:37:56,120 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 436 pixels replaced.
2026-04-15 20:37:56,608 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 424 pixels replaced.
2026-04-15 20:37:57,135 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 447 pixels replaced.
2026-04-15 20:37:57,670 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 464 pixels replaced.
2026-04-15 20:37:58,202 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 447 pixels replaced.
2026-04-15 20:37:58,739 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 454 pixels replaced.
2026-04-15 20:37:59,254 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 451 pixels replaced.
2026-04-15 20:37:59,789 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 458 pixels replaced.
2026-04-15 20:38:00,290 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 427 pixels replaced.
2026-04-15 20:38:00,807 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 441 pixels replaced.
2026-04-15 20:38:01,311 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 430 pixels replaced.
2026-04-15 20:38:01,819 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 432 pixels replaced.
2026-04-15 20:38:02,339 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 442 pixels replaced.
2026-04-15 20:38:02,878 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 459 pixels replaced.
2026-04-15 20:38:03,409 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 442 pixels replaced.
2026-04-15 20:38:03,931 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 442 pixels replaced.
2026-04-15 20:38:04,485 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 457 pixels replaced.
2026-04-15 20:38:04,989 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 425 pixels replaced.
2026-04-15 20:38:05,507 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 439 pixels replaced.
2026-04-15 20:38:06,042 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 445 pixels replaced.
2026-04-15 20:38:06,540 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 429 pixels replaced.
2026-04-15 20:38:07,052 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 436 pixels replaced.
2026-04-15 20:38:07,592 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 446 pixels replaced.
2026-04-15 20:38:08,121 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 453 pixels replaced.
2026-04-15 20:38:08,625 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 436 pixels replaced.
2026-04-15 20:38:09,133 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 436 pixels replaced.
2026-04-15 20:38:09,673 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 465 pixels replaced.
2026-04-15 20:38:10,190 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 461 pixels replaced.
2026-04-15 20:38:10,735 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 459 pixels replaced.
2026-04-15 20:38:11,261 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 447 pixels replaced.
2026-04-15 20:38:11,793 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 440 pixels replaced.
2026-04-15 20:38:12,283 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 421 pixels replaced.
2026-04-15 20:38:12,814 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 444 pixels replaced.
2026-04-15 20:38:13,345 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 448 pixels replaced.
2026-04-15 20:38:13,857 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 435 pixels replaced.
2026-04-15 20:38:14,359 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 428 pixels replaced.
2026-04-15 20:38:14,871 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 440 pixels replaced.
2026-04-15 20:38:15,379 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 441 pixels replaced.
2026-04-15 20:38:15,867 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 431 pixels replaced.
2026-04-15 20:38:16,352 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 425 pixels replaced.
2026-04-15 20:38:16,871 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 444 pixels replaced.
2026-04-15 20:38:17,396 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 450 pixels replaced.
2026-04-15 20:38:17,906 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 438 pixels replaced.
2026-04-15 20:38:18,427 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 449 pixels replaced.
2026-04-15 20:38:18,942 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 513 pixels replaced.
2026-04-15 20:38:19,457 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 437 pixels replaced.
2026-04-15 20:38:19,958 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 424 pixels replaced.
2026-04-15 20:38:20,488 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 447 pixels replaced.
2026-04-15 20:38:21,007 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 439 pixels replaced.
2026-04-15 20:38:21,509 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 428 pixels replaced.
2026-04-15 20:38:22,016 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 429 pixels replaced.
2026-04-15 20:38:22,536 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 437 pixels replaced.
2026-04-15 20:38:23,058 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 441 pixels replaced.
2026-04-15 20:38:23,554 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 429 pixels replaced.
2026-04-15 20:38:24,047 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 424 pixels replaced.
2026-04-15 20:38:24,560 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 436 pixels replaced.
2026-04-15 20:38:25,079 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 435 pixels replaced.
2026-04-15 20:38:25,595 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 444 pixels replaced.
2026-04-15 20:38:26,102 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 425 pixels replaced.
2026-04-15 20:38:26,628 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 448 pixels replaced.
2026-04-15 20:38:27,167 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 448 pixels replaced.
2026-04-15 20:38:27,664 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 428 pixels replaced.
2026-04-15 20:38:28,157 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 424 pixels replaced.
2026-04-15 20:38:28,668 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 442 pixels replaced.
2026-04-15 20:38:29,184 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 446 pixels replaced.
2026-04-15 20:38:29,699 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 458 pixels replaced.
2026-04-15 20:38:30,215 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 436 pixels replaced.
2026-04-15 20:38:30,747 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 442 pixels replaced.
2026-04-15 20:38:31,252 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 433 pixels replaced.
2026-04-15 20:38:31,763 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 436 pixels replaced.
2026-04-15 20:38:32,256 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 420 pixels replaced.
2026-04-15 20:38:32,732 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 423 pixels replaced.
2026-04-15 20:38:33,238 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 424 pixels replaced.
2026-04-15 20:38:33,740 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 431 pixels replaced.
2026-04-15 20:38:34,226 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 420 pixels replaced.
2026-04-15 20:38:34,712 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 429 pixels replaced.
2026-04-15 20:38:35,229 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 439 pixels replaced.
2026-04-15 20:38:35,727 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 422 pixels replaced.
2026-04-15 20:38:36,242 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 438 pixels replaced.
2026-04-15 20:38:36,758 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 437 pixels replaced.
2026-04-15 20:38:37,275 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 446 pixels replaced.
2026-04-15 20:38:37,787 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 431 pixels replaced.
2026-04-15 20:38:38,295 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 433 pixels replaced.
2026-04-15 20:38:38,811 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 437 pixels replaced.
2026-04-15 20:38:39,301 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 422 pixels replaced.
2026-04-15 20:38:39,793 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 424 pixels replaced.
2026-04-15 20:38:40,301 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 428 pixels replaced.
2026-04-15 20:38:40,850 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 456 pixels replaced.
2026-04-15 20:38:41,366 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 432 pixels replaced.
2026-04-15 20:38:41,875 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 434 pixels replaced.
2026-04-15 20:38:42,409 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 450 pixels replaced.
2026-04-15 20:38:42,927 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 434 pixels replaced.
2026-04-15 20:38:43,453 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 447 pixels replaced.
2026-04-15 20:38:43,954 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 433 pixels replaced.
2026-04-15 20:38:44,475 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 439 pixels replaced.
2026-04-15 20:38:44,977 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 437 pixels replaced.
2026-04-15 20:38:45,504 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 445 pixels replaced.
2026-04-15 20:38:46,013 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 436 pixels replaced.
2026-04-15 20:38:46,536 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 435 pixels replaced.
2026-04-15 20:38:47,037 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 433 pixels replaced.
2026-04-15 20:38:47,045 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:38:47,045 - jwst.pipeline.calwebb_tso3 - INFO - Extracting 1-D spectra ...
2026-04-15 20:38:47,285 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg001_nrs2_calints.fits>,).
2026-04-15 20:38:47,366 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:38:47,373 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits
2026-04-15 20:38:47,441 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:38:47,471 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:38:47,472 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:38:47,489 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:38:47,519 - jwst.extract_1d.extract - INFO - Computed source location is 12.46, at pixel 1024, wavelength 4.50
2026-04-15 20:38:47,521 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 12.50 -> 18.50 (inclusive)
2026-04-15 20:38:47,522 - jwst.extract_1d.extract - INFO - Nominal location is 15.50, so offset is -3.04 pixels
2026-04-15 20:38:47,524 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 10.91 -> 16.91 (inclusive)
2026-04-15 20:38:47,542 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-04-15 20:38:47,595 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:38:51,268 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:38:53,324 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:38:55,690 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:38:55,896 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:38:56,123 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:38:56,454 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg002_nrs1_calints.fits>,).
2026-04-15 20:38:56,742 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 203 pixels replaced.
2026-04-15 20:38:57,042 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 211 pixels replaced.
2026-04-15 20:38:57,347 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 215 pixels replaced.
2026-04-15 20:38:57,638 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 207 pixels replaced.
2026-04-15 20:38:57,936 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 211 pixels replaced.
2026-04-15 20:38:58,218 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 203 pixels replaced.
2026-04-15 20:38:58,514 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 216 pixels replaced.
2026-04-15 20:38:58,790 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 198 pixels replaced.
2026-04-15 20:38:59,078 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 207 pixels replaced.
2026-04-15 20:38:59,384 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 232 pixels replaced.
2026-04-15 20:38:59,662 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 199 pixels replaced.
2026-04-15 20:38:59,954 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 236 pixels replaced.
2026-04-15 20:39:00,248 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 211 pixels replaced.
2026-04-15 20:39:00,537 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 205 pixels replaced.
2026-04-15 20:39:00,850 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 229 pixels replaced.
2026-04-15 20:39:01,135 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 202 pixels replaced.
2026-04-15 20:39:01,429 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 214 pixels replaced.
2026-04-15 20:39:01,722 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 202 pixels replaced.
2026-04-15 20:39:02,005 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 201 pixels replaced.
2026-04-15 20:39:02,301 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 215 pixels replaced.
2026-04-15 20:39:02,603 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 220 pixels replaced.
2026-04-15 20:39:02,919 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 218 pixels replaced.
2026-04-15 20:39:03,202 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 200 pixels replaced.
2026-04-15 20:39:03,498 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 214 pixels replaced.
2026-04-15 20:39:03,794 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 211 pixels replaced.
2026-04-15 20:39:04,077 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 204 pixels replaced.
2026-04-15 20:39:04,377 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 214 pixels replaced.
2026-04-15 20:39:04,674 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 210 pixels replaced.
2026-04-15 20:39:04,961 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 210 pixels replaced.
2026-04-15 20:39:05,248 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 220 pixels replaced.
2026-04-15 20:39:05,543 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 205 pixels replaced.
2026-04-15 20:39:05,823 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 201 pixels replaced.
2026-04-15 20:39:06,101 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 197 pixels replaced.
2026-04-15 20:39:06,383 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 198 pixels replaced.
2026-04-15 20:39:06,684 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 212 pixels replaced.
2026-04-15 20:39:06,970 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 203 pixels replaced.
2026-04-15 20:39:07,265 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 220 pixels replaced.
2026-04-15 20:39:07,550 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 202 pixels replaced.
2026-04-15 20:39:07,833 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 202 pixels replaced.
2026-04-15 20:39:08,125 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 206 pixels replaced.
2026-04-15 20:39:08,415 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 220 pixels replaced.
2026-04-15 20:39:08,710 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 206 pixels replaced.
2026-04-15 20:39:09,011 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 211 pixels replaced.
2026-04-15 20:39:09,312 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 212 pixels replaced.
2026-04-15 20:39:09,609 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 208 pixels replaced.
2026-04-15 20:39:09,916 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 214 pixels replaced.
2026-04-15 20:39:10,206 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 210 pixels replaced.
2026-04-15 20:39:10,501 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 216 pixels replaced.
2026-04-15 20:39:10,800 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 214 pixels replaced.
2026-04-15 20:39:11,100 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 210 pixels replaced.
2026-04-15 20:39:11,390 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 212 pixels replaced.
2026-04-15 20:39:11,673 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 206 pixels replaced.
2026-04-15 20:39:11,955 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 204 pixels replaced.
2026-04-15 20:39:12,246 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 206 pixels replaced.
2026-04-15 20:39:12,534 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 205 pixels replaced.
2026-04-15 20:39:12,830 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 209 pixels replaced.
2026-04-15 20:39:13,142 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 226 pixels replaced.
2026-04-15 20:39:13,444 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 208 pixels replaced.
2026-04-15 20:39:13,728 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 203 pixels replaced.
2026-04-15 20:39:14,022 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 205 pixels replaced.
2026-04-15 20:39:14,329 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 217 pixels replaced.
2026-04-15 20:39:14,612 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 218 pixels replaced.
2026-04-15 20:39:14,902 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 203 pixels replaced.
2026-04-15 20:39:15,202 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 211 pixels replaced.
2026-04-15 20:39:15,501 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 208 pixels replaced.
2026-04-15 20:39:15,785 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 200 pixels replaced.
2026-04-15 20:39:16,068 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 201 pixels replaced.
2026-04-15 20:39:16,361 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 206 pixels replaced.
2026-04-15 20:39:16,659 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 210 pixels replaced.
2026-04-15 20:39:16,945 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 201 pixels replaced.
2026-04-15 20:39:17,260 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 228 pixels replaced.
2026-04-15 20:39:17,539 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 205 pixels replaced.
2026-04-15 20:39:17,820 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 200 pixels replaced.
2026-04-15 20:39:18,109 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 205 pixels replaced.
2026-04-15 20:39:18,391 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 205 pixels replaced.
2026-04-15 20:39:18,678 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 206 pixels replaced.
2026-04-15 20:39:18,953 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 199 pixels replaced.
2026-04-15 20:39:19,238 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 205 pixels replaced.
2026-04-15 20:39:19,529 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 210 pixels replaced.
2026-04-15 20:39:19,805 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 203 pixels replaced.
2026-04-15 20:39:20,093 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 208 pixels replaced.
2026-04-15 20:39:20,391 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 219 pixels replaced.
2026-04-15 20:39:20,669 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 204 pixels replaced.
2026-04-15 20:39:20,946 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 197 pixels replaced.
2026-04-15 20:39:21,227 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 199 pixels replaced.
2026-04-15 20:39:21,536 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 220 pixels replaced.
2026-04-15 20:39:21,827 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 207 pixels replaced.
2026-04-15 20:39:22,124 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 211 pixels replaced.
2026-04-15 20:39:22,406 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 201 pixels replaced.
2026-04-15 20:39:22,711 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 221 pixels replaced.
2026-04-15 20:39:22,998 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 205 pixels replaced.
2026-04-15 20:39:23,302 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 220 pixels replaced.
2026-04-15 20:39:23,596 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 209 pixels replaced.
2026-04-15 20:39:23,896 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 209 pixels replaced.
2026-04-15 20:39:24,199 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 214 pixels replaced.
2026-04-15 20:39:24,497 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 213 pixels replaced.
2026-04-15 20:39:24,799 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 219 pixels replaced.
2026-04-15 20:39:25,085 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 200 pixels replaced.
2026-04-15 20:39:25,358 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 203 pixels replaced.
2026-04-15 20:39:25,656 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 210 pixels replaced.
2026-04-15 20:39:25,938 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 203 pixels replaced.
2026-04-15 20:39:26,225 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 203 pixels replaced.
2026-04-15 20:39:26,520 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 213 pixels replaced.
2026-04-15 20:39:26,815 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 207 pixels replaced.
2026-04-15 20:39:27,097 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 203 pixels replaced.
2026-04-15 20:39:27,385 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 206 pixels replaced.
2026-04-15 20:39:27,681 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 208 pixels replaced.
2026-04-15 20:39:27,980 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 207 pixels replaced.
2026-04-15 20:39:28,270 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 206 pixels replaced.
2026-04-15 20:39:28,567 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 208 pixels replaced.
2026-04-15 20:39:28,862 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 205 pixels replaced.
2026-04-15 20:39:29,152 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 221 pixels replaced.
2026-04-15 20:39:29,451 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 212 pixels replaced.
2026-04-15 20:39:29,738 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 206 pixels replaced.
2026-04-15 20:39:30,049 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 217 pixels replaced.
2026-04-15 20:39:30,330 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 204 pixels replaced.
2026-04-15 20:39:30,672 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 236 pixels replaced.
2026-04-15 20:39:30,964 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 210 pixels replaced.
2026-04-15 20:39:31,253 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 207 pixels replaced.
2026-04-15 20:39:31,556 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 219 pixels replaced.
2026-04-15 20:39:31,852 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 210 pixels replaced.
2026-04-15 20:39:32,158 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 217 pixels replaced.
2026-04-15 20:39:32,475 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 239 pixels replaced.
2026-04-15 20:39:32,760 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 204 pixels replaced.
2026-04-15 20:39:33,063 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 217 pixels replaced.
2026-04-15 20:39:33,361 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 210 pixels replaced.
2026-04-15 20:39:33,669 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 226 pixels replaced.
2026-04-15 20:39:33,968 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 210 pixels replaced.
2026-04-15 20:39:34,257 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 205 pixels replaced.
2026-04-15 20:39:34,541 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 204 pixels replaced.
2026-04-15 20:39:34,830 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 206 pixels replaced.
2026-04-15 20:39:35,119 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 206 pixels replaced.
2026-04-15 20:39:35,400 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 211 pixels replaced.
2026-04-15 20:39:35,678 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 200 pixels replaced.
2026-04-15 20:39:35,958 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 199 pixels replaced.
2026-04-15 20:39:36,253 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 208 pixels replaced.
2026-04-15 20:39:36,539 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 204 pixels replaced.
2026-04-15 20:39:36,845 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 220 pixels replaced.
2026-04-15 20:39:37,129 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 200 pixels replaced.
2026-04-15 20:39:37,411 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 202 pixels replaced.
2026-04-15 20:39:37,696 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 204 pixels replaced.
2026-04-15 20:39:37,994 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 212 pixels replaced.
2026-04-15 20:39:38,293 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 222 pixels replaced.
2026-04-15 20:39:38,577 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 203 pixels replaced.
2026-04-15 20:39:38,880 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 226 pixels replaced.
2026-04-15 20:39:39,163 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 203 pixels replaced.
2026-04-15 20:39:39,460 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 214 pixels replaced.
2026-04-15 20:39:39,752 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 205 pixels replaced.
2026-04-15 20:39:40,053 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 212 pixels replaced.
2026-04-15 20:39:40,352 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 221 pixels replaced.
2026-04-15 20:39:40,643 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 208 pixels replaced.
2026-04-15 20:39:40,945 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 217 pixels replaced.
2026-04-15 20:39:41,234 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 204 pixels replaced.
2026-04-15 20:39:41,523 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 206 pixels replaced.
2026-04-15 20:39:41,817 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 210 pixels replaced.
2026-04-15 20:39:41,827 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:39:41,828 - jwst.pipeline.calwebb_tso3 - INFO - Extracting 1-D spectra ...
2026-04-15 20:39:42,064 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg002_nrs1_calints.fits>,).
2026-04-15 20:39:42,148 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:39:42,155 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits
2026-04-15 20:39:42,228 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:39:42,245 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:39:42,246 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:39:42,262 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:39:42,282 - jwst.extract_1d.extract - INFO - Computed source location is 13.55, at pixel 636, wavelength 3.29
2026-04-15 20:39:42,283 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 10.50 -> 16.50 (inclusive)
2026-04-15 20:39:42,284 - jwst.extract_1d.extract - INFO - Nominal location is 13.50, so offset is 0.05 pixels
2026-04-15 20:39:42,285 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 11.09 -> 17.09 (inclusive)
2026-04-15 20:39:42,300 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-04-15 20:39:42,351 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:39:45,272 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:39:47,200 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:39:49,467 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:39:49,658 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:39:49,863 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:39:50,184 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_calints.fits>,).
2026-04-15 20:39:50,719 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 456 pixels replaced.
2026-04-15 20:39:51,220 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 430 pixels replaced.
2026-04-15 20:39:51,755 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 445 pixels replaced.
2026-04-15 20:39:52,273 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 447 pixels replaced.
2026-04-15 20:39:52,772 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 435 pixels replaced.
2026-04-15 20:39:53,270 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 437 pixels replaced.
2026-04-15 20:39:53,803 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 448 pixels replaced.
2026-04-15 20:39:54,296 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 426 pixels replaced.
2026-04-15 20:39:54,782 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 419 pixels replaced.
2026-04-15 20:39:55,305 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 443 pixels replaced.
2026-04-15 20:39:55,784 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 419 pixels replaced.
2026-04-15 20:39:56,276 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 432 pixels replaced.
2026-04-15 20:39:56,773 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 433 pixels replaced.
2026-04-15 20:39:57,267 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 430 pixels replaced.
2026-04-15 20:39:57,746 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 432 pixels replaced.
2026-04-15 20:39:58,286 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 459 pixels replaced.
2026-04-15 20:39:58,819 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 445 pixels replaced.
2026-04-15 20:39:59,319 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 428 pixels replaced.
2026-04-15 20:39:59,800 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 421 pixels replaced.
2026-04-15 20:40:00,326 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 442 pixels replaced.
2026-04-15 20:40:00,839 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 438 pixels replaced.
2026-04-15 20:40:01,337 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 426 pixels replaced.
2026-04-15 20:40:01,852 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 437 pixels replaced.
2026-04-15 20:40:02,354 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 438 pixels replaced.
2026-04-15 20:40:02,851 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 423 pixels replaced.
2026-04-15 20:40:03,352 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 434 pixels replaced.
2026-04-15 20:40:03,873 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 448 pixels replaced.
2026-04-15 20:40:04,384 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 435 pixels replaced.
2026-04-15 20:40:04,895 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 441 pixels replaced.
2026-04-15 20:40:05,413 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 438 pixels replaced.
2026-04-15 20:40:05,925 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 435 pixels replaced.
2026-04-15 20:40:06,433 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 440 pixels replaced.
2026-04-15 20:40:06,930 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 428 pixels replaced.
2026-04-15 20:40:07,434 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 435 pixels replaced.
2026-04-15 20:40:07,933 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 428 pixels replaced.
2026-04-15 20:40:08,433 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 427 pixels replaced.
2026-04-15 20:40:08,927 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 421 pixels replaced.
2026-04-15 20:40:09,444 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 429 pixels replaced.
2026-04-15 20:40:09,955 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 436 pixels replaced.
2026-04-15 20:40:10,483 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 442 pixels replaced.
2026-04-15 20:40:10,990 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 427 pixels replaced.
2026-04-15 20:40:11,482 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 432 pixels replaced.
2026-04-15 20:40:11,962 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 424 pixels replaced.
2026-04-15 20:40:12,481 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 441 pixels replaced.
2026-04-15 20:40:12,969 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 426 pixels replaced.
2026-04-15 20:40:13,479 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 437 pixels replaced.
2026-04-15 20:40:14,014 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 470 pixels replaced.
2026-04-15 20:40:14,515 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 436 pixels replaced.
2026-04-15 20:40:15,006 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 418 pixels replaced.
2026-04-15 20:40:15,524 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 429 pixels replaced.
2026-04-15 20:40:16,045 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 443 pixels replaced.
2026-04-15 20:40:16,576 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 446 pixels replaced.
2026-04-15 20:40:17,066 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 426 pixels replaced.
2026-04-15 20:40:17,568 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 433 pixels replaced.
2026-04-15 20:40:18,054 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 426 pixels replaced.
2026-04-15 20:40:18,545 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 426 pixels replaced.
2026-04-15 20:40:19,061 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 439 pixels replaced.
2026-04-15 20:40:19,568 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 428 pixels replaced.
2026-04-15 20:40:20,076 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 434 pixels replaced.
2026-04-15 20:40:20,587 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 432 pixels replaced.
2026-04-15 20:40:21,072 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 415 pixels replaced.
2026-04-15 20:40:21,601 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 450 pixels replaced.
2026-04-15 20:40:22,138 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 470 pixels replaced.
2026-04-15 20:40:22,654 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 441 pixels replaced.
2026-04-15 20:40:23,145 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 423 pixels replaced.
2026-04-15 20:40:23,647 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 427 pixels replaced.
2026-04-15 20:40:24,162 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 438 pixels replaced.
2026-04-15 20:40:24,649 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 423 pixels replaced.
2026-04-15 20:40:25,180 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 460 pixels replaced.
2026-04-15 20:40:25,648 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 412 pixels replaced.
2026-04-15 20:40:26,171 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 440 pixels replaced.
2026-04-15 20:40:26,715 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 447 pixels replaced.
2026-04-15 20:40:27,219 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 430 pixels replaced.
2026-04-15 20:40:27,734 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 440 pixels replaced.
2026-04-15 20:40:28,235 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 429 pixels replaced.
2026-04-15 20:40:28,741 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 434 pixels replaced.
2026-04-15 20:40:29,262 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 443 pixels replaced.
2026-04-15 20:40:29,802 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 448 pixels replaced.
2026-04-15 20:40:30,313 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 444 pixels replaced.
2026-04-15 20:40:30,809 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 446 pixels replaced.
2026-04-15 20:40:31,356 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 469 pixels replaced.
2026-04-15 20:40:31,870 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 430 pixels replaced.
2026-04-15 20:40:32,412 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 451 pixels replaced.
2026-04-15 20:40:32,939 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 439 pixels replaced.
2026-04-15 20:40:33,450 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 439 pixels replaced.
2026-04-15 20:40:33,933 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 421 pixels replaced.
2026-04-15 20:40:34,426 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 426 pixels replaced.
2026-04-15 20:40:34,961 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 447 pixels replaced.
2026-04-15 20:40:35,466 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 437 pixels replaced.
2026-04-15 20:40:35,964 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 433 pixels replaced.
2026-04-15 20:40:36,476 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 431 pixels replaced.
2026-04-15 20:40:36,989 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 431 pixels replaced.
2026-04-15 20:40:37,523 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 443 pixels replaced.
2026-04-15 20:40:38,044 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 452 pixels replaced.
2026-04-15 20:40:38,553 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 436 pixels replaced.
2026-04-15 20:40:39,069 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 432 pixels replaced.
2026-04-15 20:40:39,587 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 446 pixels replaced.
2026-04-15 20:40:40,085 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 433 pixels replaced.
2026-04-15 20:40:40,565 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 412 pixels replaced.
2026-04-15 20:40:41,087 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 438 pixels replaced.
2026-04-15 20:40:41,600 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 435 pixels replaced.
2026-04-15 20:40:42,103 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 444 pixels replaced.
2026-04-15 20:40:42,625 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 440 pixels replaced.
2026-04-15 20:40:43,160 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 449 pixels replaced.
2026-04-15 20:40:43,647 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 422 pixels replaced.
2026-04-15 20:40:44,161 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 432 pixels replaced.
2026-04-15 20:40:44,682 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 442 pixels replaced.
2026-04-15 20:40:45,195 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 437 pixels replaced.
2026-04-15 20:40:45,712 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 441 pixels replaced.
2026-04-15 20:40:46,212 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 432 pixels replaced.
2026-04-15 20:40:46,740 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 449 pixels replaced.
2026-04-15 20:40:47,244 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 430 pixels replaced.
2026-04-15 20:40:47,740 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 426 pixels replaced.
2026-04-15 20:40:48,246 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 433 pixels replaced.
2026-04-15 20:40:48,782 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 454 pixels replaced.
2026-04-15 20:40:49,270 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 418 pixels replaced.
2026-04-15 20:40:49,767 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 431 pixels replaced.
2026-04-15 20:40:50,286 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 440 pixels replaced.
2026-04-15 20:40:50,823 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 453 pixels replaced.
2026-04-15 20:40:51,351 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 458 pixels replaced.
2026-04-15 20:40:51,878 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 442 pixels replaced.
2026-04-15 20:40:52,407 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 437 pixels replaced.
2026-04-15 20:40:52,937 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 444 pixels replaced.
2026-04-15 20:40:53,453 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 434 pixels replaced.
2026-04-15 20:40:53,990 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 453 pixels replaced.
2026-04-15 20:40:54,497 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 426 pixels replaced.
2026-04-15 20:40:55,022 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 439 pixels replaced.
2026-04-15 20:40:55,526 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 430 pixels replaced.
2026-04-15 20:40:56,035 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 435 pixels replaced.
2026-04-15 20:40:56,539 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 434 pixels replaced.
2026-04-15 20:40:57,041 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 432 pixels replaced.
2026-04-15 20:40:57,562 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 436 pixels replaced.
2026-04-15 20:40:58,058 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 422 pixels replaced.
2026-04-15 20:40:58,593 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 446 pixels replaced.
2026-04-15 20:40:59,122 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 447 pixels replaced.
2026-04-15 20:40:59,632 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 441 pixels replaced.
2026-04-15 20:41:00,137 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 430 pixels replaced.
2026-04-15 20:41:00,632 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 425 pixels replaced.
2026-04-15 20:41:01,135 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 448 pixels replaced.
2026-04-15 20:41:01,661 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 455 pixels replaced.
2026-04-15 20:41:02,158 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 422 pixels replaced.
2026-04-15 20:41:02,636 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 422 pixels replaced.
2026-04-15 20:41:03,183 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 456 pixels replaced.
2026-04-15 20:41:03,699 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 439 pixels replaced.
2026-04-15 20:41:04,224 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 447 pixels replaced.
2026-04-15 20:41:04,759 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 447 pixels replaced.
2026-04-15 20:41:05,261 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 429 pixels replaced.
2026-04-15 20:41:05,756 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 429 pixels replaced.
2026-04-15 20:41:06,261 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 438 pixels replaced.
2026-04-15 20:41:06,766 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 434 pixels replaced.
2026-04-15 20:41:07,267 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 430 pixels replaced.
2026-04-15 20:41:07,795 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 446 pixels replaced.
2026-04-15 20:41:08,301 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 432 pixels replaced.
2026-04-15 20:41:08,825 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 442 pixels replaced.
2026-04-15 20:41:09,299 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 416 pixels replaced.
2026-04-15 20:41:09,310 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:41:09,311 - jwst.pipeline.calwebb_tso3 - INFO - Extracting 1-D spectra ...
2026-04-15 20:41:09,553 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg002_nrs2_calints.fits>,).
2026-04-15 20:41:09,637 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:41:09,645 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits
2026-04-15 20:41:09,722 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:41:09,753 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:41:09,754 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:41:09,770 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:41:09,798 - jwst.extract_1d.extract - INFO - Computed source location is 12.46, at pixel 1024, wavelength 4.50
2026-04-15 20:41:09,800 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 12.50 -> 18.50 (inclusive)
2026-04-15 20:41:09,801 - jwst.extract_1d.extract - INFO - Nominal location is 15.50, so offset is -3.04 pixels
2026-04-15 20:41:09,803 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 10.91 -> 16.91 (inclusive)
2026-04-15 20:41:09,819 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-04-15 20:41:09,869 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:41:13,428 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:41:15,476 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:41:17,848 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:41:18,055 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:41:18,290 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:41:18,621 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg003_nrs1_calints.fits>,).
2026-04-15 20:41:18,937 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 220 pixels replaced.
2026-04-15 20:41:19,221 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 200 pixels replaced.
2026-04-15 20:41:19,523 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 214 pixels replaced.
2026-04-15 20:41:19,814 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 203 pixels replaced.
2026-04-15 20:41:20,100 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 202 pixels replaced.
2026-04-15 20:41:20,384 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 201 pixels replaced.
2026-04-15 20:41:20,678 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 206 pixels replaced.
2026-04-15 20:41:20,962 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 199 pixels replaced.
2026-04-15 20:41:21,247 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 204 pixels replaced.
2026-04-15 20:41:21,544 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 210 pixels replaced.
2026-04-15 20:41:21,838 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 205 pixels replaced.
2026-04-15 20:41:22,113 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 196 pixels replaced.
2026-04-15 20:41:22,405 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 206 pixels replaced.
2026-04-15 20:41:22,684 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 197 pixels replaced.
2026-04-15 20:41:22,975 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 209 pixels replaced.
2026-04-15 20:41:23,257 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 200 pixels replaced.
2026-04-15 20:41:23,556 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 207 pixels replaced.
2026-04-15 20:41:23,856 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 211 pixels replaced.
2026-04-15 20:41:24,145 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 202 pixels replaced.
2026-04-15 20:41:24,427 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 198 pixels replaced.
2026-04-15 20:41:24,738 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 216 pixels replaced.
2026-04-15 20:41:25,024 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 203 pixels replaced.
2026-04-15 20:41:25,310 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 206 pixels replaced.
2026-04-15 20:41:25,598 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 203 pixels replaced.
2026-04-15 20:41:25,890 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 224 pixels replaced.
2026-04-15 20:41:26,177 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 203 pixels replaced.
2026-04-15 20:41:26,460 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 201 pixels replaced.
2026-04-15 20:41:26,753 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 203 pixels replaced.
2026-04-15 20:41:27,028 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 194 pixels replaced.
2026-04-15 20:41:27,315 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 202 pixels replaced.
2026-04-15 20:41:27,600 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 201 pixels replaced.
2026-04-15 20:41:27,872 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 190 pixels replaced.
2026-04-15 20:41:28,176 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 219 pixels replaced.
2026-04-15 20:41:28,452 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 199 pixels replaced.
2026-04-15 20:41:28,744 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 212 pixels replaced.
2026-04-15 20:41:29,030 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 196 pixels replaced.
2026-04-15 20:41:29,323 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 208 pixels replaced.
2026-04-15 20:41:29,604 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 203 pixels replaced.
2026-04-15 20:41:29,903 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 208 pixels replaced.
2026-04-15 20:41:30,209 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 215 pixels replaced.
2026-04-15 20:41:30,489 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 199 pixels replaced.
2026-04-15 20:41:30,785 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 217 pixels replaced.
2026-04-15 20:41:31,078 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 207 pixels replaced.
2026-04-15 20:41:31,365 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 207 pixels replaced.
2026-04-15 20:41:31,666 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 218 pixels replaced.
2026-04-15 20:41:31,946 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 197 pixels replaced.
2026-04-15 20:41:32,220 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 193 pixels replaced.
2026-04-15 20:41:32,505 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 202 pixels replaced.
2026-04-15 20:41:32,790 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 201 pixels replaced.
2026-04-15 20:41:33,083 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 210 pixels replaced.
2026-04-15 20:41:33,370 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 217 pixels replaced.
2026-04-15 20:41:33,655 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 203 pixels replaced.
2026-04-15 20:41:33,940 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 202 pixels replaced.
2026-04-15 20:41:34,228 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 202 pixels replaced.
2026-04-15 20:41:34,513 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 202 pixels replaced.
2026-04-15 20:41:34,813 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 210 pixels replaced.
2026-04-15 20:41:35,095 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 196 pixels replaced.
2026-04-15 20:41:35,378 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 203 pixels replaced.
2026-04-15 20:41:35,662 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 205 pixels replaced.
2026-04-15 20:41:35,941 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 204 pixels replaced.
2026-04-15 20:41:36,227 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 204 pixels replaced.
2026-04-15 20:41:36,516 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 204 pixels replaced.
2026-04-15 20:41:36,816 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 206 pixels replaced.
2026-04-15 20:41:37,108 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 209 pixels replaced.
2026-04-15 20:41:37,402 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 205 pixels replaced.
2026-04-15 20:41:37,689 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 207 pixels replaced.
2026-04-15 20:41:37,977 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 204 pixels replaced.
2026-04-15 20:41:38,273 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 210 pixels replaced.
2026-04-15 20:41:38,551 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 198 pixels replaced.
2026-04-15 20:41:38,837 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 198 pixels replaced.
2026-04-15 20:41:39,126 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 204 pixels replaced.
2026-04-15 20:41:39,411 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 202 pixels replaced.
2026-04-15 20:41:39,704 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 202 pixels replaced.
2026-04-15 20:41:39,990 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 198 pixels replaced.
2026-04-15 20:41:40,272 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 198 pixels replaced.
2026-04-15 20:41:40,546 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 195 pixels replaced.
2026-04-15 20:41:40,838 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 205 pixels replaced.
2026-04-15 20:41:41,125 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 210 pixels replaced.
2026-04-15 20:41:41,433 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 225 pixels replaced.
2026-04-15 20:41:41,715 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 200 pixels replaced.
2026-04-15 20:41:41,992 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 195 pixels replaced.
2026-04-15 20:41:42,282 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 203 pixels replaced.
2026-04-15 20:41:42,572 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 205 pixels replaced.
2026-04-15 20:41:42,864 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 205 pixels replaced.
2026-04-15 20:41:43,164 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 212 pixels replaced.
2026-04-15 20:41:43,468 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 215 pixels replaced.
2026-04-15 20:41:43,761 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 209 pixels replaced.
2026-04-15 20:41:44,059 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 211 pixels replaced.
2026-04-15 20:41:44,338 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 197 pixels replaced.
2026-04-15 20:41:44,625 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 198 pixels replaced.
2026-04-15 20:41:44,918 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 198 pixels replaced.
2026-04-15 20:41:45,247 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 241 pixels replaced.
2026-04-15 20:41:45,576 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 231 pixels replaced.
2026-04-15 20:41:45,870 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 213 pixels replaced.
2026-04-15 20:41:46,161 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 204 pixels replaced.
2026-04-15 20:41:46,437 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 195 pixels replaced.
2026-04-15 20:41:46,739 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 211 pixels replaced.
2026-04-15 20:41:47,027 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 202 pixels replaced.
2026-04-15 20:41:47,323 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 205 pixels replaced.
2026-04-15 20:41:47,614 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 203 pixels replaced.
2026-04-15 20:41:47,901 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 203 pixels replaced.
2026-04-15 20:41:48,175 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 194 pixels replaced.
2026-04-15 20:41:48,458 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 201 pixels replaced.
2026-04-15 20:41:48,750 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 205 pixels replaced.
2026-04-15 20:41:49,035 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 205 pixels replaced.
2026-04-15 20:41:49,326 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 204 pixels replaced.
2026-04-15 20:41:49,617 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 205 pixels replaced.
2026-04-15 20:41:49,907 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 197 pixels replaced.
2026-04-15 20:41:50,198 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 211 pixels replaced.
2026-04-15 20:41:50,505 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 212 pixels replaced.
2026-04-15 20:41:50,779 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 195 pixels replaced.
2026-04-15 20:41:51,061 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 199 pixels replaced.
2026-04-15 20:41:51,350 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 201 pixels replaced.
2026-04-15 20:41:51,630 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 199 pixels replaced.
2026-04-15 20:41:51,911 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 202 pixels replaced.
2026-04-15 20:41:52,195 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 204 pixels replaced.
2026-04-15 20:41:52,488 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 206 pixels replaced.
2026-04-15 20:41:52,773 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 203 pixels replaced.
2026-04-15 20:41:53,067 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 213 pixels replaced.
2026-04-15 20:41:53,342 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 202 pixels replaced.
2026-04-15 20:41:53,644 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 213 pixels replaced.
2026-04-15 20:41:53,941 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 208 pixels replaced.
2026-04-15 20:41:54,258 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 219 pixels replaced.
2026-04-15 20:41:54,545 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 207 pixels replaced.
2026-04-15 20:41:54,856 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 230 pixels replaced.
2026-04-15 20:41:55,139 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 198 pixels replaced.
2026-04-15 20:41:55,441 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 206 pixels replaced.
2026-04-15 20:41:55,739 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 209 pixels replaced.
2026-04-15 20:41:56,024 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 199 pixels replaced.
2026-04-15 20:41:56,314 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 200 pixels replaced.
2026-04-15 20:41:56,612 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 212 pixels replaced.
2026-04-15 20:41:56,901 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 201 pixels replaced.
2026-04-15 20:41:57,186 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 201 pixels replaced.
2026-04-15 20:41:57,458 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 197 pixels replaced.
2026-04-15 20:41:57,741 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 197 pixels replaced.
2026-04-15 20:41:58,018 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 197 pixels replaced.
2026-04-15 20:41:58,313 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 206 pixels replaced.
2026-04-15 20:41:58,597 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 203 pixels replaced.
2026-04-15 20:41:58,883 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 201 pixels replaced.
2026-04-15 20:41:59,167 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 203 pixels replaced.
2026-04-15 20:41:59,459 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 206 pixels replaced.
2026-04-15 20:41:59,759 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 206 pixels replaced.
2026-04-15 20:42:00,053 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 210 pixels replaced.
2026-04-15 20:42:00,330 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 198 pixels replaced.
2026-04-15 20:42:00,629 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 212 pixels replaced.
2026-04-15 20:42:00,932 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 210 pixels replaced.
2026-04-15 20:42:01,227 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 202 pixels replaced.
2026-04-15 20:42:01,503 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 199 pixels replaced.
2026-04-15 20:42:01,800 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 217 pixels replaced.
2026-04-15 20:42:02,093 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 206 pixels replaced.
2026-04-15 20:42:02,377 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 203 pixels replaced.
2026-04-15 20:42:02,667 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 206 pixels replaced.
2026-04-15 20:42:02,969 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 211 pixels replaced.
2026-04-15 20:42:03,257 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 206 pixels replaced.
2026-04-15 20:42:03,564 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 212 pixels replaced.
2026-04-15 20:42:03,578 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:42:03,579 - jwst.pipeline.calwebb_tso3 - INFO - Extracting 1-D spectra ...
2026-04-15 20:42:03,827 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 28, 1272) from jw01366003001_04101_00001-seg003_nrs1_calints.fits>,).
2026-04-15 20:42:03,912 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:42:03,921 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits
2026-04-15 20:42:04,004 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:42:04,021 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:42:04,022 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:42:04,038 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:42:04,059 - jwst.extract_1d.extract - INFO - Computed source location is 13.55, at pixel 636, wavelength 3.29
2026-04-15 20:42:04,060 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 10.50 -> 16.50 (inclusive)
2026-04-15 20:42:04,061 - jwst.extract_1d.extract - INFO - Nominal location is 13.50, so offset is 0.05 pixels
2026-04-15 20:42:04,062 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 11.09 -> 17.09 (inclusive)
2026-04-15 20:42:04,078 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-04-15 20:42:04,128 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:42:07,136 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:42:09,052 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:42:11,328 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:42:11,523 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:42:11,736 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:42:12,059 - stpipe.step - INFO - Step pixel_replace running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_calints.fits>,).
2026-04-15 20:42:12,591 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 0 had 451 pixels replaced.
2026-04-15 20:42:13,138 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 1 had 447 pixels replaced.
2026-04-15 20:42:13,647 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 2 had 428 pixels replaced.
2026-04-15 20:42:14,160 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 3 had 435 pixels replaced.
2026-04-15 20:42:14,660 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 4 had 420 pixels replaced.
2026-04-15 20:42:15,141 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 5 had 413 pixels replaced.
2026-04-15 20:42:15,652 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 6 had 432 pixels replaced.
2026-04-15 20:42:16,165 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 7 had 432 pixels replaced.
2026-04-15 20:42:16,667 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 8 had 427 pixels replaced.
2026-04-15 20:42:17,164 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 9 had 424 pixels replaced.
2026-04-15 20:42:17,664 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 10 had 418 pixels replaced.
2026-04-15 20:42:18,156 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 11 had 418 pixels replaced.
2026-04-15 20:42:18,642 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 12 had 414 pixels replaced.
2026-04-15 20:42:19,155 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 13 had 435 pixels replaced.
2026-04-15 20:42:19,678 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 14 had 435 pixels replaced.
2026-04-15 20:42:20,234 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 15 had 462 pixels replaced.
2026-04-15 20:42:20,777 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 16 had 452 pixels replaced.
2026-04-15 20:42:21,279 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 17 had 429 pixels replaced.
2026-04-15 20:42:21,793 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 18 had 432 pixels replaced.
2026-04-15 20:42:22,310 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 19 had 435 pixels replaced.
2026-04-15 20:42:22,811 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 20 had 429 pixels replaced.
2026-04-15 20:42:23,337 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 21 had 439 pixels replaced.
2026-04-15 20:42:23,884 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 22 had 451 pixels replaced.
2026-04-15 20:42:24,407 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 23 had 434 pixels replaced.
2026-04-15 20:42:24,934 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 24 had 442 pixels replaced.
2026-04-15 20:42:25,484 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 25 had 470 pixels replaced.
2026-04-15 20:42:25,984 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 26 had 428 pixels replaced.
2026-04-15 20:42:26,502 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 27 had 451 pixels replaced.
2026-04-15 20:42:27,019 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 28 had 445 pixels replaced.
2026-04-15 20:42:27,541 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 29 had 444 pixels replaced.
2026-04-15 20:42:28,024 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 30 had 414 pixels replaced.
2026-04-15 20:42:28,531 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 31 had 440 pixels replaced.
2026-04-15 20:42:29,023 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 32 had 418 pixels replaced.
2026-04-15 20:42:29,535 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 33 had 433 pixels replaced.
2026-04-15 20:42:30,064 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 34 had 447 pixels replaced.
2026-04-15 20:42:30,581 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 35 had 438 pixels replaced.
2026-04-15 20:42:31,064 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 36 had 421 pixels replaced.
2026-04-15 20:42:31,575 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 37 had 432 pixels replaced.
2026-04-15 20:42:32,092 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 38 had 429 pixels replaced.
2026-04-15 20:42:32,610 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 39 had 436 pixels replaced.
2026-04-15 20:42:33,121 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 40 had 426 pixels replaced.
2026-04-15 20:42:33,678 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 41 had 476 pixels replaced.
2026-04-15 20:42:34,193 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 42 had 439 pixels replaced.
2026-04-15 20:42:34,681 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 43 had 426 pixels replaced.
2026-04-15 20:42:35,223 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 44 had 441 pixels replaced.
2026-04-15 20:42:35,735 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 45 had 433 pixels replaced.
2026-04-15 20:42:36,250 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 46 had 441 pixels replaced.
2026-04-15 20:42:36,740 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 47 had 430 pixels replaced.
2026-04-15 20:42:37,263 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 48 had 446 pixels replaced.
2026-04-15 20:42:37,750 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 49 had 420 pixels replaced.
2026-04-15 20:42:38,295 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 50 had 454 pixels replaced.
2026-04-15 20:42:38,830 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 51 had 450 pixels replaced.
2026-04-15 20:42:39,362 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 52 had 446 pixels replaced.
2026-04-15 20:42:39,878 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 53 had 432 pixels replaced.
2026-04-15 20:42:40,402 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 54 had 440 pixels replaced.
2026-04-15 20:42:40,925 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 55 had 437 pixels replaced.
2026-04-15 20:42:41,446 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 56 had 445 pixels replaced.
2026-04-15 20:42:41,932 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 57 had 423 pixels replaced.
2026-04-15 20:42:42,486 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 58 had 461 pixels replaced.
2026-04-15 20:42:42,992 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 59 had 424 pixels replaced.
2026-04-15 20:42:43,493 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 60 had 427 pixels replaced.
2026-04-15 20:42:43,982 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 61 had 419 pixels replaced.
2026-04-15 20:42:44,509 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 62 had 446 pixels replaced.
2026-04-15 20:42:45,024 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 63 had 464 pixels replaced.
2026-04-15 20:42:45,548 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 64 had 447 pixels replaced.
2026-04-15 20:42:46,041 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 65 had 421 pixels replaced.
2026-04-15 20:42:46,540 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 66 had 429 pixels replaced.
2026-04-15 20:42:47,048 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 67 had 428 pixels replaced.
2026-04-15 20:42:47,552 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 68 had 427 pixels replaced.
2026-04-15 20:42:48,060 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 69 had 432 pixels replaced.
2026-04-15 20:42:48,564 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 70 had 435 pixels replaced.
2026-04-15 20:42:49,070 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 71 had 436 pixels replaced.
2026-04-15 20:42:49,563 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 72 had 424 pixels replaced.
2026-04-15 20:42:50,077 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 73 had 434 pixels replaced.
2026-04-15 20:42:50,599 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 74 had 438 pixels replaced.
2026-04-15 20:42:51,112 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 75 had 434 pixels replaced.
2026-04-15 20:42:51,635 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 76 had 435 pixels replaced.
2026-04-15 20:42:52,152 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 77 had 432 pixels replaced.
2026-04-15 20:42:52,683 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 78 had 445 pixels replaced.
2026-04-15 20:42:53,206 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 79 had 443 pixels replaced.
2026-04-15 20:42:53,733 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 80 had 439 pixels replaced.
2026-04-15 20:42:54,222 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 81 had 418 pixels replaced.
2026-04-15 20:42:54,793 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 82 had 470 pixels replaced.
2026-04-15 20:42:55,318 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 83 had 440 pixels replaced.
2026-04-15 20:42:55,806 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 84 had 415 pixels replaced.
2026-04-15 20:42:56,300 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 85 had 436 pixels replaced.
2026-04-15 20:42:56,819 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 86 had 438 pixels replaced.
2026-04-15 20:42:57,323 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 87 had 431 pixels replaced.
2026-04-15 20:42:57,823 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 88 had 423 pixels replaced.
2026-04-15 20:42:58,352 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 89 had 438 pixels replaced.
2026-04-15 20:42:58,880 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 90 had 450 pixels replaced.
2026-04-15 20:42:59,377 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 91 had 425 pixels replaced.
2026-04-15 20:42:59,892 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 92 had 433 pixels replaced.
2026-04-15 20:43:00,384 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 93 had 424 pixels replaced.
2026-04-15 20:43:00,873 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 94 had 424 pixels replaced.
2026-04-15 20:43:01,398 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 95 had 444 pixels replaced.
2026-04-15 20:43:01,915 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 96 had 444 pixels replaced.
2026-04-15 20:43:02,429 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 97 had 436 pixels replaced.
2026-04-15 20:43:02,910 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 98 had 418 pixels replaced.
2026-04-15 20:43:03,463 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 99 had 460 pixels replaced.
2026-04-15 20:43:03,955 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 100 had 421 pixels replaced.
2026-04-15 20:43:04,465 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 101 had 431 pixels replaced.
2026-04-15 20:43:04,952 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 102 had 420 pixels replaced.
2026-04-15 20:43:05,449 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 103 had 427 pixels replaced.
2026-04-15 20:43:05,964 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 104 had 438 pixels replaced.
2026-04-15 20:43:06,472 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 105 had 437 pixels replaced.
2026-04-15 20:43:06,970 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 106 had 435 pixels replaced.
2026-04-15 20:43:07,472 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 107 had 433 pixels replaced.
2026-04-15 20:43:07,992 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 108 had 437 pixels replaced.
2026-04-15 20:43:08,500 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 109 had 433 pixels replaced.
2026-04-15 20:43:09,016 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 110 had 435 pixels replaced.
2026-04-15 20:43:09,538 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 111 had 445 pixels replaced.
2026-04-15 20:43:10,045 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 112 had 430 pixels replaced.
2026-04-15 20:43:10,545 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 113 had 431 pixels replaced.
2026-04-15 20:43:11,016 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 114 had 413 pixels replaced.
2026-04-15 20:43:11,528 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 115 had 433 pixels replaced.
2026-04-15 20:43:12,037 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 116 had 426 pixels replaced.
2026-04-15 20:43:12,576 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 117 had 450 pixels replaced.
2026-04-15 20:43:13,076 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 118 had 423 pixels replaced.
2026-04-15 20:43:13,570 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 119 had 421 pixels replaced.
2026-04-15 20:43:14,090 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 120 had 431 pixels replaced.
2026-04-15 20:43:14,598 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 121 had 425 pixels replaced.
2026-04-15 20:43:15,097 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 122 had 425 pixels replaced.
2026-04-15 20:43:15,619 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 123 had 441 pixels replaced.
2026-04-15 20:43:16,139 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 124 had 440 pixels replaced.
2026-04-15 20:43:16,670 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 125 had 452 pixels replaced.
2026-04-15 20:43:17,188 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 126 had 438 pixels replaced.
2026-04-15 20:43:17,689 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 127 had 429 pixels replaced.
2026-04-15 20:43:18,184 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 128 had 424 pixels replaced.
2026-04-15 20:43:18,691 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 129 had 431 pixels replaced.
2026-04-15 20:43:19,204 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 130 had 435 pixels replaced.
2026-04-15 20:43:19,738 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 131 had 442 pixels replaced.
2026-04-15 20:43:20,229 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 132 had 419 pixels replaced.
2026-04-15 20:43:20,754 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 133 had 436 pixels replaced.
2026-04-15 20:43:21,275 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 134 had 438 pixels replaced.
2026-04-15 20:43:21,779 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 135 had 427 pixels replaced.
2026-04-15 20:43:22,270 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 136 had 421 pixels replaced.
2026-04-15 20:43:22,803 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 137 had 441 pixels replaced.
2026-04-15 20:43:23,300 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 138 had 421 pixels replaced.
2026-04-15 20:43:23,807 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 139 had 432 pixels replaced.
2026-04-15 20:43:24,329 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 140 had 438 pixels replaced.
2026-04-15 20:43:24,819 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 141 had 420 pixels replaced.
2026-04-15 20:43:25,348 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 142 had 440 pixels replaced.
2026-04-15 20:43:25,857 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 143 had 431 pixels replaced.
2026-04-15 20:43:26,378 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 144 had 443 pixels replaced.
2026-04-15 20:43:26,865 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 145 had 416 pixels replaced.
2026-04-15 20:43:27,400 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 146 had 450 pixels replaced.
2026-04-15 20:43:27,926 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 147 had 440 pixels replaced.
2026-04-15 20:43:28,467 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 148 had 471 pixels replaced.
2026-04-15 20:43:28,965 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 149 had 424 pixels replaced.
2026-04-15 20:43:29,488 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 150 had 442 pixels replaced.
2026-04-15 20:43:30,035 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 151 had 461 pixels replaced.
2026-04-15 20:43:30,549 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 152 had 435 pixels replaced.
2026-04-15 20:43:31,051 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 153 had 425 pixels replaced.
2026-04-15 20:43:31,541 - jwst.pixel_replace.pixel_replace - INFO - Input TSO integration 154 had 422 pixels replaced.
2026-04-15 20:43:31,557 - stpipe.step - INFO - Step pixel_replace done
2026-04-15 20:43:31,558 - jwst.pipeline.calwebb_tso3 - INFO - Extracting 1-D spectra ...
2026-04-15 20:43:31,802 - stpipe.step - INFO - Step extract_1d running with args (<SlitModel(155, 32, 2048) from jw01366003001_04101_00001-seg003_nrs2_calints.fits>,).
2026-04-15 20:43:31,887 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_extract1d_0006.json
2026-04-15 20:43:31,897 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits
2026-04-15 20:43:31,983 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:43:32,015 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:43:32,016 - jwst.extract_1d.extract - INFO - Turning on source position correction for exp_type = NRS_BRIGHTOBJ
2026-04-15 20:43:32,033 - jwst.extract_1d.source_location - INFO - Using source_xpos and source_ypos to center extraction.
2026-04-15 20:43:32,058 - jwst.extract_1d.extract - INFO - Computed source location is 12.46, at pixel 1024, wavelength 4.50
2026-04-15 20:43:32,060 - jwst.extract_1d.extract - INFO - Nominal aperture start/stop: 12.50 -> 18.50 (inclusive)
2026-04-15 20:43:32,061 - jwst.extract_1d.extract - INFO - Nominal location is 15.50, so offset is -3.04 pixels
2026-04-15 20:43:32,062 - jwst.extract_1d.extract - INFO - Mean aperture start/stop from trace: 10.91 -> 16.91 (inclusive)
2026-04-15 20:43:32,078 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-04-15 20:43:32,128 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:43:35,707 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:43:37,762 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:43:40,128 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:43:40,338 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:43:40,574 - stpipe.step - INFO - Step extract_1d done
2026-04-15 20:43:40,630 - jwst.pipeline.calwebb_tso3 - INFO - Performing white-light photometry ...
2026-04-15 20:43:40,898 - stpipe.step - INFO - Step white_light running with args (<TSOMultiSpecModel from jw01366003001_04101_00001-seg001_nrs1_calints.fits>,).
2026-04-15 20:43:40,905 - stpipe.step - INFO - Step white_light done
2026-04-15 20:43:41,220 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage3/f290lp_g395h_x1dints.fits
2026-04-15 20:43:41,222 - jwst.pipeline.calwebb_tso3 - INFO - Writing Level 3 photometry catalog /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage3/f290lp_g395h_whtlt.ecsv
2026-04-15 20:43:41,249 - stpipe.step - INFO - Step Tso3Pipeline done
2026-04-15 20:43:41,250 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
Stage 3 has been completed!
# Print out the time benchmark.
time4 = time.perf_counter()
print(f"Runtime so far: {round((time4 - time0) / 60.0, 1):0.4f} min")
Runtime so far: 28.9000 min
# List the Stage 3 products.
stage3_whtlt = sorted(glob.glob(tso3_dir + '*_whtlt.ecsv'))
stage3_x1d = sorted(glob.glob(tso3_dir + '*_x1dints.fits'))
print(f"Stage 3 White Light Products:\n{'-' * 20}\n" + "\n".join(stage3_whtlt))
print(f"Stage 3 X1D Products:\n{'-' * 20}\n" + "\n".join(stage3_x1d))
Stage 3 White Light Products:
--------------------
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage3/f290lp_g395h_whtlt.ecsv
Stage 3 X1D Products:
--------------------
/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage3/f290lp_g395h_x1dints.fits
8. Visualizing the Data#
Define convenience funcitons for visualization.
Function to consolidate all extracted spectra (from each segment) and their corresponding timestamps into single large arrays using the helper function compile_segments. This structure simplifies the analysis and plotting.
With the consolidated arrays, we plot three one-dimensional spectra from the spectral time series using the display_spectra helper function. We also offset two spectra by a constant amount to make them easier to distinguish since nearly all TSO spectra have the same flux (except reduced flux during transit or secondary eclipse).
def compile_segments(data_products):
"""
Compiles extracted 1D spectra, corresponding timestamps,
and wavelengths from a list of X1D data products.
Parameters
----------
data_products : list of str
A list of data products (X1DINT files).
Returns
-------
all_spec_1D : numpy.ndarray
A 2D array where each row corresponds to a spectrum from a single
integration, and columns represent flux values at each wavelength.
all_times : numpy.ndarray
A 1D array containing the mid-integration times (e.g., BJD_TDB) for
each spectrum in `all_spec_1D`.
"""
data_products = [data_products] if isinstance(data_products, str) else data_products
# Return empty arrays if the input list is empty.
if not data_products:
return None, None
for i, product in enumerate(data_products):
x1d = datamodels.open(product)
n_spec, n_pix = x1d.spec[0].spec_table.WAVELENGTH.shape
seg_spec_1D = np.zeros([n_spec, n_pix])
wave_um = x1d.spec[0].spec_table.WAVELENGTH[0, :]
for j in range(n_spec):
seg_spec_1D[j, :] = x1d.spec[0].spec_table.FLUX[j, :]
if i == 0:
all_spec_1D = seg_spec_1D
all_times = x1d.int_times.int_mid_BJD_TDB
if i > 0:
all_spec_1D = np.concatenate((all_spec_1D, seg_spec_1D), axis=0)
all_times = np.concatenate((all_times,
x1d.int_times.int_mid_BJD_TDB),
axis=0)
# We also trim several columns at the start and end of the spectra.
# These belong to the reference pixels and are marked 'nan'.
print("Trimming first/last 5 reference pixels with nan-values ...")
all_spec_1D = all_spec_1D[:, 5:-5]
wave_um = wave_um[5:-5]
return all_spec_1D, all_times, wave_um
Function to display Stage 1 products.
def display_rate(rates,
slits_models=[],
integration=0,
extname='data',
cmap='viridis',
bad_color=(1, 0.7, 0.7),
vmin=None,
vmax=None,
scale='asinh',
aspect='auto',
title_prefix=None,
title_path=False,
save_plot=False):
"""
Display countrate images.
Parameters
----------
rates : list of str
A list of RATE[INTS] files to be displayed.
slits_models : list of str, optional
A list of CAL[INTS] or S2D files containing the slit models.
If provided, slit cutouts will be overlaid on the countrate images.
integration : {None, 'min', int}, optional
Specifies the integration to use for multi-integration data.
If 'min', the minimum value across all integrations is used.
If an integer, the specific integration index is used (default 0).
extname : str, optional
The name of the data extension to extract from ('data', 'dq', etc.).
cmap : str, optional
Colormap to use for displaying the image. Default is 'viridis'.
bad_color : tuple of float, optional
Color to use for NaN pixels. Default is light red (1, 0.7, 0.7).
vmin : float, optional
Minimum value for color scaling. If None, determined from the data.
vmax : float, optional
Maximum value for color scaling. If None, determined from the data.
scale : {'linear', 'log', 'asinh'}, optional
Scale to use for the image normalization. Default is 'asinh'.
aspect : str, optional
Aspect ratio of the plot. Default is 'auto'.
title_prefix : str, optional
Optional prefix for the plot title.
title_path : bool, optional
If True, uses the full file path for the title;
otherwise, uses the basename. Default is False.
save_plot : bool, optional
If True, saves the plot as a PNG file. Default is False.
"""
# -------------------------------Check Inputs-------------------------------
rates = [rates] if isinstance(rates, str) else rates
slits_models = [slits_models] if isinstance(slits_models, str) else slits_models
nrates = len(rates)
# ------------------------------Set up figures------------------------------
fig, axes = plt.subplots(nrates, 1, figsize=(12, 12 * nrates),
sharex=True, height_ratios=[1] * nrates)
fig.subplots_adjust(hspace=0.2, wspace=0.2)
axes = [axes] if nrates == 1 else axes
cmap = plt.get_cmap(cmap) # Set up colormap and bad pixel color.
cmap.set_bad(bad_color, 1.0)
# ---------------------------Plot countrate image---------------------------
for i, (rate, cal) in enumerate(itertools.zip_longest(rates,
slits_models,
fillvalue=None)):
# -------------------Open files as JWST datamodels-------------------
model = datamodels.open(rate)
slits_model = datamodels.open(cal) if cal else None
# -----------------------Extract the 2D/3D data----------------------
data_2d = getattr(model, extname)
if data_2d.ndim == 3: # Handle multi-integration data.
if integration == 'min':
data_2d = np.nanmin(data_2d, axis=0)
elif isinstance(integration, int) and 0 <= integration < data_2d.shape[0]:
data_2d = data_2d[integration]
else:
raise ValueError(f"Invalid integration '{integration}' for 3D data.")
# ---------------------------Scale the data-------------------------
sigma_clipped_data = sigma_clip(data_2d, sigma=5, maxiters=3)
vmin = np.nanmin(sigma_clipped_data) if vmin is None else vmin
vmax = np.nanmax(sigma_clipped_data) if vmax is None else vmax
stretch_map = {'log': LogStretch(), 'linear': LinearStretch(),
'asinh': AsinhStretch()}
if scale in stretch_map:
norm = ImageNormalize(sigma_clipped_data,
interval=ManualInterval(vmin=vmin, vmax=vmax),
stretch=stretch_map[scale])
else:
norm = simple_norm(sigma_clipped_data, vmin=vmin, vmax=vmax)
# ----------------Plot the countrate image & colorbar---------------
plt.subplots_adjust(left=0.05, right=0.85)
im = axes[i].imshow(data_2d, origin='lower', cmap=cmap,
norm=norm, aspect=aspect, interpolation='nearest')
units = model.meta.bunit_data
cbar_ax = fig.add_axes([axes[i].get_position().x1 + 0.02,
axes[i].get_position().y0, 0.02,
axes[i].get_position().height])
cbar = fig.colorbar(im, cax=cbar_ax)
cbar.set_label(units, fontsize=12)
# -----------------Draw slits and label source ids------------------
# slits_model can be s2d/cal from spec2 - contains slit models for all sources.
if slits_model:
slit_patches = []
for slit in slits_model.slits:
slit_patch = Rectangle((slit.xstart, slit.ystart),
slit.xsize, slit.ysize)
slit_patches.append(slit_patch)
y = slit.ystart + slit.ysize / 2
x = slit.xstart if 'nrs1' in rate else slit.xstart + slit.xsize
ha = 'right' if 'nrs1' in rate else 'left'
plt.text(x, y, slit.source_id, color='w', ha=ha, va='center',
fontsize=7, path_effects=[], weight='bold')
axes[i].add_collection(PatchCollection(slit_patches, ec='r', fc='None'))
# -----------------Construct title and axis labels------------------
filename = model.meta.filename
title = (f"{title_prefix + ' ' if title_prefix else ''}"
f"{filename if title_path else os.path.basename(filename)}")
if integration is not None:
title = title.replace('rateints', f'rateints[{integration}]')
axes[i].set_title(title, fontsize=14)
axes[i].set_xlabel("Pixel Column", fontsize=12)
axes[i].set_ylabel("Pixel Row", fontsize=12)
# -------------------------Save the figure?-------------------------
if save_plot:
save_plot = rate.replace('fits', 'png')
if integration:
save_plot = save_plot.replace('.png', '%s.png' % integration)
fig.savefig(save_plot, dpi=200)
fig.show()
Function to display the calibrated BOTS spectra from Stage 2.
def display_spectra(data_products,
integrations=0,
offsets=0):
"""
Displays the calibrated BOTS spectra from Stage 2.
Parameters
----------
data_products : str or list of str
File path or list of file paths to X1D data products.
integrations : int or list of int, optional
Indices of integrations to plot (default is 0).
offset : int or list of int, optional
Offsets to apply between spectra (default is 0).
Returns
-------
None.
"""
# -----------------------Check and sort input lists-----------------------
data_products = [data_products] if isinstance(data_products, str) else data_products
integrations = [integrations] if isinstance(integrations, int) else integrations
offsets = [offsets] * len(integrations) if isinstance(offsets, (int)) else offsets
# Sort NRS1 and NRS2 products.
products = {
"NRS1": [f for f in sorted(data_products) if 'nrs1' in f],
"NRS2": [f for f in sorted(data_products) if 'nrs2' in f]
}
# ----------Load extracted spectra and time stamps into one array---------
for key, product_list in products.items():
if not product_list:
continue
# Load all spectra from list of segments.
# This makes plotting and analysis easier.
all_spec1D, all_times, wave_um = compile_segments(product_list)
# Print summary.
print(f"\n{key} Summary:")
print(f" Total number of time stamps: {len(all_spec1D)}")
print(f" Total number of 1D spectra: {all_spec1D.shape[0]}")
print(f" Total number of columns: {all_spec1D.shape[1]}")
print(f" Total length of wavemap: {len(wave_um)}\n")
# --------------------------Set up figures--------------------------
fig, axes = plt.subplots(2, 1, figsize=(15, 10), height_ratios=[1, 2])
fig.subplots_adjust(hspace=0.2, wspace=0.2)
ax2d, ax1d = axes
for idx, i in enumerate(integrations):
ax1d.plot(wave_um, all_spec1D[i, :] - offsets[idx],
label=f'Spectrum {i}')
ax1d.set_xlabel("Wavelength (microns)")
ax1d.set_ylabel("Flux (Jy) + Constant offset")
ax1d.grid(True)
ax1d.legend()
# ------------------------Plot CAL FITS file------------------------
x1d = datamodels.open(product_list[0]).spec[0]
# Handle both cases dynamically
if 'x1dints_mod' in product_list[0]:
cal = datamodels.open(product_list[0].replace('x1dints_mod', 'calints'))
else:
cal = datamodels.open(product_list[0].replace('x1dints', 'calints'))
ax2d.imshow(cal.data[0], aspect='auto', vmin=np.nanpercentile(cal.data[0], 10),
vmax=np.nanpercentile(cal.data[0], 90), origin='lower')
ystart, ystop = (x1d.extraction_ystart - 1,
x1d.extraction_ystop - 1
)
extract_width = ystop - ystart + 1
slit = cal
_, _, _, trace = location_from_wcs(cal, slit)
ax2d.plot(np.arange(len(trace)), trace + extract_width, color='r')
ax2d.plot(np.arange(len(trace)), trace - extract_width, color='r')
ax2d.set_title(cal.meta.filename)
ax2d.set_xlabel("Pixel Column")
ax2d.set_ylabel("Pixel Row")
fig.show()
# If no products were found, display a message
if not any(products.values()):
print("No NRS1 or NRS2 products found. Exiting.")
Function to display the white light curve.
def display_light_curve(all_spec_1D,
all_times,
wave_um,
total_flux_cols=(120, -20),
correct_tilt_event=False,
before_transit=(0, 170),
tilt_event=270,
after_transit=(330, 460)):
"""
Create and display white light curve.
Parameters
----------
all_spec_1D : ndarray
2D array of spectra (integrations x columns).
all_times : ndarray
Array of time stamps for integrations.
wave_um : ndarray
Array of wavelengths corresponding to columns.
total_flux_cols : tuple of int
Tuple specifying the start and end column indices
for summing flux to calculate the white light curve.
correct_tilt_event : bool, optional
If True, applies a correction to address tilt events
by normalizing affected regions.
before_transit : tuple of int, optional
Tuple specifying the range of indices (start, end)
defining the data before the transit.
tilt_event : int, optional
Index specifying the start of the tilt event for applying corrections.
after_transit : tuple of int, optional
Tuple specifying the range of indices (start, end)
defining the data after the transit.
Returns
-------
None.
"""
# --------------------------Set up figures--------------------------
fig, axes = plt.subplots(2, 1, figsize=(15, 10), height_ratios=[1, 2])
fig.subplots_adjust(hspace=0.3, wspace=0.2)
axlc, axslc = axes
# ---------------------Obtain white light curve---------------------
n_spec = len(all_times) # Number of spectra (integrations).
wlc_flux = np.zeros(n_spec)
# Sum all flux (total flux) in a given range.
for i in range(n_spec):
col_start, col_end = total_flux_cols[0], total_flux_cols[1]
wlc_flux[i] = np.nansum(all_spec_1D[i, col_start:col_end])
# Normalize by the median flux of the first twenty points.
wlc_flux /= np.nanmedian(wlc_flux[0:20])
if correct_tilt_event:
# Normalize the post-tilt region using the after_transit median.
wlc_flux[tilt_event:] /= np.nanmedian(wlc_flux[after_transit[0]:after_transit[1]])
# Calculate light curve scatter from first ~100 points.
wlc_flux_s = sigma_clip(wlc_flux, sigma=2, maxiters=2, masked=False)
sigma_wlc = np.sqrt(np.nanvar(wlc_flux_s[2:100]))
sigma_wlc_ppm = round(sigma_wlc * 1e6, 0)
print(f"White Light Curve scatter (ppm): {sigma_wlc_ppm}")
# Plot white light curve
time_axis = (all_times - np.nanmean(all_times)) * 24.0
axlc.plot(time_axis,
wlc_flux, color='r', marker='o', markersize=2,
label=f"White light curve, (r.m.s.={round(sigma_wlc * 1e6, 0)} ppm)")
wavestart = round(wave_um[col_start], 4)
waveend = round(wave_um[col_end], 4)
axlc.set_title(f"White Light Curve (λ = {wavestart} - {waveend} μm)", fontsize=15)
axlc.legend(loc="lower right")
axlc.set_xlabel("Time since mid-exposure, hr", fontsize=15)
axlc.set_ylabel("Normalized flux", fontsize=15)
# Add secondary x-axis for integration indices
integration_indices = np.arange(n_spec)
tick_positions = np.linspace(time_axis.min(),
time_axis.max(),
len(integration_indices))
axlc_secondary = axlc.secondary_xaxis('top')
axlc_secondary.set_xlabel("Integration Index", fontsize=12)
axlc_secondary.set_xticks(tick_positions[::len(tick_positions) // 10])
axlc_secondary.set_xticklabels([f"{int(idx)}" for idx in
integration_indices[::len(integration_indices) // 10]])
# -----------------Obtain spectroscopic light curve-----------------
lc_map = np.copy(all_spec_1D)
spec_xlen = len(lc_map[0, :])
for j in range(spec_xlen):
# Normalize each spectrum by the mean.
lc_map[:, j] /= np.nanmean(lc_map[before_transit[0]:before_transit[1], j])
if correct_tilt_event:
# Correct for tilt event.
lc_map[tilt_event:, j] /= np.nanmean(lc_map[after_transit[0]:after_transit[1], j])
axslc.set_title("Spectroscopic Light Curves", fontsize=15)
slc = axslc.imshow(lc_map,
interpolation="bilinear",
aspect="auto",
cmap="inferno_r",
origin="lower",
clim=(0.977, 1.005),
)
axslc.set_xlabel(r"x-column, pixel", fontsize=15)
axslc.set_ylabel("Integration ", fontsize=15)
plt.colorbar(slc, ax=axslc, label=r"Normalized Flux")
fig.show()
8.1 Display Detector1Pipeline Products#
Inspect the Stage 1 slope products.
rate_file = rate_sci[-1] # Show a rate file, as an example.
display_rate(rate_file, integration=100, vmin=-0.1, vmax=1, scale='asinh',
aspect=10, title_prefix='REPROCESSED') # , extname='dq')
WARNING: Input data contains invalid values (NaNs or infs), which were automatically clipped. [astropy.stats.sigma_clipping]
8.2 Display Spec2Pipeline Products#
First, let’s visually inspect that the 1/f noise was removed from the data.
rate_file_cl = rate_sci_cl[0] # Show a rate file, as an example.
noise = flicker_noise[0]
mask = masks[0]
display_rate(mask, integration=100, vmin=0, vmax=1,
aspect=10, title_prefix='MASK ')
display_rate(rate_file_cl, integration=100, vmin=-0.1, vmax=1,
aspect=10, scale='asinh', title_prefix='CLEANED ')
display_rate(noise, integration=100, vmin=-0.1, vmax=1,
aspect=10, title_prefix='1/F NOISE ')
WARNING: Input data contains invalid values (NaNs or infs), which were automatically clipped. [astropy.stats.sigma_clipping]
WARNING: Input data contains invalid values (NaNs or infs), which were automatically clipped. [astropy.stats.sigma_clipping]
Now inspect the Stage 2 calibrated spectra.
display_spectra(sci_x1d, integrations=[0, 10, 100], offsets=[0, 70, 140])
Trimming first/last 5 reference pixels with nan-values ...
NRS1 Summary:
Total number of time stamps: 465
Total number of 1D spectra: 465
Total number of columns: 1262
Total length of wavemap: 1262
Trimming first/last 5 reference pixels with nan-values ...
NRS2 Summary:
Total number of time stamps: 465
Total number of 1D spectra: 465
Total number of columns: 2038
Total length of wavemap: 2038
Next, we derive white light curves and a spectroscopic light curves from the large arrays we made and plot them.
To produce a white light curve, we sum the flux from the full wavelength range of each extracted one-dimensional spectrum. Then we normalize the light curve by dividing the light curve flux to the median flux of the first twenty data points out-of-the-transit. We calculate and report the scatter using the first ~100 data points.
While the white light curve provides information regarding the overall quality of the data, the light curves from each pixel (wavelength) contain information about the atmosphere of a transiting exoplanet. The second figure in the plot shows chromatic light curves (also known as wavelength maps). To produce them, we obtain a copy of all spectra and normalize each spectrum by its mean value.
You may find that a light curve also exhibits the morphology of a transit event along with a step-function flux jump near the mid-transit. This flux jump (a decrease of flux in this case) is attributed to a ‘tilt’ event associated with one of the segments of the JWST mirror. A ‘tilt’ event is considered any uncommanded change in the tip-tilt orientation of a mirror segment and can be caused by a micrometeorite impact. For further details, please consult the following page: JWST TSO noise sources.
In our plots below, we also correct for the tilt event by renormalizing the post-tilt event light curves. To do that, we divide these light curves by the mean out-of-transit post-tilt event flux
# Sort NRS1 from NRS2 files.
sci_x1d_nrs1 = [f for f in sci_x1d if "nrs1" in f]
sci_x1d_nrs2 = [f for f in sci_x1d if "nrs2" in f]
# Compile the NRS1 and NRS2 spectra into one array.
all_spec1D_nrs1, all_times_nrs1, wave_um_nrs1 = compile_segments(sci_x1d_nrs1)
all_spec1D_nrs2, all_times_nrs2, wave_um_nrs2 = compile_segments(sci_x1d_nrs2)
# Plot the light curves for each detector.
display_light_curve(all_spec1D_nrs1, all_times_nrs1, wave_um_nrs1,
total_flux_cols=(20, -20), # Sum flux over integration range.
# Tilt event correction parameters:
correct_tilt_event=True,
before_transit=(0, 170), # Before transit integration range.
tilt_event=270, # Tilt event integration.
after_transit=(330, 460)) # After transit integration range.
display_light_curve(all_spec1D_nrs2, all_times_nrs2, wave_um_nrs2,
total_flux_cols=(5, -5), # Sum flux over integration range.
# Tilt event correction parameters:
correct_tilt_event=True,
before_transit=(0, 170), # Before transit integration range.
tilt_event=270, # Tilt event integration.
after_transit=(330, 460)) # After transit integration range.
Trimming first/last 5 reference pixels with nan-values ...
Trimming first/last 5 reference pixels with nan-values ...
White Light Curve scatter (ppm): 231.0
White Light Curve scatter (ppm): 465.0
The white light curve shows a relatively low scatter (230 ppm) for NRS1 and a slightly higher scatter (800 ppm) for NRS2.
The 2D plots above show all extracted 1D spectra covering the transit event. The horizontal axis is the spectral direction (wavelength), and the vertical - each integration (time). The dark pixels correspond to the out-of-transit data (pre/post transit), the orange horizontal stripes indicate the ingress and egress portions, and the yellow stripe shows the in-transit part of the light curve. We have corrected the tilt event data by normalizing all spectra after integration 330 using the post-transit flux. The cells above can be rerun without correction for the tilt event. In this case, all light curves after the tilt event will look offset by a constant amount owing to the redistributed wavefront.
8.3 Display Tso3Pipeline Products#
Inspect the Stage 3 combined calibrated spectra. The white light curve produced from Stage 3 is not corrected like above for any tilt events.
# Read the white light curve.
data = Table.read(stage3_whtlt[0], format="ascii.ecsv")
# Check if there is NRS2 data.
has_nrs2 = "MJD_UTC_NRS2" in data.colnames and "whitelight_flux_NRS2" in data.colnames
# Extract and normalize NRS1 white light fluxes.
mjd_nrs1 = data["MJD_UTC_NRS1"]
flux_nrs1 = data["whitelight_flux_NRS1"] / np.nanmedian(data["whitelight_flux_NRS1"][:100])
# Extract and normalize NRS2 white light fluxes if present.
if has_nrs2:
mjd_nrs2 = data["MJD_UTC_NRS2"]
flux_nrs2 = data["whitelight_flux_NRS2"] / np.nanmedian(data["whitelight_flux_NRS2"][:100])
else:
mjd_nrs2 = None
flux_nrs2 = None
# Calculate scatter.
sigma_wlc_nrs1 = np.sqrt(np.nanvar(flux_nrs1[2:100]))
print(f"NRS1 White Light Curve scatter (ppm): {round(float(sigma_wlc_nrs1) * 1e6, 0)}")
if has_nrs2:
sigma_wlc_nrs2 = np.sqrt(np.nanvar(flux_nrs2[2:100]))
print(f"NRS2 White Light Curve scatter (ppm): {round(float(sigma_wlc_nrs2) * 1e6, 0)}")
# Plot white light curve.
plt.figure(figsize=(12, 5))
# Plot NRS1.
plt.plot(
(mjd_nrs1 - np.nanmean(mjd_nrs1)) * 24.0,
flux_nrs1,
color="blue",
marker="o",
markersize=2,
label=f"NRS1 (r.m.s.={round(sigma_wlc_nrs1 * 1e6, 0)} ppm)"
)
# Plot NRS2.
plt.plot(
(mjd_nrs2 - np.nanmean(mjd_nrs2)) * 24.0,
flux_nrs2,
color="orange",
marker="o",
markersize=2,
label=f"NRS2 (r.m.s.={round(sigma_wlc_nrs2 * 1e6, 0)} ppm)"
)
plt.legend(loc="lower right")
plt.title("White Light Curve", fontsize=15)
plt.xlabel("Time since mid-exposure, hr", fontsize=15)
plt.ylabel("Normalized flux", fontsize=15)
# Set plot limits
#plt.ylim([0.965, 1.015])
plt.show()
NRS1 White Light Curve scatter (ppm): 229.0
NRS2 White Light Curve scatter (ppm): 473.0
We now have white and spectroscopic light curves ready for fitting (not covered in this notebook).
It should be pointed out that the workaround solutions lead to a lower white light curve scatter for this particular data set (approximately 70 ppm lower, or 160 ppm for NRS1). Two factors determine the difference:
The pixel replacement step in the workaround uses a nominal PSF profile constructed from adjacent columns (of a column that needs to be corrected) to identify high and low pixels in addition to the data quality flags.
At the time of writing, the spectral resampling step is unavailable in the STScI pipeline. Instead, in the workaround notebook, we fit for the star’s centroid to locate and trace the spectra (without resampling) and perform aperture extraction using the trace.
9. Modifying the EXTRACT1D Reference File (as needed)#
extract_1d • Editing JSON reference file
As of Build 11.3, the extract_1d step now uses a curved trace to extract the 1D spectra by default for un-resampled 2D spectra (resampling is skipped for BOTS data). As an example, we still provide a way to modify the extraction region if needed.
The EXTRACT1D reference file, along with several other parameter files, can be found in the CRDS_PATH directory. While some files, like .json files, can be manually edited, we modify them using Python.
# Modify the EXTRACT1D reference file.
# If you don't know the reference file name this should work.
# extract_1d_ref = Spec2Pipeline().get_reference_file(sci_cal, 'extract1d')
refs = api.dump_references(crds_client.get_context_used('jwst'),
['jwst_nirspec_extract1d_0006.json'])
extract_1d_ref = refs['jwst_nirspec_extract1d_0006.json']
# Open EXTRACT1D reference file in read-mode.
with open(extract_1d_ref, "r") as ref_file:
params = json.load(ref_file)
# S1600A1 full slit
params["apertures"][0]["extract_width"] = 27
params["apertures"][0].pop("nod2_offset") # remove
params["apertures"][0].pop("nod3_offset") # remove
params["apertures"][0].pop("nod5_offset") # remove
# params["apertures"][0]["xstart"] = 100 # lower x-index
# Write changes to a new file.
newData = json.dumps(params, indent=4)
# Add the suffix '_bots' to distinguish the file from the default version.
basename = os.path.basename(extract_1d_ref)[:-5]
extract_1d_ref_mod = os.path.join(basedir, f'{basename}_bots.json')
with open(extract_1d_ref_mod, "w") as file:
file.write(newData)
# Inspect the EXTRACT1D reference file.
with open(extract_1d_ref_mod, 'r') as f_obj:
extract_1d_ref_mod_data = json.load(f_obj)
JSON(extract_1d_ref_mod_data, expanded=True)
<IPython.core.display.JSON object>
Now, we re-extract the 1D spectrum by running the Extract1dStep and overriding the reference file.
# Re-extract the NRS2 1D spectra.
sci_cal_nrs2 = [f for f in sci_cal if "nrs2" in f]
for cal in sci_cal_nrs2:
Extract1dStep.call(cal,
save_results=True,
output_dir=spec2_dir,
output_use_model=True,
suffix='x1dints_mod', # Default suffix is `_extract1dstep.fits`
use_source_posn=False,
override_extract1d=extract_1d_ref_mod)
2026-04-15 20:43:47,000 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:43:47,230 - stpipe.step - INFO - Step Extract1dStep running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_calints.fits',).
2026-04-15 20:43:47,234 - stpipe.step - INFO - Step Extract1dStep parameters are:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: True
skip: False
suffix: x1dints_mod
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: True
extraction_type: box
use_source_posn: False
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-04-15 20:43:47,531 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/jwst_nirspec_extract1d_0006_bots.json
2026-04-15 20:43:47,536 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits
2026-04-15 20:43:47,592 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:43:47,628 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:43:47,630 - jwst.extract_1d.extract - INFO - Aperture start/stop: 2.50 -> 28.50 (inclusive)
2026-04-15 20:43:47,647 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-04-15 20:43:47,696 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:43:51,638 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:43:53,740 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:43:55,767 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:43:55,970 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:43:56,186 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:43:56,279 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg001_nrs2_x1dints_mod.fits
2026-04-15 20:43:56,280 - stpipe.step - INFO - Step Extract1dStep done
2026-04-15 20:43:56,281 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:43:56,576 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:43:56,749 - stpipe.step - INFO - Step Extract1dStep running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_calints.fits',).
2026-04-15 20:43:56,753 - stpipe.step - INFO - Step Extract1dStep parameters are:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: True
skip: False
suffix: x1dints_mod
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: True
extraction_type: box
use_source_posn: False
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-04-15 20:43:57,050 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/jwst_nirspec_extract1d_0006_bots.json
2026-04-15 20:43:57,054 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits
2026-04-15 20:43:57,112 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:43:57,149 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:43:57,151 - jwst.extract_1d.extract - INFO - Aperture start/stop: 2.50 -> 28.50 (inclusive)
2026-04-15 20:43:57,167 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-04-15 20:43:57,217 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:44:01,007 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:44:03,069 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:44:05,130 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:44:05,333 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:44:05,556 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:44:05,651 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg002_nrs2_x1dints_mod.fits
2026-04-15 20:44:05,652 - stpipe.step - INFO - Step Extract1dStep done
2026-04-15 20:44:05,653 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
2026-04-15 20:44:05,972 - stpipe.step - INFO - Extract1dStep instance created.
2026-04-15 20:44:06,167 - stpipe.step - INFO - Step Extract1dStep running with args ('/home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_calints.fits',).
2026-04-15 20:44:06,170 - stpipe.step - INFO - Step Extract1dStep parameters are:
pre_hooks: []
post_hooks: []
output_file: None
output_dir: /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/
output_ext: .fits
output_use_model: True
output_use_index: True
save_results: True
skip: False
suffix: x1dints_mod
search_output_file: True
input_dir: ''
subtract_background: None
apply_apcorr: True
extraction_type: box
use_source_posn: False
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-04-15 20:44:06,479 - jwst.extract_1d.extract_1d_step - INFO - Using EXTRACT1D reference file /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/jwst_nirspec_extract1d_0006_bots.json
2026-04-15 20:44:06,484 - jwst.extract_1d.extract_1d_step - INFO - Using APCORR file /home/runner/crds_cache/references/jwst/nirspec/jwst_nirspec_apcorr_0003.fits
2026-04-15 20:44:06,541 - jwst.extract_1d.extract - INFO - Processing spectral order -1
2026-04-15 20:44:06,578 - jwst.extract_1d.extract - WARNING - The photom step has not been run.
2026-04-15 20:44:06,580 - jwst.extract_1d.extract - INFO - Aperture start/stop: 2.50 -> 28.50 (inclusive)
2026-04-15 20:44:06,596 - jwst.extract_1d.extract - INFO - Creating aperture correction.
2026-04-15 20:44:06,646 - jwst.extract_1d.extract - INFO - Beginning loop over 155 integrations ...
2026-04-15 20:44:10,460 - jwst.extract_1d.extract - INFO - ... 50 integrations done
2026-04-15 20:44:12,534 - jwst.extract_1d.extract - INFO - ... 100 integrations done
2026-04-15 20:44:14,542 - jwst.extract_1d.extract - INFO - ... 150 integrations done
2026-04-15 20:44:14,742 - jwst.extract_1d.extract - INFO - All 155 integrations done
2026-04-15 20:44:14,957 - jwst.stpipe.core - INFO - Results used CRDS context: jwst_1535.pmap
2026-04-15 20:44:15,050 - stpipe.step - INFO - Saved model in /home/runner/work/jwst-pipeline-notebooks/jwst-pipeline-notebooks/notebooks/NIRSPEC/BOTS/Obs003/stage2/jw01366003001_04101_00001-seg003_nrs2_x1dints_mod.fits
2026-04-15 20:44:15,051 - stpipe.step - INFO - Step Extract1dStep done
2026-04-15 20:44:15,051 - jwst.stpipe.core - INFO - Results used jwst version: 2.0.0
sci_x1d_mod = sorted(glob.glob(spec2_dir + '*nrs2_x1dints_mod.fits'))
display_spectra(sci_x1d_mod, integrations=[0, 10, 100], offsets=[0, 70, 140])
Trimming first/last 5 reference pixels with nan-values ...
NRS2 Summary:
Total number of time stamps: 465
Total number of 1D spectra: 465
Total number of columns: 2038
Total length of wavemap: 2038
Concluding Remarks#
In this notebook, we demonstrated how to obtain white and spectroscopic light curves by (re-) running the three stages of the JWST pipeline. The saved data producs can now be provided to light curve fitting codes for measurements of the physical properties of the exoplanet (or other source with temporal variability) and obtaining a transmission spectrum. It should be pointed out that the analyses performed here are only a subset of the possible analyses one can perform, and are in no way the final word on how JWST data should be analyzed. This will be solidified more and more as data comes and best practices are established in the current and future cycles.
In conclusion, I would like to express my gratitude to the entire JWST team that has supported the creation of this notebook through discussions and testing, which have improved the notebook. In particular, special thanks to the Time-Series Observations Working Group at STScI, including Néstor Espinoza, Leonardo Ubeda, Sarah Kendrew, Elena Manjavacas, Brian Brooks, Mike Reagan, Loïc Albert, Everett Schlawin, Stephan Birkmann among others. To the NIRCam IDT team for multiple fruitful discussions, including Everett Schlawin, Thomas Beatty, Tom Greene and Jarron Leisenring. To the ERS Transiting Exoplanet team who have provided several venues for discussion and community input. To the several JWST team members, including behind the pipeline and the mission itself, including and in no particular order Bryan Hilbert, Armin Rest, Anton Koekemoer, Alicia Canipe, Melanie Clarke, James Muzerolle, Kayli Glidic, Jeff Valenti and Karl Gordon.